* [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues
@ 2019-04-04 18:52 ` Nilesh Hase
0 siblings, 0 replies; 8+ messages in thread
From: Nilesh Hase @ 2019-04-04 18:52 UTC (permalink / raw)
To: matthias.bgg
Cc: gregkh, neil, sr, sankalpnegi2310, gch981213, devel,
linux-arm-kernel, linux-mediatek, linux-kernel, Nilesh Hase
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis"
Signed-off-by: Nilesh Hase <nilhase25@gmail.com>
---
drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
index b509f9fe3346..6fa9876f5a92 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -303,7 +303,7 @@ static int mt7621_spi_setup(struct spi_device *spi)
struct mt7621_spi *rs = spidev_to_mt7621_spi(spi);
if ((spi->max_speed_hz == 0) ||
- (spi->max_speed_hz > (rs->sys_freq / 2)))
+ (spi->max_speed_hz > (rs->sys_freq / 2)))
spi->max_speed_hz = (rs->sys_freq / 2);
if (spi->max_speed_hz < (rs->sys_freq / 4097)) {
--
2.20.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues
@ 2019-04-04 18:52 ` Nilesh Hase
0 siblings, 0 replies; 8+ messages in thread
From: Nilesh Hase @ 2019-04-04 18:52 UTC (permalink / raw)
To: matthias.bgg
Cc: devel, gregkh, Nilesh Hase, linux-kernel, linux-mediatek,
sankalpnegi2310, neil, sr, gch981213, linux-arm-kernel
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis"
Signed-off-by: Nilesh Hase <nilhase25@gmail.com>
---
drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
index b509f9fe3346..6fa9876f5a92 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -303,7 +303,7 @@ static int mt7621_spi_setup(struct spi_device *spi)
struct mt7621_spi *rs = spidev_to_mt7621_spi(spi);
if ((spi->max_speed_hz == 0) ||
- (spi->max_speed_hz > (rs->sys_freq / 2)))
+ (spi->max_speed_hz > (rs->sys_freq / 2)))
spi->max_speed_hz = (rs->sys_freq / 2);
if (spi->max_speed_hz < (rs->sys_freq / 4097)) {
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues
2019-04-04 18:52 ` Nilesh Hase
@ 2019-04-05 3:05 ` Chuanhong Guo
-1 siblings, 0 replies; 8+ messages in thread
From: Chuanhong Guo @ 2019-04-05 3:05 UTC (permalink / raw)
To: Nilesh Hase
Cc: Matthias Brugger, Greg Kroah-Hartman, NeilBrown, Stefan Roese,
sankalpnegi2310, devel, linux-arm-kernel, linux-mediatek,
open list
Hi!
On Fri, Apr 5, 2019 at 2:53 AM Nilesh Hase <nilhase25@gmail.com> wrote:
>
> Fix checkpatch issues: "CHECK: Alignment should match open parenthesis"
>
> Signed-off-by: Nilesh Hase <nilhase25@gmail.com>
> ---
> drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
> index b509f9fe3346..6fa9876f5a92 100644
> --- a/drivers/staging/mt7621-spi/spi-mt7621.c
> +++ b/drivers/staging/mt7621-spi/spi-mt7621.c
FYI This file doesn't exist now. The driver has been moved into
drivers/spi by this commit:
cbd66c626e16 spi: mt7621: Move SPI driver out of staging
It's in linux-next-20190329 and later tags.
> @@ -303,7 +303,7 @@ static int mt7621_spi_setup(struct spi_device *spi)
> struct mt7621_spi *rs = spidev_to_mt7621_spi(spi);
>
> if ((spi->max_speed_hz == 0) ||
> - (spi->max_speed_hz > (rs->sys_freq / 2)))
> + (spi->max_speed_hz > (rs->sys_freq / 2)))
> spi->max_speed_hz = (rs->sys_freq / 2);
>
> if (spi->max_speed_hz < (rs->sys_freq / 4097)) {
> --
> 2.20.1
>
Regards,
Chuanhong Guo
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues
@ 2019-04-05 3:05 ` Chuanhong Guo
0 siblings, 0 replies; 8+ messages in thread
From: Chuanhong Guo @ 2019-04-05 3:05 UTC (permalink / raw)
To: Nilesh Hase
Cc: devel, Greg Kroah-Hartman, open list, NeilBrown, linux-mediatek,
sankalpnegi2310, Matthias Brugger, Stefan Roese,
linux-arm-kernel
Hi!
On Fri, Apr 5, 2019 at 2:53 AM Nilesh Hase <nilhase25@gmail.com> wrote:
>
> Fix checkpatch issues: "CHECK: Alignment should match open parenthesis"
>
> Signed-off-by: Nilesh Hase <nilhase25@gmail.com>
> ---
> drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
> index b509f9fe3346..6fa9876f5a92 100644
> --- a/drivers/staging/mt7621-spi/spi-mt7621.c
> +++ b/drivers/staging/mt7621-spi/spi-mt7621.c
FYI This file doesn't exist now. The driver has been moved into
drivers/spi by this commit:
cbd66c626e16 spi: mt7621: Move SPI driver out of staging
It's in linux-next-20190329 and later tags.
> @@ -303,7 +303,7 @@ static int mt7621_spi_setup(struct spi_device *spi)
> struct mt7621_spi *rs = spidev_to_mt7621_spi(spi);
>
> if ((spi->max_speed_hz == 0) ||
> - (spi->max_speed_hz > (rs->sys_freq / 2)))
> + (spi->max_speed_hz > (rs->sys_freq / 2)))
> spi->max_speed_hz = (rs->sys_freq / 2);
>
> if (spi->max_speed_hz < (rs->sys_freq / 4097)) {
> --
> 2.20.1
>
Regards,
Chuanhong Guo
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues
2019-04-03 19:31 ` Nilesh Hase
@ 2019-04-04 16:19 ` Greg KH
-1 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2019-04-04 16:19 UTC (permalink / raw)
To: Nilesh Hase
Cc: matthias.bgg, devel, linux-kernel, linux-mediatek,
sankalpnegi2310, neil, sr, linux-arm-kernel
On Thu, Apr 04, 2019 at 01:01:07AM +0530, Nilesh Hase wrote:
> Signed-off-by: Nilesh Hase <nilhase25@gmail.com>
> ---
> drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I can't take patches without any changelog content, sorry.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues
@ 2019-04-04 16:19 ` Greg KH
0 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2019-04-04 16:19 UTC (permalink / raw)
To: Nilesh Hase
Cc: devel, sankalpnegi2310, linux-kernel, neil, linux-mediatek,
matthias.bgg, sr, linux-arm-kernel
On Thu, Apr 04, 2019 at 01:01:07AM +0530, Nilesh Hase wrote:
> Signed-off-by: Nilesh Hase <nilhase25@gmail.com>
> ---
> drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I can't take patches without any changelog content, sorry.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues
@ 2019-04-03 19:31 ` Nilesh Hase
0 siblings, 0 replies; 8+ messages in thread
From: Nilesh Hase @ 2019-04-03 19:31 UTC (permalink / raw)
To: matthias.bgg
Cc: gregkh, neil, sr, sankalpnegi2310, gch981213, devel,
linux-arm-kernel, linux-mediatek, linux-kernel, Nilesh Hase
Signed-off-by: Nilesh Hase <nilhase25@gmail.com>
---
drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
index b509f9fe3346..6fa9876f5a92 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -303,7 +303,7 @@ static int mt7621_spi_setup(struct spi_device *spi)
struct mt7621_spi *rs = spidev_to_mt7621_spi(spi);
if ((spi->max_speed_hz == 0) ||
- (spi->max_speed_hz > (rs->sys_freq / 2)))
+ (spi->max_speed_hz > (rs->sys_freq / 2)))
spi->max_speed_hz = (rs->sys_freq / 2);
if (spi->max_speed_hz < (rs->sys_freq / 4097)) {
--
2.20.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues
@ 2019-04-03 19:31 ` Nilesh Hase
0 siblings, 0 replies; 8+ messages in thread
From: Nilesh Hase @ 2019-04-03 19:31 UTC (permalink / raw)
To: matthias.bgg
Cc: devel, gregkh, Nilesh Hase, linux-kernel, linux-mediatek,
sankalpnegi2310, neil, sr, gch981213, linux-arm-kernel
Signed-off-by: Nilesh Hase <nilhase25@gmail.com>
---
drivers/staging/mt7621-spi/spi-mt7621.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
index b509f9fe3346..6fa9876f5a92 100644
--- a/drivers/staging/mt7621-spi/spi-mt7621.c
+++ b/drivers/staging/mt7621-spi/spi-mt7621.c
@@ -303,7 +303,7 @@ static int mt7621_spi_setup(struct spi_device *spi)
struct mt7621_spi *rs = spidev_to_mt7621_spi(spi);
if ((spi->max_speed_hz == 0) ||
- (spi->max_speed_hz > (rs->sys_freq / 2)))
+ (spi->max_speed_hz > (rs->sys_freq / 2)))
spi->max_speed_hz = (rs->sys_freq / 2);
if (spi->max_speed_hz < (rs->sys_freq / 4097)) {
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-04-05 3:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04 18:52 [PATCH] MT7621-SPI: spi-mt7621: Fix alignment and style problems Fixed Coding function and style issues Nilesh Hase
2019-04-04 18:52 ` Nilesh Hase
2019-04-05 3:05 ` Chuanhong Guo
2019-04-05 3:05 ` Chuanhong Guo
-- strict thread matches above, loose matches on Subject: below --
2019-04-03 19:31 Nilesh Hase
2019-04-03 19:31 ` Nilesh Hase
2019-04-04 16:19 ` Greg KH
2019-04-04 16:19 ` Greg KH
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.