linux-stable/drivers/nfc/nxp-nci
Simon Horman f2ea0c3582 nfc: nxp-nci: store __be16 value in __be16 variable
Use a __be16 variable to store the big endian value of header in
nxp_nci_i2c_fw_read().

Flagged by Sparse as:

 .../i2c.c:113:22: warning: cast to restricted __be16

No functional changes intended.
Compile tested only.

Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-06-12 09:40:31 +01:00
..
core.c nfc: nxp-nci: Fix potential memory leak in nxp_nci_send() 2022-11-21 08:31:53 +00:00
firmware.c NFC: nxp-nci: remove unnecessary label 2021-06-18 12:57:30 -07:00
i2c.c nfc: nxp-nci: store __be16 value in __be16 variable 2023-06-12 09:40:31 +01:00
Kconfig
Makefile
nxp-nci.h