mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch added to -mm tree
@ 2021-05-11  1:59 akpm
  2021-05-11  5:01 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2021-05-11  1:59 UTC (permalink / raw)
  To: akpm, mm-commits, swboyd


The patch titled
     Subject: module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix
has been added to the -mm tree.  Its filename is
     module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch

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 and is updated
there every 3-4 working days

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix

fix build with CONFIG_MODULES=n, tweak code layout

Cc: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/module.h |    1 +
 kernel/module.c        |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

--- a/include/linux/module.h~module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix
+++ a/include/linux/module.h
@@ -746,6 +746,7 @@ static inline const char *module_address
 					  unsigned long *symbolsize,
 					  unsigned long *offset,
 					  char **modname,
+					  const unsigned char **modbuildid,
 					  char *namebuf)
 {
 	return NULL;
--- a/kernel/module.c~module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix
+++ a/kernel/module.c
@@ -4267,7 +4267,8 @@ void * __weak dereference_module_functio
 const char *module_address_lookup(unsigned long addr,
 			    unsigned long *size,
 			    unsigned long *offset,
-			    char **modname, const unsigned char **modbuildid,
+			    char **modname,
+			    const unsigned char **modbuildid,
 			    char *namebuf)
 {
 	const char *ret = NULL;
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

mm.patch
mm-gup-pack-has_pinned-in-mmf_has_pinned-checkpatch-fixes.patch
mm-memcg-optimize-user-context-object-stock-access-checkpatch-fixes.patch
mm-improve-mprotectrw-efficiency-on-pages-referenced-once-fix.patch
mm-mmap-introduce-unlock_range-for-code-cleanup-fix.patch
mm-memory_hotplug-disable-memmap_on_memory-when-hugetlb_free_vmemmap-enabled-fix.patch
nommu-remove-__gfp_highmem-in-vmalloc-vzalloc-checkpatch-fixes.patch
mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables-checkpatch-fixes.patch
module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch added to -mm tree
  2021-05-11  1:59 + module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch added to -mm tree akpm
@ 2021-05-11  5:01 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2021-05-11  5:01 UTC (permalink / raw)
  To: akpm, mm-commits

Quoting akpm@linux-foundation.org (2021-05-10 18:59:55)
>
> The patch titled
>      Subject: module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix
> has been added to the -mm tree.  Its filename is
>      module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch
>
> This patch should soon appear at
>     https://ozlabs.org/~akpm/mmots/broken-out/module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch
> and later at
>     https://ozlabs.org/~akpm/mmotm/broken-out/module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch
>
> 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 and is updated
> there every 3-4 working days
>
> ------------------------------------------------------
> From: Andrew Morton <akpm@linux-foundation.org>
> Subject: module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix
>
> fix build with CONFIG_MODULES=n, tweak code layout
>
> Cc: Stephen Boyd <swboyd@chromium.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---

Thanks for cleaning up that one.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-11  5:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11  1:59 + module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch added to -mm tree akpm
2021-05-11  5:01 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).