projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb12940
)
driver core: fix up missed scsi/cxlflash class.devnode() conversion.
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Wed, 30 Nov 2022 01:13:00 +0000
(12:13 +1100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 30 Nov 2022 12:00:29 +0000
(13:00 +0100)
Fixes: ff62b8e6588f ("driver core: make struct class.devnode() take a const *")
Link:
https://lore.kernel.org/r/20221130123851.6a9f2242@canb.auug.org.au
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/cxlflash/main.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/cxlflash/main.c
b/drivers/scsi/cxlflash/main.c
index cd1324ec742de4d05ecffdb5d6940b33dd264845..395b00b942f7036c316d3d99ddd43e372035cdb8 100644
(file)
--- a/
drivers/scsi/cxlflash/main.c
+++ b/
drivers/scsi/cxlflash/main.c
@@
-3857,7
+3857,7
@@
static void cxlflash_pci_resume(struct pci_dev *pdev)
*
* Return: Allocated string describing the devtmpfs structure.
*/
-static char *cxlflash_devnode(struct device *dev, umode_t *mode)
+static char *cxlflash_devnode(
const
struct device *dev, umode_t *mode)
{
return kasprintf(GFP_KERNEL, "cxlflash/%s", dev_name(dev));
}