From: Anton Blanchard Date: Tue, 24 Jul 2012 15:05:25 +0000 (+0000) Subject: be2net: Missing byteswap in be_get_fw_log_level causes oops on PowerPC X-Git-Tag: v3.6-rc1~78^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac46a4623815113a0305b2a491c125f473a88c53;p=pandora-kernel.git 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 Acked-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed