projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4cf1b7
)
[PATCH] dm: remove unnecessary typecast
author
Kevin Corry
<kevcorry@us.ibm.com>
Mon, 27 Mar 2006 09:18:01 +0000
(
01:18
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:45:00 +0000
(08:45 -0800)
Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Cc: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-stripe.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-stripe.c
b/drivers/md/dm-stripe.c
index 204f796ee9e32d36797079a595705c54f2c19c6f..08328a8f5a3cab75d1881e7bd922fa300b07187f 100644
(file)
--- a/
drivers/md/dm-stripe.c
+++ b/
drivers/md/dm-stripe.c
@@
-103,7
+103,7
@@
static int stripe_ctr(struct dm_target *ti, unsigned int argc, char **argv)
return -EINVAL;
}
- if (
((uint32_t)ti->len)
& (chunk_size - 1)) {
+ if (
ti->len
& (chunk_size - 1)) {
ti->error = "dm-stripe: Target length not divisible by "
"chunk size";
return -EINVAL;