summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorLv Ruyi <lv.ruyi@zte.com.cn>2022-04-13 09:33:02 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-04-13 22:20:15 -0300
commitd73f5d14e0cdd1f39764379250f26163913d7155 (patch)
treedac1f3fb6bb6d660deb865678ac39643ca70f896 /scripts/stackusage
parentf034fc50d3c7d9385c20d505ab4cf56b8fd18ac7 (diff)
downloadkernel-d73f5d14e0cdd1f39764379250f26163913d7155.tar.gz
perf stat: Fix error check return value of hashmap__new(), must use IS_ERR()
hashmap__new() returns ERR_PTR(-ENOMEM) when it fails, so we should use IS_ERR() to check it in error handling path. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20220413093302.2538128-1-lv.ruyi@zte.com.cn Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
it/ipc?h=linux-6.12.y&id=7f032d6ef6154868a2a5d5f6b2c3f8587292196c'>ipc: remove use of seq_printf return valueJoe Perches 2015-04-15VFS: assorted weird filesystems: d_inode() annotationsDavid Howells 2015-02-17ipc,sem: use current->state helpersDavidlohr Bueso 2014-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds 2014-12-13shmdt: use i_size_read() instead of ->i_sizeDave Hansen 2014-12-13ipc/shm.c: fix overly aggressive shmdt() when calls span multiple segmentsDave Hansen 2014-12-13ipc/msg: increase MSGMNI, remove scalingManfred Spraul 2014-12-13ipc/sem.c: change memory barrier in sem_lock() to smp_rmb()Manfred Spraul 2014-12-10Merge branch 'nsfs' into for-nextAl Viro 2014-12-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds 2014-12-04copy address of proc_ns_ops into ns_commonAl Viro 2014-12-04new helpers: ns_alloc_inum/ns_free_inumAl Viro 2014-12-04make proc_ns_operations work with struct ns_common * instead of void *Al Viro 2014-12-04switch the rest of proc_ns_operations to working with &...->nsAl Viro 2014-12-04common object embedded into various struct ....nsAl Viro 2014-12-03ipc/sem.c: fully initialize sem_array before making it visibleManfred Spraul 2014-11-19new helper: audit_file()Al Viro 2014-10-14ipc: resolve shadow warningsMark Rustad 2014-10-14ipc/util.c: use __seq_open_private() instead of seq_open()Rob Jones 2014-10-14ipc/shm: kill the historical/wrong mm->start_stack checkOleg Nesterov 2014-10-14ipc: always handle a new value of auto_msgmniAndrey Vagin 2014-10-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds 2014-09-09Documentation: Docbook: Fix generated DocBook/kernel-api.xmlMasanari Iida 2014-08-09Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds 2014-08-08shm: allow exit_shm in parallel if only marking orphansJack Miller 2014-08-08shm: make exit_shm work proportional to task activityJack Miller 2014-07-29namespaces: Use task_lock and not rcu to protect nsproxyEric W. Biederman