diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-25 16:48:12 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 16:48:12 -0800 |
commit | 51e0f058c496ef2ca5362c16a53ce1ce454d0817 (patch) | |
tree | 4ac330dabb9bd1557902a042c86db2d6a1122cb7 /sound/pci/sis7019.h | |
parent | 2e6a684b8489b21324f314be2bd8d3788a9f6445 (diff) |
niu: fix warnings in drivers/net/niu.c
these warnings:
drivers/net/niu.c: In function ‘serdes_init_niu_1g_serdes’:
drivers/net/niu.c:451: warning: ‘sig’ may be used uninitialized in this function
drivers/net/niu.c: In function ‘serdes_init_niu_10g_serdes’:
drivers/net/niu.c:550: warning: ‘sig’ may be used uninitialized in this function
triggers because GCC does not recognize that the max_retry loop
always initializes 'sig', due to max_retry != 0.
Annotate them.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/pci/sis7019.h')
0 files changed, 0 insertions, 0 deletions