Commit 72dd9ca5 authored by Jeff Garzik's avatar Jeff Garzik Committed by Linus Torvalds

partitions/LDM: build fix

This from a "tested" patch...
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Cc: Anton Altaparmakov <aia21@cantab.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent efa5bf1d
...@@ -158,7 +158,7 @@ static bool ldm_parse_privhead(const u8 *data, struct privhead *ph) ...@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment