diff options
author | Christophe Ricard <christophe.ricard@gmail.com> | 2015-10-25 22:54:19 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2015-10-26 06:53:06 +0100 |
commit | a1269dd116319335db6d73013a31c038486c813e (patch) | |
tree | 656eefa06de222440aa69f705d4314bc432a0eba /mm/zswap.c | |
parent | NFC: st21nfca: Align st21nfca driver with other nfc driver (diff) | |
download | linux-a1269dd116319335db6d73013a31c038486c813e.tar.xz linux-a1269dd116319335db6d73013a31c038486c813e.zip |
NFC: st-nci: Fix incorrect spi buffer size
When sending data over SPI, the maximum expected length is the maximum
nci packet payload + data header size + the frame head room (1 for the
ndlc header) + the frame trail room (0).
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions