projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git]
/
drivers
/
scsi
/
cxlflash
/
main.c
diff --git
a/drivers/scsi/cxlflash/main.c
b/drivers/scsi/cxlflash/main.c
index
6178028
..
38b3a9c
100644
(file)
--- a/
drivers/scsi/cxlflash/main.c
+++ b/
drivers/scsi/cxlflash/main.c
@@
-3393,12
+3393,6
@@
static int cxlflash_afu_debug(struct cxlflash_cfg *cfg,
goto out;
}
- if (unlikely(!access_ok(is_write ? VERIFY_READ : VERIFY_WRITE,
- ubuf, ulen))) {
- rc = -EFAULT;
- goto out;
- }
-
buf = kmalloc(ulen + cache_line_size() - 1, GFP_KERNEL);
if (unlikely(!buf)) {
rc = -ENOMEM;