summaryrefslogtreecommitdiff
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorMatt Redfearn <matt.redfearn@imgtec.com>2015-12-21 18:21:42 +0300
committerRalf Baechle <ralf@linux-mips.org>2016-05-09 13:00:04 +0300
commit8d4925e9a5e5fb360b091b94a9682e02dfbf8e2b (patch)
tree77a653682e882660fb0085ffbe8f1e282760942e /arch/mips/boot
parentfa0c879ffc869e2597364c72080fd4756a96e99a (diff)
downloadlinux-8d4925e9a5e5fb360b091b94a9682e02dfbf8e2b.tar.xz
MIPS: dma-default: Defend against NULL dev in massage_gfp_flags
This patch ensures that the dev parameter is checked for NULL before it is dereferenced in massage_gfp_flags. If dev is NULL, then fall back setting the GFP flag requested and available. Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11919/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot')
0 files changed, 0 insertions, 0 deletions