Re: [PATCH] scsi: fnic: make array dev_cmd_err static const, makes object smaller

2019-09-30 Thread Martin K. Petersen
Colin, > Don't populate the array dev_cmd_err on the stack but instead make it > static const. Makes the object code smaller by 80 bytes. Applied to 5.5/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH] scsi: fnic: make array dev_cmd_err static const, makes object smaller

2019-09-06 Thread Colin King
From: Colin Ian King Don't populate the array dev_cmd_err on the stack but instead make it static const. Makes the object code smaller by 80 bytes. Before: textdata bss dec hex filename 214611564 0 2302559f1 drivers/scsi/fnic/vnic_dev.o After: textdat