if (count > gbFlashSize - p)
count = gbFlashSize - p;
- if (verify_area(VERIFY_READ, buf, count))
+ if (!access_ok(VERIFY_READ, buf, count))
return -EFAULT;
/*
MODULE_LICENSE("GPL");
-MODULE_PARM(flashdebug, "i");
+module_param(flashdebug, bool, 0644);
module_init(nwflash_init);
module_exit(nwflash_exit);