From c8b0a484ccf408cafa9e2ec6a2fad6701c8deec4 Mon Sep 17 00:00:00 2001 From: Mark Einon Date: Tue, 22 Jan 2013 14:29:47 +0000 Subject: [PATCH] staging: et131x: Fix endian bugs in et131x_get_regs() et131x_get_regs() calls et131x_mii_read(), passing the address of a u32 which is cast to a (u16 *). This works fine for little endian systems, but not for big endian. Change so that the types are cast, not pointers to the types. Reported-by: Dan Carpenter Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed