linux/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 treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
nxp-nci.h NFC: nxp-nci: Get rid of platform data 2019-07-29 08:56:26 -07:00