Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: fsl-dpaa2-qdma: Drop comma after SoC match table sentinel

It does not make sense to have a comma after a sentinel, as any new
elements must be added before the sentinel.

Add a comment to clarify the purpose of the empty element.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/0b8ad4dcc185aa7a17655983e0eb5690d8fed460.1646311558.git.geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Geert Uytterhoeven and committed by
Vinod Koul
a0754cf3 9c391ceb

+1 -1
+1 -1
drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.h
··· 139 139 140 140 static struct soc_device_attribute soc_fixup_tuning[] = { 141 141 { .family = "QorIQ LX2160A"}, 142 - { }, 142 + { /* sentinel */ } 143 143 }; 144 144 145 145 /* FD pool size: one FD + 3 Frame list + 2 source/destination descriptor */