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:59:12 +0000 (20:59 +0100)
commit9471d6f8c19137b321b92f0ababa7d5cfb1cffcb
treea86f950223e6bb092c9f32aa1eadbeef88c9e1b0
parent585303ca848446b7674462701ca402d2102e8226
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.

(From OE-Core rev: 0a878426bee607a7d961ba475a7ec7e89115df35)

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