commit | f8d8b7a13d3d61f99bf3dc5c9650f87f9818d7a7 | [log] [tgz] |
---|---|---|
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | Mon Aug 23 23:02:22 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Aug 25 14:34:56 2010 -0400 |
tree | 2886d6df130230769ec1173915c9f518e7f883cb | |
parent | 8d1331b37d5b656a7a8e561f8e9d7661dd00c910 [diff] |
rt2x00: fix "buffer size not provably correct" build warning rt2x00 debugfs interface doesn't check the size of the data coming from userspace, leading to a build warning. Fix That. v2: return EINVAL if input is too long Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>