diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2017-01-27 13:32:14 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-07-04 11:51:29 +0200 |
| commit | 1e11e3eebe655ca84b5f0dc5b8a6febdd68266be (patch) | |
| tree | 59b5eeaa984fe5ba3a09e98ad56581686f3a4aef /arch/parisc | |
| parent | 197cade90755fdffe6c1eca24c8c84bfd596dcf6 (diff) | |
ISDN: eicon: silence misleading array-bounds warning
commit 950eabbd6ddedc1b08350b9169a6a51b130ebaaf upstream.
With some gcc versions, we get a warning about the eicon driver,
and that currently shows up as the only remaining warning in one
of the build bots:
In file included from ../drivers/isdn/hardware/eicon/message.c:30:0:
eicon/message.c: In function 'mixer_notify_update':
eicon/platform.h:333:18: warning: array subscript is above array bounds [-Warray-bounds]
The code is easily changed to open-code the unusual PUT_WORD() line
causing this to avoid the warning.
Link: http://arm-soc.lixom.net/buildlogs/stable-rc/v4.4.45/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions
