Re: [RFC 31/31] objtool, livepatch: Livepatch module generation

2024-09-04 Thread Jeff Johnson
On 9/2/24 21:00, Josh Poimboeuf wrote: ... > diff --git a/scripts/livepatch/module.c b/scripts/livepatch/module.c > new file mode 100644 > index ..101cabf6b2f1 > --- /dev/null > +++ b/scripts/livepatch/module.c > @@ -0,0 +1,120 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > +/* >

Re: [PATCH v3 4/6] livepatch: Add sample livepatch module

2024-08-28 Thread Jeff Johnson
On 8/27/24 05:30, Lukas Hruska wrote: > From: Josh Poimboeuf > > Add a new livepatch sample in samples/livepatch/ to make use of symbols > that must be post-processed to enable load-time relocation resolution. > As the new sample is to be used as an example, it is annotated with > KLP_RELOC_SYMBO

Re: [PATCH v2] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-23 Thread Jeff Johnson
On 7/15/2024 7:18 AM, Jeff Johnson wrote: > make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o > > Add the missing invocation of the MODULE_DESCRIPTION() macro. > > Reviewed-by: Matt Wu > Signed-off-by:

Re: [PATCH] rpmsg: char: add missing MODULE_DESCRIPTION() macro

2024-07-23 Thread Jeff Johnson
On 6/10/2024 10:25 AM, Mathieu Poirier wrote: > On Tue, Jun 04, 2024 at 06:53:44PM -0700, Jeff Johnson wrote: >> make allmodconfig && make W=1 C=1 reports: >> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/rpmsg/rpmsg_char.o >> >> Add the missing i

Re: [PATCH] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-15 Thread Jeff Johnson
BTW I have another patch in arch/arm/probes/kprobes/test-kprobes.c Is that one you should handle? https://lore.kernel.org/all/20240622-md-arm-arch-arm-probes-kprobes-v1-1-0832bd6e4...@quicinc.com/ /jeff

Re: [PATCH] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-15 Thread Jeff Johnson
On 7/15/2024 2:12 AM, Masami Hiramatsu (Google) wrote: > On Thu, 11 Jul 2024 11:14:20 -0700 > Jeff Johnson wrote: > >> On 6/2/24 23:45, Masami Hiramatsu (Google) wrote: >>> On Mon, 3 Jun 2024 11:25:59 +0800 >>> "wuqiang.matt" wrote: >>> &g

[PATCH v2] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-15 Thread Jeff Johnson
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Reviewed-by: Matt Wu Signed-off-by: Jeff Johnson --- Changes in v2: - No changes to actual patch, just rebased

Re: [PATCH] virtio: add missing MODULE_DESCRIPTION() macro

2024-07-11 Thread Jeff Johnson
On 6/23/24 10:36, Jeff Johnson wrote: On 6/2/2024 1:25 PM, Jeff Johnson wrote: make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/virtio/virtio_dma_buf.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Signed-off-

Re: [PATCH] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-11 Thread Jeff Johnson
On 6/2/24 23:45, Masami Hiramatsu (Google) wrote: On Mon, 3 Jun 2024 11:25:59 +0800 "wuqiang.matt" wrote: On 2024/6/1 08:31, Jeff Johnson wrote: make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o Add the missing

[PATCH] virtio: add missing MODULE_DESCRIPTION() macros

2024-07-02 Thread Jeff Johnson
With ARCH=sh, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/virtio/virtio.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/virtio/virtio_ring.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-

Re: [PATCH] vDPA: add missing MODULE_DESCRIPTION() macros

2024-06-26 Thread Jeff Johnson
On 6/11/2024 12:22 PM, Jeff Johnson wrote: > With ARCH=x86, make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vdpa/vdpa.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vdpa/ifcvf/ifcvf.o > > Add the mis

Re: [PATCH] virtio: add missing MODULE_DESCRIPTION() macro

2024-06-23 Thread Jeff Johnson
On 6/2/2024 1:25 PM, Jeff Johnson wrote: > make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/virtio/virtio_dma_buf.o > > Add the missing invocation of the MODULE_DESCRIPTION() macro. > > Signed-off-by: Jeff Joh

[PATCH v2] KUnit: add missing MODULE_DESCRIPTION() macros for lib/test_*.ko

2024-06-19 Thread Jeff Johnson
modpost: missing MODULE_DESCRIPTION() in lib/test_kprobes.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_ref_tracker.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_bits.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- Chang

Re: [PATCH] vringh: add MODULE_DESCRIPTION()

2024-06-15 Thread Jeff Johnson
On 5/16/2024 6:57 PM, Jeff Johnson wrote: > Fix the allmodconfig 'make w=1' issue: > > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vhost/vringh.o > > Signed-off-by: Jeff Johnson > --- > drivers/vhost/vringh.c | 1 + > 1 file changed, 1 insertion(

Re: [PATCH] testing: nvdimm: Add MODULE_DESCRIPTION() macros

2024-06-11 Thread Jeff Johnson
est.o > > Add the required MODULE_DESCRIPTION() to the test platform device > drivers. > > Suggested-by: Jeff Johnson > Signed-off-by: Ira Weiny > --- > Jeff I'm not seeing a patch to cover these cases for the missing module > descriptions you have been sending out.

[PATCH] vDPA: add missing MODULE_DESCRIPTION() macros

2024-06-11 Thread Jeff Johnson
With ARCH=x86, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vdpa/vdpa.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vdpa/ifcvf/ifcvf.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff

Re: [PATCH RESEND] nvdimm: add missing MODULE_DESCRIPTION() macros

2024-06-10 Thread Jeff Johnson
On 6/10/2024 6:58 AM, Ira Weiny wrote: > Jeff Johnson wrote: >> Fix the 'make W=1' warnings: >> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/libnvdimm.o >> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_pmem.o >> WARNING

[PATCH] dax: add missing MODULE_DESCRIPTION() macros

2024-06-05 Thread Jeff Johnson
missing MODULE_DESCRIPTION() in drivers/dax/dax_pmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/dax/dax_cxl.o Add all missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- drivers/dax/cxl.c | 1 + drivers/dax/device.c| 1 + drivers/dax/hmem/hm

[PATCH] rpmsg: char: add missing MODULE_DESCRIPTION() macro

2024-06-04 Thread Jeff Johnson
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/rpmsg/rpmsg_char.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- drivers/rpmsg/rpmsg_char.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] ACPI: NFIT: add missing MODULE_DESCRIPTION() macro

2024-06-03 Thread Jeff Johnson
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/acpi/nfit/nfit.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- drivers/acpi/nfit/core.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] virtio: add missing MODULE_DESCRIPTION() macro

2024-06-02 Thread Jeff Johnson
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/virtio/virtio_dma_buf.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- drivers/virtio/virtio_dma_buf.c | 1 + 1 file changed, 1 i

Re: [PATCH] KUnit: add missing MODULE_DESCRIPTION() macros for lib/test_*.ko

2024-06-01 Thread Jeff Johnson
On 6/1/2024 8:01 PM, Masami Hiramatsu (Google) wrote: > On Sat, 1 Jun 2024 15:19:39 -0700 > Jeff Johnson wrote: > >> make allmodconfig && make W=1 C=1 reports for lib/test_*.ko: >> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_hexdump.o

[PATCH] samples: kprobes: add missing MODULE_DESCRIPTION() macros

2024-06-01 Thread Jeff Johnson
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kprobe_example.o WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kretprobe_example.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-

[PATCH] KUnit: add missing MODULE_DESCRIPTION() macros for lib/test_*.ko

2024-06-01 Thread Jeff Johnson
s of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- lib/dhry_run.c | 1 + lib/test-kstrtox.c | 1 + lib/test_bits.c| 1 + lib/test_blackhole_dev.c | 1 + lib/test_firmware.c| 1 + lib/test_free_pages.c | 1 + lib/test_hash.c|

[PATCH] lib/test_kmod: add missing MODULE_DESCRIPTION() macro

2024-05-31 Thread Jeff Johnson
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_kmod.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- lib/test_kmod.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/test_kmod

[PATCH] nvdimm: add missing MODULE_DESCRIPTION() macros

2024-05-26 Thread Jeff Johnson
t: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_e820.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/of_pmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_virtio.o Signed-off-by: Jeff Johnson --- drivers/nvdimm/btt.c | 1 + drivers/nvdimm/core.c | 1

[PATCH RESEND] nvdimm: add missing MODULE_DESCRIPTION() macros

2024-05-26 Thread Jeff Johnson
t: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_e820.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/of_pmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_virtio.o Signed-off-by: Jeff Johnson --- drivers/nvdimm/btt.c | 1 + drivers/nvdimm/core.c | 1

[PATCH] testing: nvdimm: iomap: add MODULE_DESCRIPTION()

2024-05-26 Thread Jeff Johnson
Fix the 'make W=1' warning: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/../../tools/testing/nvdimm/test/iomap.o Signed-off-by: Jeff Johnson --- tools/testing/nvdimm/test/iomap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/nvdimm/test/iomap.

Re: [PATCH 09/12] remoteproc: qcom_wcnss: make use of QCOM_FW_HELPER

2024-05-22 Thread Jeff Johnson
On 5/21/2024 2:45 AM, Dmitry Baryshkov wrote: > Make the driver use qcom_fw_helper to autodetect the path to the > calibration data file. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/remoteproc/qcom_wcnss.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/remoteproc

[PATCH] kernel: trace: preemptirq_delay_test: add MODULE_DESCRIPTION()

2024-05-18 Thread Jeff Johnson
Fix the 'make W=1' warning: WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/trace/preemptirq_delay_test.o Signed-off-by: Jeff Johnson --- kernel/trace/preemptirq_delay_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/trace/preemptirq_delay_test.c b/ke

[PATCH] vringh: add MODULE_DESCRIPTION()

2024-05-16 Thread Jeff Johnson
Fix the allmodconfig 'make w=1' issue: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/vhost/vringh.o Signed-off-by: Jeff Johnson --- drivers/vhost/vringh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c index 7b

[PATCH] tracing: Fix trace_pid_list_free() kernel-doc

2024-05-06 Thread Jeff Johnson
make C=1 reports: kernel/trace/pid_list.c:458: warning: Function parameter or struct member 'pid_list' not described in 'trace_pid_list_free' Add the missing parameter to the trace_pid_list_free() kernel-doc. Signed-off-by: Jeff Johnson --- kernel/trace/pid_list.c | 1

Re: [net-next PATCH v3 3/3] net: phy: add support for PHY package MMD read/write

2023-12-05 Thread Jeff Johnson
On 12/5/2023 10:14 AM, Russell King (Oracle) wrote: > On Tue, Dec 05, 2023 at 09:44:05AM -0800, Jeff Johnson wrote: >> So in my experience a function prototype IS the function definition, and >> the actual function is just the implementation of that definition. >> >>

Re: [net-next PATCH v3 3/3] net: phy: add support for PHY package MMD read/write

2023-12-05 Thread Jeff Johnson
On 12/5/2023 8:11 AM, Russell King (Oracle) wrote: > On Tue, Dec 05, 2023 at 07:29:12AM -0800, Jakub Kicinski wrote: >> On Tue, 5 Dec 2023 15:10:50 + Russell King (Oracle) wrote: >>> I've raised this before in other subsystems, and it's suggested that >>> it's better to have it in the .c file.

[PATCH v2 2/2] kbuild: handle excessively long argument lists

2021-01-14 Thread Jeff Johnson
. The usage is well documented at https://www.gnu.org/software/make/manual/html_node/File-Function.html Signed-off-by: Mahesh Kumar Kalikot Veetil Signed-off-by: Jeff Johnson --- Changes in v2: - Remove spurious endif scripts/Makefile.build | 5 - 1 file changed, 4 insertions(+), 1 deletion

[PATCH 2/2] kbuild: handle excessively long argument lists

2021-01-12 Thread Jeff Johnson
. The usage is well documented at https://www.gnu.org/software/make/manual/html_node/File-Function.html Signed-off-by: Mahesh Kumar Kalikot Veetil Signed-off-by: Jeff Johnson --- scripts/Makefile.build | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/Makefile.build b

[PATCH 1/2] kbuild: simplify cmd_mod

2021-01-12 Thread Jeff Johnson
Mahesh Kumar Kalikot Veetil Signed-off-by: Jeff Johnson --- scripts/Makefile.build | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 4c058f1..252b7d2 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -2

Re: [PATCH v2] net: enable wireless core features with LEGACY_WEXT_ALLCONFIG

2019-09-09 Thread Jeff Johnson
On 2019-09-09 08:44, Johannes Berg wrote: Also, you probably know this, but in this particular case you really should just get rid of your wext dependencies This. Particularly for one out-of-tree driver with which I'm intimately familiar there has been considerable recent work to make all WEX

Re: [PATCH] wcn36xx: Add support for Factory Test Mode (FTM)

2018-05-17 Thread Jeff Johnson
On 2018-05-17 04:32, Ramon Fried wrote: From: Eyal Ilsar ... +int wcn36xx_smd_process_ptt_msg(struct wcn36xx *wcn, + struct ieee80211_vif *vif, void *ptt_msg, size_t len, + void **ptt_rsp_msg) +{ + struct wcn36xx_hal_process_ptt_msg_req_msg *p

Re: [PATCH] wcn36xx: Add support for Factory Test Mode (FTM)

2018-05-17 Thread Jeff Johnson
On 2018-05-17 04:32, Ramon Fried wrote: From: Eyal Ilsar ... +static int wcn36xx_smd_process_ptt_msg_rsp(void *buf, size_t len, + void **p_ptt_rsp_msg) +{ + struct wcn36xx_hal_process_ptt_msg_rsp_msg *rsp; + int ret = 0; why initialize 're

2.6 diskstats and 4096 sector block devices?

2016-05-13 Thread Jeff Johnson
128 which would point to diskstats handling everything in terms of 512B operations. To multiply by 8 or not to multiply by 8, that is the question.. :-) Thanks, --Jeff -- Jeff Johnson Co-Founder Aeon Computing jeff.johnson "dot" aeoncomputing.com www.aeo