]> code.ossystems Code Review - openembedded-core.git/commit
makedevs: Correct the device number calculation for blocks of devices
authorPeter Kjellerstedt <pkj@axis.com>
Wed, 29 May 2013 11:51:02 +0000 (11:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 May 2013 19:56:28 +0000 (20:56 +0100)
commit0a878426bee607a7d961ba475a7ec7e89115df35
treebfc6eacf82dd6e11aad039baf411f68c3df44df0
parente7796880164d6a37c2699a94e1c5391337c5eaa5
makedevs: Correct the device number calculation for blocks of devices

If the increment > 1 and the start > 0 then the calculation for the
minor device number was incorrect.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c