nwflash.c -EFAULT retcode
PATCH 1/1 nwflash.c -EFAULT retcode
missing -EFAULT retcode in nwflash.c, from 2.6
Özkan Sezer
drivers/char/nwflash.c +2 -1
@@ -159,7 +159,8 @@if (ret ==0 ) { ret = count; *ppos = p + count; - } + }else + ret = -EFAULT ;up (&nwflash_sem); }return ret;