+ kprobeslib-kretprobe-scalability-improvement-fix.patch added to mm-nonmm-unstable branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: kprobeslib-kretprobe-scalability-improvement-fix
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
     kprobeslib-kretprobe-scalability-improvement-fix.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/kprobeslib-kretprobe-scalability-improvement-fix.patch

This patch will later appear in the mm-nonmm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: kprobeslib-kretprobe-scalability-improvement-fix
Date: Wed Nov  2 03:25:47 PM PDT 2022

fix build with -Werror=designated-init

lib/test_objpool.c:509:10: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
  509 |         {ot_init_sync_m0, ot_fini_sync_m0},
      |          ^~~~~~~~~~~~~~~
lib/test_objpool.c:509:10: note: (near initialization for 'g_ot_sync_ops[0]')
lib/test_objpool.c:509:10: error: invalid initializer
lib/test_objpool.c:509:10: note: (near initialization for 'g_ot_sync_ops[0].<anonymous>')

Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx>
Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
Cc: David S. Miller <davem@xxxxxxxxxxxxx>
Cc: Eric Biggers <ebiggers@xxxxxxxxxx>
Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Cc: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
Cc: "Naveen N. Rao" <naveen.n.rao@xxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Sander Vanheule <sander@xxxxxxxxxxxxx>
Cc: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
Cc: wuqiang <wuqiang.matt@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/test_objpool.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

--- a/lib/test_objpool.c~kprobeslib-kretprobe-scalability-improvement-fix
+++ a/lib/test_objpool.c
@@ -506,10 +506,10 @@ struct {
 	struct ot_context * (*init)(void);
 	void (*fini)(struct ot_context *sop);
 } g_ot_sync_ops[4] = {
-	{ot_init_sync_m0, ot_fini_sync_m0},
-	{ot_init_sync_m1, ot_fini_sync_m1},
-	{ot_init_sync_m2, ot_fini_sync_m2},
-	{ot_init_sync_m3, ot_fini_sync_m3},
+	{.init = ot_init_sync_m0, .fini = ot_fini_sync_m0},
+	{.init = ot_init_sync_m1, .fini = ot_fini_sync_m1},
+	{.init = ot_init_sync_m2, .fini = ot_fini_sync_m2},
+	{.init = ot_init_sync_m3, .fini = ot_fini_sync_m3},
 };
 
 /*
@@ -810,10 +810,10 @@ struct {
 	struct ot_context * (*init)(void);
 	void (*fini)(struct ot_context *sop);
 } g_ot_async_ops[4] = {
-	{ot_init_async_m0, ot_fini_async},
-	{ot_init_async_m1, ot_fini_async},
-	{ot_init_async_m2, ot_fini_async},
-	{ot_init_async_m3, ot_fini_async},
+	{.init = ot_init_async_m0, .fini = ot_fini_async},
+	{.init = ot_init_async_m1, .fini = ot_fini_async},
+	{.init = ot_init_async_m2, .fini = ot_fini_async},
+	{.init = ot_init_async_m3, .fini = ot_fini_async},
 };
 
 static void ot_nod_recycle(struct ot_node *on, struct objpool_head *pool,
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

maple_tree-reorganize-testing-to-restore-module-testing-fix.patch
maple_tree-reorganize-testing-to-restore-module-testing-fix-2.patch
mm-memremap_pages-replace-zone_device_page_init-with-pgmap_request_folios-fix.patch
vmalloc-add-reviewers-for-vmalloc-code-checkpatch-fixes.patch
mm-memremap-introduce-pgmap_request_folio-using-pgmap-offsets-fix.patch
mm-memremap-introduce-pgmap_request_folio-using-pgmap-offsets-fix-2.patch
mm-gup-remove-foll_migration-fix.patch
mm-use-stack_depot-for-recording-kmemleaks-backtrace-checkpatch-fixes.patch
mm-use-stack_depot-for-recording-kmemleaks-backtrace-fix.patch
mm-use-stack_depot-for-recording-kmemleaks-backtrace-v3-fix.patch
kasan-allow-sampling-page_alloc-allocations-for-hw_tags-fix.patch
mm-hugetlb-convert-move_hugetlb_state-to-folios-fix.patch
powerpc-ptrace-user_regset_copyin_ignore-always-returns-0-fix.patch
minmax-sanity-check-constant-bounds-when-clamping-checkpatch-fixes.patch
minmax-sanity-check-constant-bounds-when-clamping-checkpatch-fixes-fix.patch
proc-report-open-files-as-size-in-stat-for-proc-pid-fd-v3-fix.patch
kprobeslib-kretprobe-scalability-improvement-fix.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux