typhoon: memory corruption in typhoon_get_drvinfo()
authorDan Carpenter <error27@gmail.com>
Mon, 20 Dec 2010 18:43:02 +0000 (10:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 18:43:02 +0000 (10:43 -0800)
commit914e5cea14b2e4651cdb0707e0936b43246deda0
treebb9b59077a56070ec418e9157e50b4e90528f0da
parentbbccc16c8a27d75dabe88326f7074181493a3b69
typhoon: memory corruption in typhoon_get_drvinfo()

info->version only has space for 32 characters but my UTS_RELEASE is
"2.6.37-rc6-next-20101217-05817-ge935fc8-dirty" so it doesn't fit.
This is supposed to be the version of the driver, not the kernel
version.  This driver doesn't have a version so lets just leave it
blank.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/typhoon.c