mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
partitions/LDM: build fix
This from a "tested" patch... Signed-off-by: Jeff Garzik <jeff@garzik.org> Cc: Anton Altaparmakov <aia21@cantab.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
efa5bf1dd2
commit
72dd9ca599
@ -158,7 +158,7 @@ static bool ldm_parse_privhead(const u8 *data, struct privhead *ph)
|
|||||||
/* Warn the user and continue, carefully. */
|
/* Warn the user and continue, carefully. */
|
||||||
ldm_info("Database is normally %u bytes, it claims to "
|
ldm_info("Database is normally %u bytes, it claims to "
|
||||||
"be %llu bytes.", LDM_DB_SIZE,
|
"be %llu bytes.", LDM_DB_SIZE,
|
||||||
udunsigned long long)ph->config_size);
|
(unsigned long long)ph->config_size);
|
||||||
}
|
}
|
||||||
if ((ph->logical_disk_size == 0) || (ph->logical_disk_start +
|
if ((ph->logical_disk_size == 0) || (ph->logical_disk_start +
|
||||||
ph->logical_disk_size > ph->config_start)) {
|
ph->logical_disk_size > ph->config_start)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user