nvme: fix sparse warning on effects masking
authorKeith Busch <kbusch@kernel.org>
Fri, 24 Feb 2023 15:34:24 +0000 (07:34 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 27 Feb 2023 13:56:04 +0000 (06:56 -0700)
commitc0c33b94cfc23d21f67c7569a8785b33c74d6e3d
tree01a069102f05762c5ecb617618f9d471a6532169
parent310726c33ad76cebdee312dbfafc12c1b44bf977
nvme: fix sparse warning on effects masking

The log entries are stored in le32, so use appropriate byte swapping
macros.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202302242222.PevBhzvC-lkp@intel.com/
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c