block/partitions/acorn.c: Changed string pointer declaration to array declaration for fewer asm statements
PATCH 1/1 block/partitions/acorn.c: Changed string pointer declaration to array declaration for fewer asm statements
Per the KernelJanitors page, this fix will remove 2 - 3 asm calls when declaring a string.
Signed-off-by Michael Miller <[email protected]>
--- block/partitions/acorn.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
block/partitions/acorn.c +1 -1
@@ -168,7 +168,7 @@ int adfspart_check_CUMANA(struct parsed_partitions *state)unsigned int start_blk =0 ;Sector sect;unsigned char *data; -char *name ="CUMANA/ADFS" ; +char name[] ="CUMANA/ADFS" ;int first =1 ;int slot =1 ;
Signature · 1 line
1.7.2.5