projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91e08b3
)
scsi: sd_zbc: Fix kdoc comment format
author
Damien Le Moal
<damien.lemoal@wdc.com>
Mon, 6 Jul 2020 12:33:55 +0000
(21:33 +0900)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Wed, 8 Jul 2020 05:04:07 +0000
(
01:04
-0400)
Fix the kdoc comment of the function sd_zbc_check_capacity() to avoid a
compiler warning when compiling with W=1.
No functional changes.
Link:
https://lore.kernel.org/r/20200706123355.452091-1-damien.lemoal@wdc.com
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd_zbc.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/sd_zbc.c
b/drivers/scsi/sd_zbc.c
index 6f7eba66687e91ad17344059f8624ebf000f7804..c43755b52b86f557d70e42a937e1916b2ae1eb98 100644
(file)
--- a/
drivers/scsi/sd_zbc.c
+++ b/
drivers/scsi/sd_zbc.c
@@
-584,7
+584,7
@@
static int sd_zbc_check_zoned_characteristics(struct scsi_disk *sdkp,
* sd_zbc_check_capacity - Check the device capacity
* @sdkp: Target disk
* @buf: command buffer
- * @zblock: zone size in number of blocks
+ * @zblock
s
: zone size in number of blocks
*
* Get the device zone size and check that the device capacity as reported
* by READ CAPACITY matches the max_lba value (plus one) of the report zones