aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2015-03-02 18:15:58 +0000
committerMark Brown <[email protected]>2015-03-06 11:23:26 +0000
commitc9dafb27c84412fe4b17c3b94cc4ffeef5df1833 (patch)
tree590ab0ccdb463745a00543117dcc9612472b70b1 /drivers/net/xen-netback/interface.c
parentspi: dw: revisit FIFO size detection again (diff)
downloadkernel-c9dafb27c84412fe4b17c3b94cc4ffeef5df1833.tar.gz
kernel-c9dafb27c84412fe4b17c3b94cc4ffeef5df1833.zip
spi: dw-mid: avoid potential NULL dereference
When DMA descriptor allocation fails we should not try to assign any fields in the bad descriptor. The patch adds the necessary checks for that. Fixes: 7063c0d942a1 (spi/dw_spi: add DMA support) Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions