Skip to content

Commit 69b14fd

Browse files
sfrothwellgregkh
authored andcommitted
driver core: fix up missed scsi/cxlflash class.devnode() conversion.
Fixes: ff62b8e ("driver core: make struct class.devnode() take a const *") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent fb12940 commit 69b14fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/cxlflash/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3857,7 +3857,7 @@ static void cxlflash_pci_resume(struct pci_dev *pdev)
38573857
*
38583858
* Return: Allocated string describing the devtmpfs structure.
38593859
*/
3860-
static char *cxlflash_devnode(struct device *dev, umode_t *mode)
3860+
static char *cxlflash_devnode(const struct device *dev, umode_t *mode)
38613861
{
38623862
return kasprintf(GFP_KERNEL, "cxlflash/%s", dev_name(dev));
38633863
}

0 commit comments

Comments
 (0)