[PATCH v6] coccinelle: Improve checking for missing NULL terminators

2015-10-23 Thread Daniel Granat
* Extend checking on tables containing structures which are initialized without specifying member name. Added new tables for checking: i2c_device_id and platform_device_id. Signed-off-by: Daniel Granat --- scripts/coccinelle/misc/of_table.cocci | 33 - 1 file

[PATCH v6] coccinelle: Improve checking for missing NULL terminators

2015-10-23 Thread Daniel Granat
* Extend checking on tables containing structures which are initialized without specifying member name. Added new tables for checking: i2c_device_id and platform_device_id. Signed-off-by: Daniel Granat <d.gra...@samsung.com> --- scripts/coccinelle/misc/of_table.cocc

[PATCH v6] coccinelle: Improve checking for missing NULL terminators

2015-06-26 Thread Daniel Granat
Extend checking on tables containing structures which are initialized without specifying member name. Added new tables for checking: i2c_device_id and platform_device_id. Signed-off-by: Daniel Granat Acked-by: Julia Lawall --- scripts/coccinelle/misc/of_table.cocci | 33

[PATCH v6] coccinelle: Improve checking for missing NULL terminators

2015-06-26 Thread Daniel Granat
Extend checking on tables containing structures which are initialized without specifying member name. Added new tables for checking: i2c_device_id and platform_device_id. Signed-off-by: Daniel Granat d.gra...@samsung.com Acked-by: Julia Lawall julia.law...@lip6.fr --- scripts/coccinelle/misc

[PATCH v5] Added tables (i2c/platform)_device_id for checking. Extend checking on tables containing structures which are initialized without specifying member name.

2015-06-23 Thread Daniel Granat
Signed-off-by: Daniel Granat --- scripts/coccinelle/misc/of_table.cocci | 33 - 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/scripts/coccinelle/misc/of_table.cocci b/scripts/coccinelle/misc/of_table.cocci index 3c93404..2294915 100644

[PATCH v5] Added tables (i2c/platform)_device_id for checking. Extend checking on tables containing structures which are initialized without specifying member name.

2015-06-23 Thread Daniel Granat
Signed-off-by: Daniel Granat d.gra...@samsung.com --- scripts/coccinelle/misc/of_table.cocci | 33 - 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/scripts/coccinelle/misc/of_table.cocci b/scripts/coccinelle/misc/of_table.cocci index 3c93404

[PATCH v4] Added tables i2c_device_id and platform_device_id for checking. Extend checking on tables containing structures which are initialized without specifying member name.

2015-06-02 Thread Daniel Granat
Signed-off-by: Daniel Granat --- scripts/coccinelle/misc/of_table.cocci | 34 +- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/scripts/coccinelle/misc/of_table.cocci b/scripts/coccinelle/misc/of_table.cocci index 3c93404..bc3c944 100644

[PATCH v4] Added tables i2c_device_id and platform_device_id for

2015-06-02 Thread Daniel Granat
Thank you for advices. I submit new patch with changes you suggested but I don't know why in "context" rule I get only two results instead of four. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH v4] Added tables i2c_device_id and platform_device_id for checking. Extend checking on tables containing structures which are initialized without specifying member name.

2015-06-02 Thread Daniel Granat
Signed-off-by: Daniel Granat d.gra...@samsung.com --- scripts/coccinelle/misc/of_table.cocci | 34 +- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/scripts/coccinelle/misc/of_table.cocci b/scripts/coccinelle/misc/of_table.cocci index 3c93404

[PATCH v4] Added tables i2c_device_id and platform_device_id for

2015-06-02 Thread Daniel Granat
Thank you for advices. I submit new patch with changes you suggested but I don't know why in context rule I get only two results instead of four. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH v3] Added tables i2c_device_id and platform_device_id for checking. Extend checking on tables containing structures which are initialized without specifying member name.

2015-05-19 Thread Daniel Granat
Signed-off-by: Daniel Granat --- scripts/coccinelle/misc/of_table.cocci | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/scripts/coccinelle/misc/of_table.cocci b/scripts/coccinelle/misc/of_table.cocci index 3c93404..74f7dbb 100644 --- a/scripts

