Skip to contentSkip to conversation

raw: two issues with the handling of the max minor number

PATCH In review Paul Bolle 1 participant 1 message Feb 4, 2014

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

cover raw: two issues with the handling of the max minor number

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(-)
Signature · 1 line
1.8.5.3