scsi: ufs: ufs-mediatek: Fix build warnings with make W=1
authorStanley Chu <stanley.chu@mediatek.com>
Thu, 10 Sep 2020 01:37:56 +0000 (09:37 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Sep 2020 02:08:46 +0000 (22:08 -0400)
commit71957b6112cdb0b3357fbfe6d0de5de02d544a55
tree2d968ecf19a9c83324a5ee290f9e3c945dd2c763
parent31a3271ff11badc50d6dc0efb4da393e4c3bf388
scsi: ufs: ufs-mediatek: Fix build warnings with make W=1

Fix build warnings with make W=1 as below,

1.
>> drivers/scsi/ufs/ufs-mediatek.c:116:22: warning: format '%d' expects
>> argument of type 'int', but argument 4 has type 'long int'

2.
  CC [M]  drivers/scsi/ufs/ufs-mediatek.o
../drivers/scsi/ufs/ufs-mediatek.c:749: error: Cannot parse struct or union!

/** is used specifically with kernel-doc tool.
As a quick fix by removing dubious /** in the comment block of
struct ufs_hba_variant_ops ufs_hba_mtk_vops.

Link: https://lore.kernel.org/r/20200910013756.11385-1-stanley.chu@mediatek.com
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-mediatek.c