git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbb0920
)
staging/slicoss: Fix operation may be undefined warning
author
Peter Huewe
<peterhuewe@gmx.de>
Tue, 19 Feb 2013 04:18:50 +0000
(
05:18
+0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:22:44 +0000
(09:22 -0700)
gcc complains about an undefined operation:
slicoss.c:1417:19: warning: operation on 'rspq->pageindex' may be
undefined [-Wsequence-point]
The intended operation was (probably) to retrieve the pageindex + 1 and let
it wrap around if it reaches the num_pages.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found