* [PATCH] staging: gpib: pc2: convert // comments to /* */ style
@ 2025-10-14 18:17 fokaz-c
2025-10-14 18:55 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: fokaz-c @ 2025-10-14 18:17 UTC (permalink / raw)
To: dpenkler; +Cc: gregkh, linux-staging, linux-kernel, fokaz-c
Signed-off-by: fokaz-c <fokazmchakma4427@gmail.com>
---
drivers/staging/gpib/pc2/pc2_gpib.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/gpib/pc2/pc2_gpib.c b/drivers/staging/gpib/pc2/pc2_gpib.c
index 9f3943d1d..a9715b3e3 100644
--- a/drivers/staging/gpib/pc2/pc2_gpib.c
+++ b/drivers/staging/gpib/pc2/pc2_gpib.c
@@ -19,30 +19,30 @@
#include "nec7210.h"
#include "gpibP.h"
-// struct which defines private_data for pc2 driver
+/* struct which defines private_data for pc2 driver */
struct pc2_priv {
struct nec7210_priv nec7210_priv;
unsigned int irq;
- // io address that clears interrupt for pc2a (0x2f0 + irq)
+ /* io address that clears interrupt for pc2a (0x2f0 + irq) */
unsigned int clear_intr_addr;
};
-// pc2 uses 8 consecutive io addresses
+/* pc2 uses 8 consecutive io addresses */
static const int pc2_iosize = 8;
static const int pc2a_iosize = 8;
static const int pc2_2a_iosize = 16;
-// offset between io addresses of successive nec7210 registers
+/* offset between io addresses of successive nec7210 registers */
static const int pc2a_reg_offset = 0x400;
static const int pc2_reg_offset = 1;
-// interrupt service routine
+/* interrupt service routine */
static irqreturn_t pc2_interrupt(int irq, void *arg);
static irqreturn_t pc2a_interrupt(int irq, void *arg);
-// pc2 specific registers and bits
+/* pc2 specific registers and bits */
-// interrupt clear register address
+/* interrupt clear register address*/
static const int pc2a_clear_intr_iobase = 0x2f0;
static inline unsigned int CLEAR_INTR_REG(unsigned int irq)
{
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] staging: gpib: pc2: convert // comments to /* */ style
2025-10-14 18:17 [PATCH] staging: gpib: pc2: convert // comments to /* */ style fokaz-c
@ 2025-10-14 18:55 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2025-10-14 18:55 UTC (permalink / raw)
To: fokaz-c; +Cc: dpenkler, linux-staging, linux-kernel
On Tue, Oct 14, 2025 at 11:47:45PM +0530, fokaz-c wrote:
> Signed-off-by: fokaz-c <fokazmchakma4427@gmail.com>
> ---
> drivers/staging/gpib/pc2/pc2_gpib.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
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:
- 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.
- It looks like you did not use your "real" name for the patch on either
the Signed-off-by: line, or the From: line (both of which have to
match). Please read the kernel file,
Documentation/process/submitting-patches.rst for how to do this
correctly.
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:[~2025-10-14 18:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-14 18:17 [PATCH] staging: gpib: pc2: convert // comments to /* */ style fokaz-c
2025-10-14 18:55 ` Greg KH
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).