diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-19 05:18:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-11 09:22:44 -0700 |
commit | 6d1b80fd886937ad4d6169ffa78cb0075eebce53 (patch) | |
tree | 33cc996c57d925a8f3c1e3cece2c6c00a746e7f3 /drivers/gpio/gpio-max730x.c | |
parent | cbb0920b9b5090c7006404d8c6533f8ca03cf2ed (diff) |
staging/slicoss: Fix operation may be undefined warning
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>
Diffstat (limited to 'drivers/gpio/gpio-max730x.c')
0 files changed, 0 insertions, 0 deletions