commit | bc0d0d093b379b0b379c429e3348498287c8a9ca | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Mon Nov 30 09:10:33 2015 -0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Mon Nov 30 09:10:33 2015 -0800 |
tree | 0e20a4644c52a6ec25d8509af033f6155475eec9 | |
parent | 31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8 [diff] |
libnvdimm, e820: skip module loading when no type-12 If there are no persistent memory ranges present then don't bother creating the platform device. Otherwise, it loads the full libnvdimm sub-system only to discover no resources present. Reported-by: Andy Lutomirski <luto@amacapital.net> Acked-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Dan Williams <dan.j.williams@intel.com>