1
0
Fork 0
alistair23-linux/drivers/nfc/nxp-nci
Al Viro 4ea206395d nfc: fix get_unaligned_...() misuses
* if a local variable of type uint16_t is unaligned, your compiler is FUBAR
* the whole point of get_unaligned_... is to avoid memcpy + ..._to_cpu().
  Using it *after* memcpy() (into aligned object, no less) is pointless.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2017-04-17 00:42:22 +02:00
..
Kconfig NFC: nxp-nci_i2c: Add I2C support to NXP NCI driver 2015-03-26 11:21:41 +01:00
Makefile NFC: Remove obsolete setting of DEBUG 2015-06-09 00:34:09 +02:00
core.c NFC: nxp-nci: constify nxp_nci_phy_ops structure 2015-10-19 20:04:13 +02:00
firmware.c NFC: nxp-nci: Include unaligned.h instead of access_ok.h 2017-04-01 23:52:25 +02:00
i2c.c nfc: fix get_unaligned_...() misuses 2017-04-17 00:42:22 +02:00
nxp-nci.h NFC: nxp-nci: constify nxp_nci_phy_ops structure 2015-10-19 20:04:13 +02:00