mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
[PATCH] dm: remove unnecessary typecast
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>
This commit is contained in:
parent
b4cf1b72ee
commit
a22c96c737
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user