Re: [PATCH] ufs-exynos: Move definitions from .h to .c

Martin K. Petersen
2021-05-26T04:07:54Z

On Sun, 9 May 2021 14:38:17 -0700, Bart Van Assche wrote:

> In the Linux kernel definitions of data structures should occur in .c
> files. Hence move the exynos7_uic_attr definition from a .h into a .c
> file. Additionally, declare exynos_ufs_drvs static. This patch fixes the
> following two sparse warnings:
>
> drivers/scsi/ufs/ufs-exynos.h:248:28: warning: symbol 'exynos_ufs_drvs' was not declared. Should it be static?
> drivers/scsi/ufs/ufs-exynos.h:250:28: warning: symbol 'exynos7_uic_attr' was not declared. Should it be static?

Applied to 5.14/scsi-queue, thanks!

[1/1] ufs-exynos: Move definitions from .h to .c