[PATCH v3] Added tables i2c_device_id and platform_device_id for checking. Extend checking on tables containing structures which are initialized without specifying member name.

2015-05-19 Thread Daniel Granat
Signed-off-by: Daniel Granat d.gra...@samsung.com --- scripts/coccinelle/misc/of_table.cocci | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/scripts/coccinelle/misc/of_table.cocci b/scripts/coccinelle/misc/of_table.cocci index 3c93404..74f7dbb

[PATCH v2] Add coccinelle script that makes sure that tables are NULL terminated

2015-05-18 Thread Daniel Granat
Signed-off-by: Daniel Granat --- scripts/coccinelle/misc/of_platform.cocci | 65 +++ 1 file changed, 65 insertions(+) create mode 100644 scripts/coccinelle/misc/of_platform.cocci diff --git a/scripts/coccinelle/misc/of_platform.cocci b/scripts/coccinelle/misc

[PATCH v2] Add coccinelle script that makes sure that tables are NULL terminated

2015-05-18 Thread Daniel Granat
Signed-off-by: Daniel Granat d.gra...@samsung.com --- scripts/coccinelle/misc/of_platform.cocci | 65 +++ 1 file changed, 65 insertions(+) create mode 100644 scripts/coccinelle/misc/of_platform.cocci diff --git a/scripts/coccinelle/misc/of_platform.cocci b/scripts

Re: [PATCH] Add coccinelle script that makes sure that tables are NULL terminated

2015-04-22 Thread Daniel Granat
Ok, but I'm going to improve the script. New coccinelle release give my opportunity to simplify this a lot, so I'll send next version of my patch soon. Best regards, -- Daniel Granat Junior Software Engineer Samsung R Institute Poland (SRPOL) Al. Armii Ludowej 14, 00-638 Warszawa, Poland

Re: [PATCH] Add coccinelle script that makes sure that tables are NULL terminated

2015-04-22 Thread Daniel Granat
Ok, but I'm going to improve the script. New coccinelle release give my opportunity to simplify this a lot, so I'll send next version of my patch soon. Best regards, -- Daniel Granat Junior Software Engineer Samsung RD Institute Poland (SRPOL) Al. Armii Ludowej 14, 00-638 Warszawa, Poland

Re: [PATCH] Add coccinelle script that makes sure that tables are NULL terminated

2015-03-27 Thread Daniel Granat
in kernel sources. On 02/27/2015 02:21 PM, Daniel Granat wrote: > Signed-off-by: Daniel Granat d.gra...@samsung.com > --- > scripts/coccinelle/misc/device_id_tables.cocci | 95 ++ > 1 file changed, 95 insertions(+) > create mode 100644 scripts/

Re: [PATCH] Add coccinelle script that makes sure that tables are NULL terminated

2015-03-27 Thread Daniel Granat
in kernel sources. On 02/27/2015 02:21 PM, Daniel Granat wrote: pre wrap Signed-off-by: Daniel Granat lt;d.gra...@samsung.comgt; --- scripts/coccinelle/misc/device_id_tables.cocci | 95 ++ 1 file changed, 95 insertions(+) create mode 100644 scripts/coccinelle/misc

[PATCH] Add coccinelle script that makes sure that tables are NULL terminated

2015-02-27 Thread Daniel Granat
Signed-off-by: Daniel Granat --- scripts/coccinelle/misc/device_id_tables.cocci | 95 ++ 1 file changed, 95 insertions(+) create mode 100644 scripts/coccinelle/misc/device_id_tables.cocci diff --git a/scripts/coccinelle/misc/device_id_tables.cocci b/scripts/coccinelle

[PATCH] Add coccinelle script that makes sure that tables are NULL terminated

2015-02-27 Thread Daniel Granat
Signed-off-by: Daniel Granat d.gra...@samsung.com --- scripts/coccinelle/misc/device_id_tables.cocci | 95 ++ 1 file changed, 95 insertions(+) create mode 100644 scripts/coccinelle/misc/device_id_tables.cocci diff --git a/scripts/coccinelle/misc/device_id_tables.cocci b