diff options
author | Eric Lapuyade <eric.lapuyade@linux.intel.com> | 2013-09-23 16:02:43 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-25 12:21:09 (GMT) |
commit | a4ada6cadb8a2246f263ff6a0d0cca8832f3970e (patch) | |
tree | 08250fa111f17418b86de18c2c62e53043fb2bc3 /include/net | |
parent | 5ce3f32b5264b337bfd13a780452a17705307725 (diff) | |
download | linux-a4ada6cadb8a2246f263ff6a0d0cca8832f3970e.tar.xz |
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 'include/net')
0 files changed, 0 insertions, 0 deletions