* [PATCH -next] staging: nvec: minor coding style fix
@ 2021-02-12 7:34 ` Fatih Yildirim
0 siblings, 0 replies; 6+ messages in thread
From: Fatih Yildirim @ 2021-02-12 7:34 UTC (permalink / raw)
To: marvin24, gregkh
Cc: Fatih Yildirim, ac100, linux-tegra, devel, linux-kernel,
linux-kernel-mentees
Fix for the below coding style warning.
Warning: Move const after static - use 'static const int'
Signed-off-by: Fatih Yildirim <yildirim.fatih@gmail.com>
---
drivers/staging/nvec/nvec_power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec_power.c
index 0e861c4bfcbf..b1ef196e1cfe 100644
--- a/drivers/staging/nvec/nvec_power.c
+++ b/drivers/staging/nvec/nvec_power.c
@@ -338,7 +338,7 @@ static const struct power_supply_desc nvec_psy_desc = {
};
static int counter;
-static int const bat_iter[] = {
+static const int bat_iter[] = {
SLOT_STATUS, VOLTAGE, CURRENT, CAPACITY_REMAINING,
#ifdef EC_FULL_DIAG
AVERAGE_CURRENT, TEMPERATURE, TIME_REMAINING,
--
2.20.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH -next] staging: nvec: minor coding style fix
@ 2021-02-12 7:34 ` Fatih Yildirim
0 siblings, 0 replies; 6+ messages in thread
From: Fatih Yildirim @ 2021-02-12 7:34 UTC (permalink / raw)
To: marvin24, gregkh
Cc: devel, linux-kernel, Fatih Yildirim, linux-tegra,
linux-kernel-mentees, ac100
Fix for the below coding style warning.
Warning: Move const after static - use 'static const int'
Signed-off-by: Fatih Yildirim <yildirim.fatih@gmail.com>
---
drivers/staging/nvec/nvec_power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec_power.c
index 0e861c4bfcbf..b1ef196e1cfe 100644
--- a/drivers/staging/nvec/nvec_power.c
+++ b/drivers/staging/nvec/nvec_power.c
@@ -338,7 +338,7 @@ static const struct power_supply_desc nvec_psy_desc = {
};
static int counter;
-static int const bat_iter[] = {
+static const int bat_iter[] = {
SLOT_STATUS, VOLTAGE, CURRENT, CAPACITY_REMAINING,
#ifdef EC_FULL_DIAG
AVERAGE_CURRENT, TEMPERATURE, TIME_REMAINING,
--
2.20.1
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Linux-kernel-mentees] [PATCH -next] staging: nvec: minor coding style fix
@ 2021-02-12 7:34 ` Fatih Yildirim
0 siblings, 0 replies; 6+ messages in thread
From: Fatih Yildirim @ 2021-02-12 7:34 UTC (permalink / raw)
To: marvin24, gregkh
Cc: devel, linux-kernel, linux-tegra, linux-kernel-mentees, ac100
Fix for the below coding style warning.
Warning: Move const after static - use 'static const int'
Signed-off-by: Fatih Yildirim <yildirim.fatih@gmail.com>
---
drivers/staging/nvec/nvec_power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging/nvec/nvec_power.c
index 0e861c4bfcbf..b1ef196e1cfe 100644
--- a/drivers/staging/nvec/nvec_power.c
+++ b/drivers/staging/nvec/nvec_power.c
@@ -338,7 +338,7 @@ static const struct power_supply_desc nvec_psy_desc = {
};
static int counter;
-static int const bat_iter[] = {
+static const int bat_iter[] = {
SLOT_STATUS, VOLTAGE, CURRENT, CAPACITY_REMAINING,
#ifdef EC_FULL_DIAG
AVERAGE_CURRENT, TEMPERATURE, TIME_REMAINING,
--
2.20.1
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH -next] staging: nvec: minor coding style fix
2021-02-12 7:34 ` Fatih Yildirim
(?)
@ 2021-02-15 10:25 ` Thierry Reding
-1 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2021-02-15 10:25 UTC (permalink / raw)
To: Fatih Yildirim
Cc: marvin24, gregkh, ac100, linux-tegra, devel, linux-kernel,
linux-kernel-mentees
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
On Fri, Feb 12, 2021 at 10:34:23AM +0300, Fatih Yildirim wrote:
> Fix for the below coding style warning.
> Warning: Move const after static - use 'static const int'
>
> Signed-off-by: Fatih Yildirim <yildirim.fatih@gmail.com>
> ---
> drivers/staging/nvec/nvec_power.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH -next] staging: nvec: minor coding style fix
@ 2021-02-15 10:25 ` Thierry Reding
0 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2021-02-15 10:25 UTC (permalink / raw)
To: Fatih Yildirim
Cc: devel, gregkh, linux-kernel, marvin24, linux-tegra,
linux-kernel-mentees, ac100
[-- Attachment #1.1: Type: text/plain, Size: 384 bytes --]
On Fri, Feb 12, 2021 at 10:34:23AM +0300, Fatih Yildirim wrote:
> Fix for the below coding style warning.
> Warning: Move const after static - use 'static const int'
>
> Signed-off-by: Fatih Yildirim <yildirim.fatih@gmail.com>
> ---
> drivers/staging/nvec/nvec_power.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 169 bytes --]
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Linux-kernel-mentees] [PATCH -next] staging: nvec: minor coding style fix
@ 2021-02-15 10:25 ` Thierry Reding
0 siblings, 0 replies; 6+ messages in thread
From: Thierry Reding @ 2021-02-15 10:25 UTC (permalink / raw)
To: Fatih Yildirim
Cc: devel, linux-kernel, marvin24, linux-tegra, linux-kernel-mentees, ac100
[-- Attachment #1.1: Type: text/plain, Size: 384 bytes --]
On Fri, Feb 12, 2021 at 10:34:23AM +0300, Fatih Yildirim wrote:
> Fix for the below coding style warning.
> Warning: Move const after static - use 'static const int'
>
> Signed-off-by: Fatih Yildirim <yildirim.fatih@gmail.com>
> ---
> drivers/staging/nvec/nvec_power.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-02-15 10:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 7:34 [PATCH -next] staging: nvec: minor coding style fix Fatih Yildirim
2021-02-12 7:34 ` [Linux-kernel-mentees] " Fatih Yildirim
2021-02-12 7:34 ` Fatih Yildirim
2021-02-15 10:25 ` Thierry Reding
2021-02-15 10:25 ` [Linux-kernel-mentees] " Thierry Reding
2021-02-15 10:25 ` Thierry Reding
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.