diff options
author | Eric Lapuyade <eric.lapuyade@linux.intel.com> | 2013-09-23 18:02:43 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-25 14:21:09 +0200 |
commit | a4ada6cadb8a2246f263ff6a0d0cca8832f3970e (patch) | |
tree | 08250fa111f17418b86de18c2c62e53043fb2bc3 /net/netrom | |
parent | 5ce3f32b5264b337bfd13a780452a17705307725 (diff) | |
download | op-kernel-dev-a4ada6cadb8a2246f263ff6a0d0cca8832f3970e.zip op-kernel-dev-a4ada6cadb8a2246f263ff6a0d0cca8832f3970e.tar.gz |
NFC: NCI: zero struct spi_transfer variables before usage
Using ARM compiler, and without zero-ing spi_transfer, spi-s3c64xx
driver would issue abnormal errors due to bpw field value being set to
unexpected value. This structure MUST be set to all zeros except for
those field specifically used.
Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions