scripts/coccinelle/misc/of_table.cocci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
When adding support for SPI device ID tables, the keywords in the header
were not updated.
Fixes: 347b564599fb01d8 ("coccinelle: of_table: handle SPI device ID tables")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
scripts/coccinelle/misc/of_table.cocci | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/coccinelle/misc/of_table.cocci b/scripts/coccinelle/misc/of_table.cocci
index 7ade9766dee89c70..9de406b692a590ba 100644
--- a/scripts/coccinelle/misc/of_table.cocci
+++ b/scripts/coccinelle/misc/of_table.cocci
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
/// Make sure (of/i2c/platform)_device_id tables are NULL terminated
//
-// Keywords: of_table i2c_table platform_table
+// Keywords: of_table i2c_table platform_table spi_table
// Confidence: Medium
// Options: --include-headers
--
2.43.0
On Tue, 14 Oct 2025, Geert Uytterhoeven wrote:
> When adding support for SPI device ID tables, the keywords in the header
> were not updated.
>
> Fixes: 347b564599fb01d8 ("coccinelle: of_table: handle SPI device ID tables")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Julia Lawall <julia.lawall@inria.fr>
> ---
> scripts/coccinelle/misc/of_table.cocci | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccinelle/misc/of_table.cocci b/scripts/coccinelle/misc/of_table.cocci
> index 7ade9766dee89c70..9de406b692a590ba 100644
> --- a/scripts/coccinelle/misc/of_table.cocci
> +++ b/scripts/coccinelle/misc/of_table.cocci
> @@ -1,7 +1,7 @@
> // SPDX-License-Identifier: GPL-2.0
> /// Make sure (of/i2c/platform)_device_id tables are NULL terminated
> //
> -// Keywords: of_table i2c_table platform_table
> +// Keywords: of_table i2c_table platform_table spi_table
> // Confidence: Medium
> // Options: --include-headers
>
> --
> 2.43.0
>
>
On 14/10/2025 17:12, Geert Uytterhoeven wrote:
> When adding support for SPI device ID tables, the keywords in the header
> were not updated.
>
> Fixes: 347b564599fb01d8 ("coccinelle: of_table: handle SPI device ID tables")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
© 2016 - 2025 Red Hat, Inc.