Commit [1633dc]  Maximize  Restore  History

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 <>
Acked-by: Nick Kossifidis <>
Signed-off-by: Peter P Waskiewicz Jr <>

Monam Agarwal Monam Agarwal 2014-03-09

Peter P Waskiewicz Jr Peter P Waskiewicz Jr 2014-03-17

changed drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c Diff Switch to side-by-side view