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 tag 'ktest-v5.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux-2.6-microblaze.git]
/
drivers
/
md
/
dm-unstripe.c
diff --git
a/drivers/md/dm-unstripe.c
b/drivers/md/dm-unstripe.c
index
954b7ab
..
e673dac
100644
(file)
--- a/
drivers/md/dm-unstripe.c
+++ b/
drivers/md/dm-unstripe.c
@@
-78,7
+78,7
@@
static int unstripe_ctr(struct dm_target *ti, unsigned int argc, char **argv)
goto err;
}
- if (sscanf(argv[4], "%llu%c", &start, &dummy) != 1) {
+ if (sscanf(argv[4], "%llu%c", &start, &dummy) != 1
|| start != (sector_t)start
) {
ti->error = "Invalid striped device offset";
goto err;
}