Staging: ft1000-usb: Fix Smatch Warning in ft1000_hw.c
authorMonam Agarwal <monamagarwal123@gmail.com>
Sun, 9 Mar 2014 05:28:08 +0000 (10:58 +0530)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Mon, 17 Mar 2014 00:43:17 +0000 (17:43 -0700)
commit1633dc5ecc5424ba39b8e4721e5c0ba01af43323
treea38558f168dde9795699885607c5200001f5adb8
parent2eeaa73cd9d167e45ddb31cb86d58f68cc09213a
Staging: ft1000-usb: Fix Smatch Warning in ft1000_hw.c

This patch fixes following smatch warning:
/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c:1148 ft1000_proc_drvmsg() warn: returning -1 instead of -ENOMEM is sloppy

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c