[PATCH] dm: dm-table warning fix

drivers/md/dm-table.c:500: warning: comparison of distinct pointer types lacks a cast

Signed-off-by: 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:
Alasdair G Kergon 2006-02-01 03:04:55 -08:00 committed by Linus Torvalds
parent 4aac0a63fe
commit 3ee247ebce
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ struct target_type {
};
struct io_restrictions {
unsigned short max_sectors;
unsigned int max_sectors;
unsigned short max_phys_segments;
unsigned short max_hw_segments;
unsigned short hardsect_size;