summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorAustin Kim <austindh.kim@gmail.com>2019-09-06 08:29:51 +0900
committerIngo Molnar <mingo@kernel.org>2019-09-06 07:36:16 +0200
commit864b23f0169d5bff677e8443a7a90dfd6b090afc (patch)
tree3d598afa5ff0ed95fe38bf180ee0650de7ca407a /usr
parentf49dcd1aba4374c56bc77100e2d146884d2238c1 (diff)
downloadlinux-864b23f0169d5bff677e8443a7a90dfd6b090afc.tar.bz2
x86/platform/uv: Fix kmalloc() NULL check routine
The result of kmalloc() should have been checked ahead of below statement: pqp = (struct bau_pq_entry *)vp; Move BUG_ON(!vp) before above statement. Signed-off-by: Austin Kim <austindh.kim@gmail.com> Cc: Dimitri Sivanich <dimitri.sivanich@hpe.com> Cc: Hedi Berriche <hedi.berriche@hpe.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Travis <mike.travis@hpe.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Russ Anderson <russ.anderson@hpe.com> Cc: Steve Wahl <steve.wahl@hpe.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: allison@lohutok.net Cc: andy@infradead.org Cc: armijn@tjaldur.nl Cc: bp@alien8.de Cc: dvhart@infradead.org Cc: gregkh@linuxfoundation.org Cc: hpa@zytor.com Cc: kjlu@umn.edu Cc: platform-driver-x86@vger.kernel.org Link: https://lkml.kernel.org/r/20190905232951.GA28779@LGEARND20B15 Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions