diff options
| author | Zijun Hu <zijun.hu@oss.qualcomm.com> | 2025-07-14 23:34:17 +0800 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-19 12:41:18 +0200 | 
| commit | 1ba0fb42aa6a5f072b1b8c0b0520b32ad4ef4b45 (patch) | |
| tree | bd1f774c7b65d7ace6996002cf2ab6d4e52336a1 /rust/helpers/xarray.c | |
| parent | 52e2bb5ff089d65e2c7d982fe2826dc88e473d50 (diff) | |
char: misc: Does not request module for miscdevice with dynamic minor
misc_open() may request module for miscdevice with dynamic minor, which
is meaningless since:
- The dynamic minor allocated is unknown in advance without registering
  miscdevice firstly.
- Macro MODULE_ALIAS_MISCDEV() is not applicable for dynamic minor.
Fix by only requesting module for miscdevice with fixed minor.
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250714-rfc_miscdev-v6-6-2ed949665bde@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
