aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2011-10-29 11:30:15 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-11-07 13:19:13 -0500
commitae8e46723f803057daff392bdc93332be2f0ec98 (patch)
treeb34000a231b79a8012cc51ba9d385a6c6621bf4c /fs/jbd2/commit.c
parentb43: HT-PHY: report signal to mac80211 (diff)
downloadlinux-rng-ae8e46723f803057daff392bdc93332be2f0ec98.tar.xz
linux-rng-ae8e46723f803057daff392bdc93332be2f0ec98.zip
brcm80211: smac: eliminate a null pointer dereference in dma.c
Though it's unlikely, di may be null, so we can't dereference di->dma.dmactrlflags until we've checked it. Move this de-reference after the check, and adjust the error message to not require de-referencing di. This is based upon Julia's original patch: <1319846297-2985-2-git-send-email-julia@diku.dk> Reported-by: Julia Lawall <julia@diku.dk> Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions