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 On

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

2015-04-22 Thread Krzysztof Kozlowski
W dniu 27.02.2015 o 22:21, Daniel Granat pisze: > 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 I like the idea

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

2015-04-22 Thread Krzysztof Kozlowski
W dniu 27.02.2015 o 22:21, Daniel Granat pisze: 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 I

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 On

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

2015-03-27 Thread Daniel Granat
Hi, Could you please review my patch I sent last month? It checks if tables in kernel are NULL terminated. Script matches only names specified in source code by postfix='*_device_id$' and by list of prefixes which is now prefix_list = ['platform', 'of', 'i2c']. I think it could by useful in

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

2015-03-27 Thread Daniel Granat
Hi, Could you please review my patch I sent last month? It checks if tables in kernel are NULL terminated. Script matches only names specified in source code by postfix='*_device_id$' and by list of prefixes which is now prefix_list = ['platform', 'of', 'i2c']. I think it could by useful in

[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

[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