[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250307-misc-dynrange-v2-0-6fe19032ef76@igalia.com>
Date: Fri, 07 Mar 2025 11:39:26 -0300
From: Thadeu Lima de Souza Cascardo <cascardo@...lia.com>
To: Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Dirk VanDerMerwe <dirk.vandermerwe@...hos.com>,
Vimal Agrawal <vimal.agrawal@...hos.com>, linux-kernel@...r.kernel.org,
Thadeu Lima de Souza Cascardo <cascardo@...lia.com>
Subject: [PATCH v2 0/2] char: misc: improve test and dynamic allocation
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@...lia.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@...lia.com>
Powered by blists - more mailing lists