From: Dan Carpenter Date: Tue, 28 Jul 2015 15:49:25 +0000 (+0300) Subject: staging: rtl8192e: don't just print an error and continue X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~288 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9cf7250ba85427a372225067d57cf3ff4471047;p=pandora-kernel.git staging: rtl8192e: don't just print an error and continue I was looking at how TOTAL_CAM_ENTRY is used and I saw this code. We print an error but continue writing "EntryNo" to a register as if it were valid. "EntryNo" is controlled by the user in rtl8192_ioctl() so it definitely can be invalid. I'm not positive what happens with the invalid data but it can't be good. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed