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
riscv, crash: wrap crash dumping code into crash related ifdefs
[linux-2.6-microblaze.git]
/
block
/
bio-integrity.c
diff --git
a/block/bio-integrity.c
b/block/bio-integrity.c
index
feef615
..
c9a16fb
100644
(file)
--- a/
block/bio-integrity.c
+++ b/
block/bio-integrity.c
@@
-336,7
+336,7
@@
int bio_integrity_map_user(struct bio *bio, void __user *ubuf, ssize_t bytes,
if (nr_vecs > BIO_MAX_VECS)
return -E2BIG;
if (nr_vecs > UIO_FASTIOV) {
- bvec = kcalloc(
sizeof(*bvec), nr_vecs
, GFP_KERNEL);
+ bvec = kcalloc(
nr_vecs, sizeof(*bvec)
, GFP_KERNEL);
if (!bvec)
return -ENOMEM;
pages = NULL;