aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMatt Fleming <[email protected]>2013-01-11 13:30:46 +0000
committerMatt Fleming <[email protected]>2013-01-31 14:44:44 +0000
commit94a193fb7393a50625abd9ca21f8afea275a9f87 (patch)
tree3a2ae392ae294bc5f67da5f43f725819f8a1a913 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentdeb94101c4fda22e152c2a311210cf09ae51adf6 (diff)
efivarfs: Use sizeof() instead of magic number
Instead of adding a magic 4 to the variable size, use sizeof() to make it explicitly clear what the quantity represents (the variable's attributes). CC: Jeremy Kerr <[email protected]> Cc: Chun-Yi Lee <[email protected]> Cc: Andy Whitcroft <[email protected]> Reported-by: Lingzhu Xiang <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions