video: fix inconsistent indentation warning
PATCH 1/1 video: fix inconsistent indentation warning
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
--- drivers/video/fbdev/nvidia/nv_hw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/video/fbdev/nvidia/nv_hw.c +4 -4
@@ -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) {
Signature · 1 line
2.34.1
Quoted 9 lines · 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:1512NVLoadStateExt()warn:
inconsistent indentingSigned-off-by SurajSonawane2415 <[email protected]>--- drivers/video/fbdev/nvidia/nv_hw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
applied.
Thanks!
Helge
Quoted 11 lines · Helge Deller
Quoted 9 lines · 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:1512NVLoadStateExt()warn:
inconsistent indentingSigned-off-by SurajSonawane2415 <[email protected]>---
drivers/video/fbdev/nvidia/nv_hw.c| 8 ++++----1 file changed, 4 insertions(+), 4 deletions(-)
Quoted 4 lines
applied.
Thanks!
Helge
Thank you for applying the patch!
Best regards,
Suraj Sonawane