linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video: fix inconsistent indentation warning
@ 2024-10-06  7:15 SurajSonawane2415
  2024-10-14 20:32 ` Helge Deller
  0 siblings, 1 reply; 3+ messages in thread
From: SurajSonawane2415 @ 2024-10-06  7:15 UTC (permalink / raw)
  To: adaplas, deller; +Cc: linux-fbdev, dri-devel, linux-kernel, SurajSonawane2415

Fix the indentation to ensure consistent code style and improve
readability, and to fix this warning:
drivers/video/fbdev/nvidia/nv_hw.c:1512 NVLoadStateExt() warn:
inconsistent indenting

Signed-off-by: SurajSonawane2415 <surajsonawane0215@gmail.com>
---
 drivers/video/fbdev/nvidia/nv_hw.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/video/fbdev/nvidia/nv_hw.c b/drivers/video/fbdev/nvidia/nv_hw.c
index 9b0a324bb..75afaa07e 100644
--- a/drivers/video/fbdev/nvidia/nv_hw.c
+++ b/drivers/video/fbdev/nvidia/nv_hw.c
@@ -1509,10 +1509,10 @@ void NVLoadStateExt(struct nvidia_par *par, RIVA_HW_STATE * state)
 	NV_WR32(par->PFIFO, 0x0495 * 4, 0x00000001);
 	NV_WR32(par->PFIFO, 0x0140 * 4, 0x00000001);
 
-    if (!state) {
-	    par->CurrentState = NULL;
-	    return;
-    }
+	if (!state) {
+		par->CurrentState = NULL;
+		return;
+	}
 
 	if (par->Architecture >= NV_ARCH_10) {
 		if (par->twoHeads) {
-- 
2.34.1


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

* Re: [PATCH] video: fix inconsistent indentation warning
  2024-10-06  7:15 [PATCH] video: fix inconsistent indentation warning SurajSonawane2415
@ 2024-10-14 20:32 ` Helge Deller
  2024-10-16  4:04   ` Suraj Sonawane
  0 siblings, 1 reply; 3+ messages in thread
From: Helge Deller @ 2024-10-14 20:32 UTC (permalink / raw)
  To: SurajSonawane2415, adaplas; +Cc: linux-fbdev, dri-devel, linux-kernel

On 10/6/24 09:15, SurajSonawane2415 wrote:
> Fix the indentation to ensure consistent code style and improve
> readability, and to fix this warning:
> drivers/video/fbdev/nvidia/nv_hw.c:1512 NVLoadStateExt() warn:
> inconsistent indenting
>
> Signed-off-by: SurajSonawane2415 <surajsonawane0215@gmail.com>
> ---
>   drivers/video/fbdev/nvidia/nv_hw.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)

applied.

Thanks!
Helge


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

* Re: [PATCH] video: fix inconsistent indentation warning
  2024-10-14 20:32 ` Helge Deller
@ 2024-10-16  4:04   ` Suraj Sonawane
  0 siblings, 0 replies; 3+ messages in thread
From: Suraj Sonawane @ 2024-10-16  4:04 UTC (permalink / raw)
  To: Helge Deller, adaplas; +Cc: linux-fbdev, dri-devel, linux-kernel

On 15/10/24 02:02, Helge Deller wrote:
> On 10/6/24 09:15, SurajSonawane2415 wrote:
>> Fix the indentation to ensure consistent code style and improve
>> readability, and to fix this warning:
>> drivers/video/fbdev/nvidia/nv_hw.c:1512 NVLoadStateExt() warn:
>> inconsistent indenting
>>
>> Signed-off-by: SurajSonawane2415 <surajsonawane0215@gmail.com>
>> ---
>>   drivers/video/fbdev/nvidia/nv_hw.c | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> applied.
> 
> Thanks!
> Helge
Thank you for applying the patch!

Best regards,
Suraj Sonawane

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

end of thread, other threads:[~2024-10-16  4:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-06  7:15 [PATCH] video: fix inconsistent indentation warning SurajSonawane2415
2024-10-14 20:32 ` Helge Deller
2024-10-16  4:04   ` Suraj Sonawane

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).