From e2df8b7f6665075f7fe93613897117743c7bf0ba Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Mon, 19 Jul 2010 15:25:04 -0700 Subject: [PATCH] ks8842: Fix ks8842_tx_frame() for 16bit case. As reported by Andrew: drivers/net/ks8842.c: In function 'ks8842_handle_rx': drivers/net/ks8842.c:428: warning: 'status' may be used uninitialized in this function Just use the 32-bit status for all reads, and delete the useless cast to 'int' when reading a u16 into 'len'. Reported-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-format-patch failed