Date:do not initialise statics to 0
PATCH 1/1 Date:do not initialise statics to 0
do not initialise statics to 0
Signed-off-by Xin Gao <[email protected]>
--- drivers/ata/pata_artop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/pata_artop.c +1 -1
@@ -37,7 +37,7 @@* test stuff. */ -static int clock =0 ; +static int clock;/** * artop62x0_pre_reset - probe begin
Signature · 1 line
2.30.2
Quoted 12 lines · Xin Gao
do not initialise statics to 0
Signed-off-by Xin Gao <[email protected]>--- drivers/ata/pata_artop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/ata/pata_artop.c +0
-0
drivers/ata/pata_artop.c line 43
Quoted 8 lines
drivers/ata/pata_artop.c +1
-1@@ -37,7 +37,7 @@* test stuff. */ -static int clock =0 ; +static int clock;/** * artop62x0_pre_reset - probe begin
Very weird patch title.
Is this solving any static analyzer or compiler warning ? If not, this is not a very useful change.
Signature · 2 lines
Damien Le Moal Western Digital Research