mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] char: misc: improve test and dynamic allocation
@ 2025-03-07 14:39 Thadeu Lima de Souza Cascardo
  2025-03-07 14:39 ` [PATCH v2 1/2] char: misc: restrict the dynamic range to exclude reserved minors Thadeu Lima de Souza Cascardo
  2025-03-07 14:39 ` [PATCH v2 2/2] char: misc: add test cases Thadeu Lima de Souza Cascardo
  0 siblings, 2 replies; 4+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2025-03-07 14:39 UTC (permalink / raw)
  To: Arnd Bergmann, Greg Kroah-Hartman
  Cc: Andrew Morton, Dirk VanDerMerwe, Vimal Agrawal, linux-kernel,
	Thadeu Lima de Souza Cascardo

This includes a change that prevents dynamic allocation from using a minor
number that belongs to the historically static reserved range, which is
still used by some drivers.

It also improves the test, including a lot of corner cases, specially ones
that would fail before past fixes.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
---
Thadeu Lima de Souza Cascardo (2):
      char: misc: restrict the dynamic range to exclude reserved minors
      char: misc: add test cases

 drivers/char/misc.c             |   9 +-
 drivers/misc/misc_minor_kunit.c | 509 +++++++++++++++++++++++++++++++++++++++-
 2 files changed, 509 insertions(+), 9 deletions(-)
---
base-commit: 2397d61ee45cddb8f3bd3a3a9840ef0f0b5aa843
change-id: 20250307-misc-dynrange-d54c92a5e319

Best regards,
-- 
Thadeu Lima de Souza Cascardo <cascardo@igalia.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-17  8:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-07 14:39 [PATCH v2 0/2] char: misc: improve test and dynamic allocation Thadeu Lima de Souza Cascardo
2025-03-07 14:39 ` [PATCH v2 1/2] char: misc: restrict the dynamic range to exclude reserved minors Thadeu Lima de Souza Cascardo
2025-03-17  8:13   ` kernel test robot
2025-03-07 14:39 ` [PATCH v2 2/2] char: misc: add test cases Thadeu Lima de Souza Cascardo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®