commit | ac46a4623815113a0305b2a491c125f473a88c53 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Tue Jul 24 15:05:25 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 25 15:24:13 2012 -0700 |
tree | e5e9d132145002ce9e26ac3ca814dfdbfabb96f1 | |
parent | 57dbf29a54bda5773f9ed1d00e3cc633294259da [diff] |
be2net: Missing byteswap in be_get_fw_log_level causes oops on PowerPC We are seeing an oops in be_get_fw_log_level on ppc64 where we walk off the end of memory. commit 941a77d582c8 (be2net: Fix to allow get/set of debug levels in the firmware.) requires byteswapping of num_modes and num_modules. Cc: stable@vger.kernel.org # 3.5+ Signed-off-by: Anton Blanchard <anton@samba.org> Acked-by: Sathya Perla <sperla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>