aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorHelen Koike <[email protected]>2019-04-26 20:09:55 +0000
committerMike Snitzer <[email protected]>2019-04-30 20:51:23 +0000
commit8e890c1ab1b1e0f765cd8da82c4dee011698a5e8 (patch)
tree3722a8c549b69287410427e2820bc422aa762a11 /lib/test_stackinit.c
parentdm: add dust target (diff)
downloadkernel-8e890c1ab1b1e0f765cd8da82c4dee011698a5e8.tar.gz
kernel-8e890c1ab1b1e0f765cd8da82c4dee011698a5e8.zip
dm init: fix max devices/targets checks
dm-init should allow up to DM_MAX_{DEVICES,TARGETS} for devices/targets, and not DM_MAX_{DEVICES,TARGETS} - 1. Fix the checks and also fix the error message when the number of devices is surpassed. Fixes: 6bbc923dfcf57d ("dm: add support to directly boot to a mapped device") Cc: [email protected] Signed-off-by: Helen Koike <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions