diff options
| author | 2015-12-21 15:21:42 +0000 | |
|---|---|---|
| committer | 2016-05-09 12:00:04 +0200 | |
| commit | 8d4925e9a5e5fb360b091b94a9682e02dfbf8e2b (patch) | |
| tree | 77a653682e882660fb0085ffbe8f1e282760942e /scripts | |
| parent | MIPS: oprofile: Fix a preemption issue (diff) | |
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 'scripts')
0 files changed, 0 insertions, 0 deletions
