diff options
author | Inaky Perez-Gonzalez | 2009-06-11 20:13:41 +0200 |
---|---|---|
committer | Inaky Perez-Gonzalez | 2009-06-11 20:47:39 +0200 |
commit | 98eb0f53e2fc66482e2ea8033c58b20a079e5260 (patch) | |
tree | d7bfd46772eb1da57cdb2f40e3e227186242bef6 /drivers/net/niu.c | |
parent | wimax: fix warning caused by not checking retval of rfkill_set_hw_state() (diff) | |
download | kernel-qcow2-linux-98eb0f53e2fc66482e2ea8033c58b20a079e5260.tar.gz kernel-qcow2-linux-98eb0f53e2fc66482e2ea8033c58b20a079e5260.tar.xz kernel-qcow2-linux-98eb0f53e2fc66482e2ea8033c58b20a079e5260.zip |
wimax: fix gcc warnings in sh4 when calling BUG()
SH4's BUG() seems to confuse the compiler as it is considered to
return; thus, some functions would trigger usage of uninitialized
variables or non-void functions returning void.
Work around by initializing/returning.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/niu.c')
0 files changed, 0 insertions, 0 deletions