[PATCH 0/2] raw: two issues with the handling of the max minornumber

From: Paul Bolle
Date: Tue Feb 04 2014 - 17:22:55 EST


I noticed some issues with the way the raw driver sets its maximum minor
number and how that driver tests against that maximum. These two small
patches try to correct these issues.

The Kconfig change was tested with make menuconfig only. The change to
the actual code was compile tested only!

Paul Bolle (2):
raw: test against runtime value of max_raw_minors
raw: set range for MAX_RAW_DEVS

drivers/char/Kconfig | 1 +
drivers/char/raw.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)

--
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/