Thread (2 messages) 2 messages, 1 author, 2014-07-02

[PATCH] video: fbdev: sis: init301.c: Cleaning up a potential division by zero

flat view
STALE4491d

From: Rickard Strandqvist <hidden>
Date: 2014-07-02 22:07:23
Also in: lkml

Guess these ifdef will always be set, but still feel that 1 is a better starting value other than 0 in this case.

This was found using a static code analysis program called cppcheck

Rickard Strandqvist (1):
  video: fbdev: sis: init301.c:  Cleaning up a potential division by zero

 drivers/video/fbdev/sis/init301.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help