From: Pascal Terjan Date: Mon, 1 Dec 2008 12:24:25 +0000 (+0000) Subject: hysdn: fix writing outside the field on 64 bits X-Git-Tag: v2.6.28-rc8~41^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd0914104c61a852baf469b2d807322e5d0459b4;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed