aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_bt_sm.c
diff options
context:
space:
mode:
authorNeilBrown2015-10-16 13:48:35 +1100
committerNeilBrown2015-10-16 13:48:35 +1100
commitba2746b0facf83c62bebf8aed8f0a3fd446de612 (patch)
tree241b5ede4129cc5145c6c37d1eb4bddeb0247edf /drivers/char/ipmi/ipmi_bt_sm.c
parentc2a06c38d92d044a69a3eae0138ab95ff0788030 (diff)
md-cluster: metadata_update_finish: consistently use cmsg.raid_slot as le32
As cmsg.raid_slot is le32, comparing for >0 is not meaningful. So introduce cpu-endian 'raid_slot' and only assign to cmsg.raid_slot when we know value is valid. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_bt_sm.c')
0 files changed, 0 insertions, 0 deletions