From: Elena Oat Date: Tue, 18 Mar 2014 17:16:49 +0000 (+0200) Subject: Staging: rtl8188eu: Fix warning of unchecked sscanf return value. X-Git-Tag: v3.15-rc1~139^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f12919d5c9540ae01ca42f480ccec0fd8c70a6ad;p=pandora-kernel.git Staging: rtl8188eu: Fix warning of unchecked sscanf return value. This patch fixes the warning "unchecked sscanf return value" in file rtw_mp.c. Zero is returned in case sscanf fails or if less than expected items are read and assigned successfully. I have decided to return zero, because in previous conditional statements zero was returned in case of failure. While at it, I have also fixed the warning of line over 80 characters. Signed-off-by: Elena Oat Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed