diff options
| author | Austin Kim <[email protected]> | 2019-09-05 23:29:51 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-09-06 05:36:16 +0000 |
| commit | 864b23f0169d5bff677e8443a7a90dfd6b090afc (patch) | |
| tree | 3d598afa5ff0ed95fe38bf180ee0650de7ca407a /tools/perf/scripts/python/sctop.py | |
| parent | Merge tag 'v5.3-rc7' into x86/platform, to refresh the branch (diff) | |
| download | kernel-864b23f0169d5bff677e8443a7a90dfd6b090afc.tar.gz kernel-864b23f0169d5bff677e8443a7a90dfd6b090afc.zip | |
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 <[email protected]>
Cc: Dimitri Sivanich <[email protected]>
Cc: Hedi Berriche <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Travis <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Russ Anderson <[email protected]>
Cc: Steve Wahl <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/20190905232951.GA28779@LGEARND20B15
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
