USB: storage: add usbdisk alias for USB storage devices
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20260630-usb-disk-alias-85022129192fVersions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fs: devfs: make cdev_find_free_index() return 0 instead of an errordrivers/ drivers/ drivers/ +1 more | +12 | 0 replies | |
| 2/2 | usb: storage: add usbdisk alias for USB storage devicesdrivers/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] USB: storage: add usbdisk alias for USB storage devices
This is an alternative approach for:
https://lore.kernel.org/p/[email protected]
Instead of adding a new Kconfig variable we add a /dev/usbdiskx alias for each USB storage device. This allows us to easily use the first USB storage device instead of stumbling upon other devices which are also registered as /dev/diskx.
Signed-off-by Sascha Hauer <[email protected]>
---
Sascha Hauer (2):
fs: devfs: make cdev_find_free_index() return 0 instead of an error
usb: storage: add usbdisk alias for USB storage devices
drivers/ata/disk_ata_drive.c | 2 -- drivers/hw_random/core.c | 13 +++---------- drivers/usb/storage/usb.c | 17 ++++++++++++----- fs/devfs-core.c | 10 +++++++++- 4 files changed, 24 insertions(+), 18 deletions(-)
---
base-commit: 18599acfcbf38e95edc605f89e257e32f67d0ac4
change-id: 20260630-usb-disk-alias-85022129192f
Best regards,
Signature · 1 line
Sascha Hauer <[email protected]>