diff options
author | Austin Kim <[email protected]> | 2019-09-06 08:29:51 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-09-06 07:36:16 +0200 |
commit | 864b23f0169d5bff677e8443a7a90dfd6b090afc (patch) | |
tree | 3d598afa5ff0ed95fe38bf180ee0650de7ca407a /tools/perf/scripts/python | |
parent | f49dcd1aba4374c56bc77100e2d146884d2238c1 (diff) |
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')
0 files changed, 0 insertions, 0 deletions