linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 5/5] Drivers: video: riva: riva_hw: fixed a brace coding style issue
@ 2011-11-18  4:45 Zac Storer
  2011-11-20  1:50 ` [PATCH 5/5] Drivers: video: riva: riva_hw: fixed a brace coding Florian Tobias Schandinat
  0 siblings, 1 reply; 2+ messages in thread
From: Zac Storer @ 2011-11-18  4:45 UTC (permalink / raw)
  To: FlorianSchandinat; +Cc: linux-fbdev, linux-kernel, Zac Storer

Fixed a brace coding style issue.

Signed-off-by: Zac Storer <zac.3.14159@gmail.com>
---
 drivers/video/riva/riva_hw.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/riva/riva_hw.c b/drivers/video/riva/riva_hw.c
index 78fdbf5..c4b8a6f 100644
--- a/drivers/video/riva/riva_hw.c
+++ b/drivers/video/riva/riva_hw.c
@@ -994,7 +994,7 @@ static void nv10CalcArbitration
               clwm = clwm_mt;
   */
           /* Finally, a heuristic check when width = 64 bits */
-          if(width = 1){
+          if(width = 1) {
               nvclk_fill = nvclk_freq * 8;
               if(crtc_drain_rate * 100 >= nvclk_fill * 102)
                       clwm = 0xfff; /*Large number to fail */
-- 
1.7.7.3


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

* Re: [PATCH 5/5] Drivers: video: riva: riva_hw: fixed a brace coding
  2011-11-18  4:45 [PATCH 5/5] Drivers: video: riva: riva_hw: fixed a brace coding style issue Zac Storer
@ 2011-11-20  1:50 ` Florian Tobias Schandinat
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Tobias Schandinat @ 2011-11-20  1:50 UTC (permalink / raw)
  To: Zac Storer; +Cc: linux-fbdev, linux-kernel

On 11/18/2011 04:45 AM, Zac Storer wrote:
> Fixed a brace coding style issue.

*sigh* You are fixing coding style, but I still get lots of warnings for the
single line you are changing. IF you are fixing coding style, at least do it
right. Or do you really expect me to be happy if you send me 3 patches that all
touch the same line?
Really, if you want to fix it, at least fix it in a way that checkpatch.pl does
no longer complain about your patch, at least regarding coding style issues. And
for such patches I think a per file patch or similar would be appropriate.


Regards,

Florian Tobias Schandinat

> 
> Signed-off-by: Zac Storer <zac.3.14159@gmail.com>
> ---
>  drivers/video/riva/riva_hw.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/riva/riva_hw.c b/drivers/video/riva/riva_hw.c
> index 78fdbf5..c4b8a6f 100644
> --- a/drivers/video/riva/riva_hw.c
> +++ b/drivers/video/riva/riva_hw.c
> @@ -994,7 +994,7 @@ static void nv10CalcArbitration
>                clwm = clwm_mt;
>    */
>            /* Finally, a heuristic check when width = 64 bits */
> -          if(width = 1){
> +          if(width = 1) {
>                nvclk_fill = nvclk_freq * 8;
>                if(crtc_drain_rate * 100 >= nvclk_fill * 102)
>                        clwm = 0xfff; /*Large number to fail */


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

end of thread, other threads:[~2011-11-20  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18  4:45 [PATCH 5/5] Drivers: video: riva: riva_hw: fixed a brace coding style issue Zac Storer
2011-11-20  1:50 ` [PATCH 5/5] Drivers: video: riva: riva_hw: fixed a brace coding Florian Tobias Schandinat

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