commit | bd0914104c61a852baf469b2d807322e5d0459b4 | [log] [tgz] |
---|---|---|
author | Pascal Terjan <pterjan@mandriva.com> | Mon Dec 01 12:24:25 2008 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 03 21:01:28 2008 -0800 |
tree | 271d0250c23b52cb0a24ee1f0f74851967adc556 | |
parent | 1c594c05a75770ab53a329fc4eb99c797a4bc7d7 [diff] |
hysdn: fix writing outside the field on 64 bits ifa_local is assumed to be unsigned long which lead to writing the address at dev->dev_addr-2 instead of +2 noticed thanks to gcc: drivers/isdn/hysdn/hysdn_net.c: In function `net_open': drivers/isdn/hysdn/hysdn_net.c:91: warning: array subscript is below array bounds Signed-off-by: Pascal Terjan <pterjan@mandriva.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>