[PATCH] ocxl: fix driver function comment typo
Christophe Leroy
christophe.leroy at csgroup.eu
Tue Dec 5 22:00:16 AEDT 2023
Please add a description explaining why you want to do that change.
When I grep I see cxlflash driver, I don't know what ocxlflash driver is:
$ git grep ocxl_config_read_afu
...
drivers/scsi/cxlflash/ocxl_hw.c: rc = ocxl_config_read_afu(pdev,
fcfg, acfg, 0);
drivers/scsi/cxlflash/ocxl_hw.c: dev_err(dev, "%s:
ocxl_config_read_afu failed rc=%d\n",
include/misc/ocxl.h:int ocxl_config_read_afu(struct pci_dev *dev,
Christophe
Le 05/12/2023 à 10:43, jiangyunshui a écrit :
> [Vous ne recevez pas souvent de courriers de jiangyunshui at kylinos.cn. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
>
> Reported-by: k2ci <kernel-bot at kylinos.cn>
> Signed-off-by: yunshui <jiangyunshui at kylinos.cn>
> ---
> include/misc/ocxl.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/misc/ocxl.h b/include/misc/ocxl.h
> index 3ed736da02c8..ef7d26009a36 100644
> --- a/include/misc/ocxl.h
> +++ b/include/misc/ocxl.h
> @@ -324,7 +324,7 @@ int ocxl_global_mmio_clear32(struct ocxl_afu *afu, size_t offset,
> int ocxl_global_mmio_clear64(struct ocxl_afu *afu, size_t offset,
> enum ocxl_endian endian, u64 mask);
>
> -// Functions left here are for compatibility with the cxlflash driver
> +// Functions left here are for compatibility with the ocxlflash driver
>
> /*
> * Read the configuration space of a function for the AFU specified by
> --
> 2.25.1
>
More information about the Linuxppc-dev
mailing list