diff options
author | NeilBrown | 2015-10-16 13:48:35 +1100 |
---|---|---|
committer | NeilBrown | 2015-10-16 13:48:35 +1100 |
commit | ba2746b0facf83c62bebf8aed8f0a3fd446de612 (patch) | |
tree | 241b5ede4129cc5145c6c37d1eb4bddeb0247edf /drivers/char/ipmi/ipmi_bt_sm.c | |
parent | c2a06c38d92d044a69a3eae0138ab95ff0788030 (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