Dan Carpenter c938a00344 cxgb4: memory corruption in debugfs
You can't use kstrtoul() with an int or it causes memory corruption.
Also j should be unsigned or we have underflow bugs.

I considered changing "j" to unsigned long but everything fits in a u32.

Fixes: 8e3d04fd7d70 ('cxgb4: Add MPS tracing support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-18 19:06:58 -07:00
..
2015-08-13 21:12:17 -07:00
2015-08-12 14:44:16 -07:00
2015-07-08 16:00:09 -07:00
2015-08-13 22:43:22 -07:00
2015-08-13 22:43:22 -07:00
2015-08-13 22:43:22 -07:00