summaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2019-09-01 22:32:05 +0200
committerRichard Weinberger <richard@nod.at>2019-09-15 22:12:49 +0200
commite46131b9fd31155a552dea598e7d915b64c5c04c (patch)
tree5b9b964a17799f43fc8d9c257432a2fdd6d433ed /lib/kobject.c
parentubifs: Fix memory leak bug in alloc_ubifs_info() error path (diff)
downloadlinux-e46131b9fd31155a552dea598e7d915b64c5c04c.tar.xz
linux-e46131b9fd31155a552dea598e7d915b64c5c04c.zip
ubi: block: Warn if volume size is not multiple of 512
If volume size is not a multiple of 512, ubi block cuts off the last bytes of an volume since the block layer works on 512 byte sectors. This can happen especially on NOR flash with minimal io size of 1. To avoid unpleasant surprises, print a warning. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions