LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] fbdev: aty: fix missing indentation in if statement
@ 2018-03-15 18:16 ` Colin King
2018-03-28 13:19 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2018-03-15 18:16 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz, Philippe Ombredanne, Thomas Gleixner,
dri-devel, linux-fbdev
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There is a missing indentation following an if statement, fix this.
Detected by Coccinelle:
drivers/video/fbdev/aty/mach64_ct.c:183:2-15: code aligned with
following code on line 184
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/video/fbdev/aty/mach64_ct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/aty/mach64_ct.c b/drivers/video/fbdev/aty/mach64_ct.c
index 7d3bd723d3d5..74a62aa193c0 100644
--- a/drivers/video/fbdev/aty/mach64_ct.c
+++ b/drivers/video/fbdev/aty/mach64_ct.c
@@ -180,7 +180,7 @@ static int aty_dsp_gt(const struct fb_info *info, u32 bpp, struct pll_ct *pll)
dsp_on = ((multiplier << vshift) + divider) / divider;
tmp = ((ras_multiplier << xshift) + ras_divider) / ras_divider;
if (dsp_on < tmp)
- dsp_on = tmp;
+ dsp_on = tmp;
dsp_on = dsp_on + (tmp * 2) + (pll->xclkpagefaultdelay << xshift);
}
--
2.15.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fbdev: aty: fix missing indentation in if statement
2018-03-15 18:16 ` [PATCH] fbdev: aty: fix missing indentation in if statement Colin King
@ 2018-03-28 13:19 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-03-28 13:19 UTC (permalink / raw)
To: Colin King
Cc: Philippe Ombredanne, Thomas Gleixner, dri-devel, linux-fbdev,
kernel-janitors, linux-kernel
On Thursday, March 15, 2018 06:16:24 PM Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a missing indentation following an if statement, fix this.
>
> Detected by Coccinelle:
> drivers/video/fbdev/aty/mach64_ct.c:183:2-15: code aligned with
> following code on line 184
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Patch queued for 4.17, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-28 13:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CGME20180315181633epcas2p19407707285ccc33c3fcd2c8c0d071a57@epcas2p1.samsung.com>
2018-03-15 18:16 ` [PATCH] fbdev: aty: fix missing indentation in if statement Colin King
2018-03-28 13:19 ` Bartlomiej Zolnierkiewicz
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).