* [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case
@ 2025-04-05 10:13 Richard Akintola
2025-04-05 11:05 ` Greg KH
0 siblings, 1 reply; 7+ messages in thread
From: Richard Akintola @ 2025-04-05 10:13 UTC (permalink / raw)
To: sudipm.mukherjee, teddy.wang, gregkh, linux-fbdev, linux-staging,
linux-kernel, outreachy
Cc: julia.lawall, princerichard17a
Change camelCase function name sii164GetDeviceID to sii164_get_device_id
to conform to kernel code styles as reported by checkpatch.pl
CHECK: Avoid camelCase: <sii164GetDeviceID>
Signed-off-by: Richard Akintola <princerichard17a@gmail.com>
---
drivers/staging/sm750fb/ddk750_dvi.c | 2 +-
drivers/staging/sm750fb/ddk750_sii164.c | 6 +++---
drivers/staging/sm750fb/ddk750_sii164.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c
index 8b81e8642f9e..3fb14eff2de1 100644
--- a/drivers/staging/sm750fb/ddk750_dvi.c
+++ b/drivers/staging/sm750fb/ddk750_dvi.c
@@ -16,7 +16,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = {
{
.init = sii164_init_chip,
.get_vendor_id = sii164_get_vendor_id,
- .get_device_id = sii164GetDeviceID,
+ .get_device_id = sii164_get_device_id,
#ifdef SII164_FULL_FUNCTIONS
.reset_chip = sii164ResetChip,
.get_chip_string = sii164GetChipString,
diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c
index 2532b60245ac..223c181dc649 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.c
+++ b/drivers/staging/sm750fb/ddk750_sii164.c
@@ -48,13 +48,13 @@ unsigned short sii164_get_vendor_id(void)
}
/*
- * sii164GetDeviceID
+ * sii164_get_device_id
* This function gets the device ID of the DVI controller chip.
*
* Output:
* Device ID
*/
-unsigned short sii164GetDeviceID(void)
+unsigned short sii164_get_device_id(void)
{
unsigned short deviceID;
@@ -141,7 +141,7 @@ long sii164_init_chip(unsigned char edge_select,
/* Check if SII164 Chip exists */
if ((sii164_get_vendor_id() == SII164_VENDOR_ID) &&
- (sii164GetDeviceID() == SII164_DEVICE_ID)) {
+ (sii164_get_device_id() == SII164_DEVICE_ID)) {
/*
* Initialize SII164 controller chip.
*/
diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h
index 71a7c1cb42c4..a76091f6622b 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.h
+++ b/drivers/staging/sm750fb/ddk750_sii164.h
@@ -28,7 +28,7 @@ long sii164_init_chip(unsigned char edgeSelect,
unsigned char pllFilterValue);
unsigned short sii164_get_vendor_id(void);
-unsigned short sii164GetDeviceID(void);
+unsigned short sii164_get_device_id(void);
#ifdef SII164_FULL_FUNCTIONS
void sii164ResetChip(void);
--
2.39.5
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case
2025-04-05 10:13 [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case Richard Akintola
@ 2025-04-05 11:05 ` Greg KH
0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2025-04-05 11:05 UTC (permalink / raw)
To: Richard Akintola
Cc: sudipm.mukherjee, teddy.wang, linux-fbdev, linux-staging,
linux-kernel, outreachy, julia.lawall
On Sat, Apr 05, 2025 at 11:13:58AM +0100, Richard Akintola wrote:
> Change camelCase function name sii164GetDeviceID to sii164_get_device_id
> to conform to kernel code styles as reported by checkpatch.pl
>
> CHECK: Avoid camelCase: <sii164GetDeviceID>
>
> Signed-off-by: Richard Akintola <princerichard17a@gmail.com>
> ---
> drivers/staging/sm750fb/ddk750_dvi.c | 2 +-
> drivers/staging/sm750fb/ddk750_sii164.c | 6 +++---
> drivers/staging/sm750fb/ddk750_sii164.h | 2 +-
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c
> index 8b81e8642f9e..3fb14eff2de1 100644
> --- a/drivers/staging/sm750fb/ddk750_dvi.c
> +++ b/drivers/staging/sm750fb/ddk750_dvi.c
> @@ -16,7 +16,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = {
> {
> .init = sii164_init_chip,
> .get_vendor_id = sii164_get_vendor_id,
> - .get_device_id = sii164GetDeviceID,
> + .get_device_id = sii164_get_device_id,
> #ifdef SII164_FULL_FUNCTIONS
> .reset_chip = sii164ResetChip,
> .get_chip_string = sii164GetChipString,
> diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c
> index 2532b60245ac..223c181dc649 100644
> --- a/drivers/staging/sm750fb/ddk750_sii164.c
> +++ b/drivers/staging/sm750fb/ddk750_sii164.c
> @@ -48,13 +48,13 @@ unsigned short sii164_get_vendor_id(void)
> }
>
> /*
> - * sii164GetDeviceID
> + * sii164_get_device_id
> * This function gets the device ID of the DVI controller chip.
> *
> * Output:
> * Device ID
> */
> -unsigned short sii164GetDeviceID(void)
> +unsigned short sii164_get_device_id(void)
> {
> unsigned short deviceID;
>
> @@ -141,7 +141,7 @@ long sii164_init_chip(unsigned char edge_select,
>
> /* Check if SII164 Chip exists */
> if ((sii164_get_vendor_id() == SII164_VENDOR_ID) &&
> - (sii164GetDeviceID() == SII164_DEVICE_ID)) {
> + (sii164_get_device_id() == SII164_DEVICE_ID)) {
> /*
> * Initialize SII164 controller chip.
> */
> diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h
> index 71a7c1cb42c4..a76091f6622b 100644
> --- a/drivers/staging/sm750fb/ddk750_sii164.h
> +++ b/drivers/staging/sm750fb/ddk750_sii164.h
> @@ -28,7 +28,7 @@ long sii164_init_chip(unsigned char edgeSelect,
> unsigned char pllFilterValue);
>
> unsigned short sii164_get_vendor_id(void);
> -unsigned short sii164GetDeviceID(void);
> +unsigned short sii164_get_device_id(void);
>
> #ifdef SII164_FULL_FUNCTIONS
> void sii164ResetChip(void);
> --
> 2.39.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:
- 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] 7+ messages in thread
* [PATCH 0/8] staging: sm750fb: change function naming style
@ 2025-04-05 13:00 Richard Akintola
2025-04-05 13:00 ` [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case Richard Akintola
0 siblings, 1 reply; 7+ messages in thread
From: Richard Akintola @ 2025-04-05 13:00 UTC (permalink / raw)
To: outreachy
Cc: sudipm.mukherjee, teddy.wang, gregkh, linux-fbdev, linux-staging,
linux-kernel, Richard Akintola
Address checkpatch's "Avoid camelCase" for sm750fb module by changing
function name to conform to kernel code style.
The patches are required to be applied in sequence.
Richard Akintola (8):
staging: sm750fb: change sii164GetDeviceID to snake_case
staging: sm750fb: change sii164ResetChip to snake_case
staging: sm750fb: change sii164SetPower to snake_case
staging: sm750fb: change sii164GetChipString to snake_case
staging: sm750fb: change sii164EnableHotPlugDetection to snake_case
staging: sm750fb: change sii164IsConnected to snake_case
staging: sm750fb: change sii164CheckInterrupt to snake_case
staging: sm750fb: change sii164ClearInterrupt to snake_case
drivers/staging/sm750fb/ddk750_dvi.c | 16 +++++-----
drivers/staging/sm750fb/ddk750_sii164.c | 42 ++++++++++++-------------
drivers/staging/sm750fb/ddk750_sii164.h | 16 +++++-----
3 files changed, 37 insertions(+), 37 deletions(-)
--
2.39.5
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case
2025-04-05 13:00 [PATCH 0/8] staging: sm750fb: change function naming style Richard Akintola
@ 2025-04-05 13:00 ` Richard Akintola
0 siblings, 0 replies; 7+ messages in thread
From: Richard Akintola @ 2025-04-05 13:00 UTC (permalink / raw)
To: outreachy
Cc: sudipm.mukherjee, teddy.wang, gregkh, linux-fbdev, linux-staging,
linux-kernel, Richard Akintola
Change camelCase function name sii164GetDeviceID to sii164_get_device_id
to conform to kernel code styles as reported by checkpatch.pl
CHECK: Avoid camelCase: <sii164GetDeviceID>
Signed-off-by: Richard Akintola <princerichard17a@gmail.com>
---
drivers/staging/sm750fb/ddk750_dvi.c | 2 +-
drivers/staging/sm750fb/ddk750_sii164.c | 6 +++---
drivers/staging/sm750fb/ddk750_sii164.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c
index 8b81e8642f9e..3fb14eff2de1 100644
--- a/drivers/staging/sm750fb/ddk750_dvi.c
+++ b/drivers/staging/sm750fb/ddk750_dvi.c
@@ -16,7 +16,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = {
{
.init = sii164_init_chip,
.get_vendor_id = sii164_get_vendor_id,
- .get_device_id = sii164GetDeviceID,
+ .get_device_id = sii164_get_device_id,
#ifdef SII164_FULL_FUNCTIONS
.reset_chip = sii164ResetChip,
.get_chip_string = sii164GetChipString,
diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c
index 2532b60245ac..223c181dc649 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.c
+++ b/drivers/staging/sm750fb/ddk750_sii164.c
@@ -48,13 +48,13 @@ unsigned short sii164_get_vendor_id(void)
}
/*
- * sii164GetDeviceID
+ * sii164_get_device_id
* This function gets the device ID of the DVI controller chip.
*
* Output:
* Device ID
*/
-unsigned short sii164GetDeviceID(void)
+unsigned short sii164_get_device_id(void)
{
unsigned short deviceID;
@@ -141,7 +141,7 @@ long sii164_init_chip(unsigned char edge_select,
/* Check if SII164 Chip exists */
if ((sii164_get_vendor_id() == SII164_VENDOR_ID) &&
- (sii164GetDeviceID() == SII164_DEVICE_ID)) {
+ (sii164_get_device_id() == SII164_DEVICE_ID)) {
/*
* Initialize SII164 controller chip.
*/
diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h
index 71a7c1cb42c4..a76091f6622b 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.h
+++ b/drivers/staging/sm750fb/ddk750_sii164.h
@@ -28,7 +28,7 @@ long sii164_init_chip(unsigned char edgeSelect,
unsigned char pllFilterValue);
unsigned short sii164_get_vendor_id(void);
-unsigned short sii164GetDeviceID(void);
+unsigned short sii164_get_device_id(void);
#ifdef SII164_FULL_FUNCTIONS
void sii164ResetChip(void);
--
2.39.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case
@ 2025-04-05 9:38 Richard Akintola
2025-04-05 10:08 ` Richard Akintola
0 siblings, 1 reply; 7+ messages in thread
From: Richard Akintola @ 2025-04-05 9:38 UTC (permalink / raw)
To: sudipm.mukherjee, gregkh, linux-fbdev, linux-staging,
linux-kernel
Change camelCase function name sii164GetDeviceID to sii164_reset_chip
to conform to kernel code styles as reported by checkpatch.pl
CHECK: Avoid camelCase: <sii164GetDeviceID>
Signed-off-by: Richard Akintola <princerichard17a@gmail.com>
---
drivers/staging/sm750fb/ddk750_dvi.c | 2 +-
drivers/staging/sm750fb/ddk750_sii164.c | 6 +++---
drivers/staging/sm750fb/ddk750_sii164.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/sm750fb/ddk750_dvi.c b/drivers/staging/sm750fb/ddk750_dvi.c
index 8b81e8642f9e..3fb14eff2de1 100644
--- a/drivers/staging/sm750fb/ddk750_dvi.c
+++ b/drivers/staging/sm750fb/ddk750_dvi.c
@@ -16,7 +16,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = {
{
.init = sii164_init_chip,
.get_vendor_id = sii164_get_vendor_id,
- .get_device_id = sii164GetDeviceID,
+ .get_device_id = sii164_get_device_id,
#ifdef SII164_FULL_FUNCTIONS
.reset_chip = sii164ResetChip,
.get_chip_string = sii164GetChipString,
diff --git a/drivers/staging/sm750fb/ddk750_sii164.c b/drivers/staging/sm750fb/ddk750_sii164.c
index 2532b60245ac..223c181dc649 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.c
+++ b/drivers/staging/sm750fb/ddk750_sii164.c
@@ -48,13 +48,13 @@ unsigned short sii164_get_vendor_id(void)
}
/*
- * sii164GetDeviceID
+ * sii164_get_device_id
* This function gets the device ID of the DVI controller chip.
*
* Output:
* Device ID
*/
-unsigned short sii164GetDeviceID(void)
+unsigned short sii164_get_device_id(void)
{
unsigned short deviceID;
@@ -141,7 +141,7 @@ long sii164_init_chip(unsigned char edge_select,
/* Check if SII164 Chip exists */
if ((sii164_get_vendor_id() == SII164_VENDOR_ID) &&
- (sii164GetDeviceID() == SII164_DEVICE_ID)) {
+ (sii164_get_device_id() == SII164_DEVICE_ID)) {
/*
* Initialize SII164 controller chip.
*/
diff --git a/drivers/staging/sm750fb/ddk750_sii164.h b/drivers/staging/sm750fb/ddk750_sii164.h
index 71a7c1cb42c4..a76091f6622b 100644
--- a/drivers/staging/sm750fb/ddk750_sii164.h
+++ b/drivers/staging/sm750fb/ddk750_sii164.h
@@ -28,7 +28,7 @@ long sii164_init_chip(unsigned char edgeSelect,
unsigned char pllFilterValue);
unsigned short sii164_get_vendor_id(void);
-unsigned short sii164GetDeviceID(void);
+unsigned short sii164_get_device_id(void);
#ifdef SII164_FULL_FUNCTIONS
void sii164ResetChip(void);
--
2.39.5
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case
2025-04-05 9:38 Richard Akintola
@ 2025-04-05 10:08 ` Richard Akintola
2025-04-05 11:04 ` Greg KH
0 siblings, 1 reply; 7+ messages in thread
From: Richard Akintola @ 2025-04-05 10:08 UTC (permalink / raw)
To: sudipm.mukherjee, gregkh, linux-fbdev, linux-staging,
linux-kernel
On Sat, Apr 5, 2025 at 10:38 AM Richard Akintola
<princerichard17a@gmail.com> wrote:
>
> Change camelCase function name sii164GetDeviceID to sii164_reset_chip
Just noticed a typo here, would send another that has the correct
commit message.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case
2025-04-05 10:08 ` Richard Akintola
@ 2025-04-05 11:04 ` Greg KH
2025-04-05 11:42 ` Richard Akintola
0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2025-04-05 11:04 UTC (permalink / raw)
To: Richard Akintola
Cc: sudipm.mukherjee, linux-fbdev, linux-staging, linux-kernel
On Sat, Apr 05, 2025 at 11:08:53AM +0100, Richard Akintola wrote:
> On Sat, Apr 5, 2025 at 10:38 AM Richard Akintola
> <princerichard17a@gmail.com> wrote:
> >
> > Change camelCase function name sii164GetDeviceID to sii164_reset_chip
>
> Just noticed a typo here, would send another that has the correct
> commit message.
>
All of these need to be linked together, you are sending them
individually. Please use a tool like 'git send-email' that does this
automatically for you, because as-is, I can't take these, sorry.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case
2025-04-05 11:04 ` Greg KH
@ 2025-04-05 11:42 ` Richard Akintola
0 siblings, 0 replies; 7+ messages in thread
From: Richard Akintola @ 2025-04-05 11:42 UTC (permalink / raw)
To: Greg KH; +Cc: sudipm.mukherjee, linux-fbdev, linux-staging, linux-kernel
On Sat, Apr 5, 2025 at 12:06 PM Greg KH <gregkh@linuxfoundation.org> wrote:
> All of these need to be linked together, you are sending them
> individually. Please use a tool like 'git send-email' that does this
> automatically for you, because as-is, I can't take these, sorry.
Noted, would do just that.
Thanks.
Richard Akintola
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-04-05 13:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-05 10:13 [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case Richard Akintola
2025-04-05 11:05 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2025-04-05 13:00 [PATCH 0/8] staging: sm750fb: change function naming style Richard Akintola
2025-04-05 13:00 ` [PATCH 1/8] staging: sm750fb: change sii164GetDeviceID to snake_case Richard Akintola
2025-04-05 9:38 Richard Akintola
2025-04-05 10:08 ` Richard Akintola
2025-04-05 11:04 ` Greg KH
2025-04-05 11:42 ` Richard Akintola
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).