]> www.infradead.org Git - mtd-utils.git/commit
nanddump: check for negative inputs
authorBrian Norris <computersforpeace@gmail.com>
Wed, 1 Dec 2010 07:12:30 +0000 (23:12 -0800)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Thu, 2 Dec 2010 03:25:50 +0000 (05:25 +0200)
commitbeb602b6a3d1cc7b2edaab517d94abebe5f4a445
tree46826d053360b91321271cfcb92b5529ade7afb3
parent59b4ceaa65902ff2dcf13d12fb4ef97ea3ad8cec
nanddump: check for negative inputs

Includes error messages for negative device offsets and negative lengths,
telling the user what the offending option and value were.

Previous patch left out the "negative" in the error message.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
nanddump.c