diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-07-31 19:02:06 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-01 15:31:35 -0400 |
commit | fb55d887c5bd9054ec069534e1ef9eb8d9a983c6 (patch) | |
tree | 35b838bd94257414e410b0aae5aea5803152bd9b /drivers/xen/xencomm.c | |
parent | 7dcdd073bf78bb6958bbc12a1a47754a0f3c4721 (diff) |
ipw2200 - Fix bad ipw_write8() macro
ipw_write8() can't be used alone with a loop because of a wrong definition.
CC [M] drivers/net/wireless/ipw2200.o
drivers/net/wireless/ipw2200.c: In function 'ipw_ethtool_set_eeprom':
drivers/net/wireless/ipw2200.c:10579: warning: array subscript is above array bounds
drivers/net/wireless/ipw2200.c: In function 'ipw_load':
drivers/net/wireless/ipw2200.c:2663: warning: array subscript is above array bounds
Add missing do {} while (0) to fix them.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/xen/xencomm.c')
0 files changed, 0 insertions, 0 deletions