diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-05-08 12:33:53 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-05-09 09:08:22 -0700 |
commit | cf1e22891bee39f50e058bee0827086fd75a8717 (patch) | |
tree | bc86051626667807a69b7f5daeb0ee9dc671f75c /arch | |
parent | ef51042472f55b325fd7f2b26a2e29fd89757234 (diff) | |
download | linux-stable-cf1e22891bee39f50e058bee0827086fd75a8717.tar.gz linux-stable-cf1e22891bee39f50e058bee0827086fd75a8717.tar.bz2 linux-stable-cf1e22891bee39f50e058bee0827086fd75a8717.zip |
device-dax: kill NR_DEV_DAX
There is no point to ask how many device-dax instances the kernel should
support. Since we are already using a dynamic major number, just allow
the max number of minors by default and be done. This also fixes the
fact that the proposed max for the NR_DEV_DAX range was larger than what
could be supported by alloc_chrdev_region().
Fixes: ba09c01d2fa8 ("dax: convert to the cdev api")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions