On 5/8/20 10:51 AM, Chandrakanth Patil wrote:
MFI_BIG_ENDIAN macro used in drivers structure bitfield to check the CPU big endianness is undefined which would break the code on big endian machine. __BIG_ENDIAN_BITFIELD kernel macro should be used in places of MFI_BIG_ENDIAN macro.
Fixes: a7faf81d7858 ("scsi: megaraid_sas: Set no_write_same only for Virtual Disk") Cc: stable@vger.kernel.org # v5.6+ Signed-off-by: Shivasharan S shivasharan.srikanteshwara@broadcom.com Signed-off-by: Chandrakanth Patil chandrakanth.patil@broadcom.com
drivers/scsi/megaraid/megaraid_sas.h | 4 ++-- drivers/scsi/megaraid/megaraid_sas_fusion.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Hannes Reinecke hare@suse.de
Cheers,
Hannes