[BUG] mtdinfo -a: Tries to open NULL pointer for NOR with Eraseblock Regions

Brian Norris computersforpeace at gmail.com
Tue Aug 9 15:59:09 EDT 2011


On Tue, Aug 9, 2011 at 10:34 AM, Mike Frysinger <vapier at gentoo.org> wrote:
> 1: add region_info to sysfs
> 2: add a warning --all that it could be incomplete
> 3: have --all use the legacy lookup func to get /dev/mtd#
>
> i dont have a preference between any of these 3.  obviously removing
> region_info support is not an option.

OK, then I'll vote for option 2 and send a modification to my last
patch (to include a help message). Then if someone ever makes the time
to do option 1, it can fit nicely into option 2, since newer kernels
would be able to give complete info and older ones would not.

Brian



More information about the linux-mtd mailing list