mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable
@ 2024-08-27 12:07 Xianting Tian
  2024-08-27 12:20 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Xianting Tian @ 2024-08-27 12:07 UTC (permalink / raw)
  To: kees, arnd, gregkh; +Cc: linux-kernel, tianxianting.txt, Xianting Tian

Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
---
 drivers/misc/lkdtm/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/lkdtm/core.c b/drivers/misc/lkdtm/core.c
index 5732fd59a227..b32b18f498ea 100644
--- a/drivers/misc/lkdtm/core.c
+++ b/drivers/misc/lkdtm/core.c
@@ -223,6 +223,7 @@ static int lkdtm_kprobe_handler(struct kprobe *kp, struct pt_regs *regs)
 
 	return 0;
 }
+NOKPROBE_SYMBOL(lkdtm_kprobe_handler);
 
 static ssize_t lkdtm_debugfs_entry(struct file *f,
 				   const char __user *user_buf,
-- 
2.43.5


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

* Re: [PATCH v2] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable
  2024-08-27 12:07 [PATCH v2] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable Xianting Tian
@ 2024-08-27 12:20 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-08-27 12:20 UTC (permalink / raw)
  To: Xianting Tian; +Cc: kees, arnd, linux-kernel, tianxianting.txt

On Tue, Aug 27, 2024 at 08:07:36PM +0800, Xianting Tian wrote:
> Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
> ---
>  drivers/misc/lkdtm/core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/misc/lkdtm/core.c b/drivers/misc/lkdtm/core.c
> index 5732fd59a227..b32b18f498ea 100644
> --- a/drivers/misc/lkdtm/core.c
> +++ b/drivers/misc/lkdtm/core.c
> @@ -223,6 +223,7 @@ static int lkdtm_kprobe_handler(struct kprobe *kp, struct pt_regs *regs)
>  
>  	return 0;
>  }
> +NOKPROBE_SYMBOL(lkdtm_kprobe_handler);
>  
>  static ssize_t lkdtm_debugfs_entry(struct file *f,
>  				   const char __user *user_buf,
> -- 
> 2.43.5
> 

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- Your patch contains warnings and/or errors noticed by the
  scripts/checkpatch.pl tool.

- You did not specify a description of why the patch is needed, or
  possibly, any description at all, in the email body.  Please read the
  section entitled "The canonical patch format" in the kernel file,
  Documentation/process/submitting-patches.rst for what is needed in
  order to properly describe the change.

- This looks like a new version of a previously submitted patch, but you
  did not list below the --- line any changes from the previous version.
  Please read the section entitled "The canonical patch format" in the
  kernel file, Documentation/process/submitting-patches.rst for what
  needs to be done here to properly describe this.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot

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

end of thread, other threads:[~2024-08-27 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-27 12:07 [PATCH v2] lkdtm: mark lkdtm_kprobe_handler for kprobe unavailable Xianting Tian
2024-08-27 12:20 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®