Skip to content

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

Paul Bolle lkml 1 version In review

Get series with b4
b4 am 1391552562.13156.14.camel@x220

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2raw: test against runtime value of max_raw_minorsdrivers/char/raw.c+1 -13 replies
2/2raw: set range for MAX_RAW_DEVSdrivers/char/Kconfig+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] 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