Skip to contentSkip to conversation

block: Fix a source code comment in include/uapi/linux/blkzoned.h

PATCH Applied Bart Van Assche 3 participants 4 messages Jul 6, 2023 – Jul 25, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Fix a source code comment in include/uapi/linux/blkzoned.h

Fix the symbolic names for zone conditions in the blkzoned.h header file.

Cc Hannes Reinecke <[email protected]>
Cc Damien Le Moal <[email protected]>
Fixes 6a0cb1bc106f ("block: Implement support for zoned block devices")
---
 include/uapi/linux/blkzoned.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
include/uapi/linux/blkzoned.h +5 -5
index b80fcc9ea525..f85743ef6e7d 100644
@@ -51,13 +51,13 @@ enum blk_zone_type {
  *
  * The Zone Condition state machine in the ZBC/ZAC standards maps the above
  * deinitions as:
- *   - ZC1: Empty         | BLK_ZONE_EMPTY
+ *   - ZC1: Empty         | BLK_ZONE_COND_EMPTY
  *   - ZC2: Implicit Open | BLK_ZONE_COND_IMP_OPEN
  *   - ZC3: Explicit Open | BLK_ZONE_COND_EXP_OPEN
- *   - ZC4: Closed        | BLK_ZONE_CLOSED
- *   - ZC5: Full          | BLK_ZONE_FULL
- *   - ZC6: Read Only     | BLK_ZONE_READONLY
- *   - ZC7: Offline       | BLK_ZONE_OFFLINE
+ *   - ZC4: Closed        | BLK_ZONE_COND_CLOSED
+ *   - ZC5: Full          | BLK_ZONE_COND_FULL
+ *   - ZC6: Read Only     | BLK_ZONE_COND_READONLY
+ *   - ZC7: Offline       | BLK_ZONE_COND_OFFLINE
  *
  * Conditions 0x5 to 0xC are reserved by the current ZBC/ZAC spec and should
  * be considered invalid.
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Bart Van Assche

Fix the symbolic names for zone conditions in the blkzoned.h header file.

Cc Hannes Reinecke <[email protected]>
Cc Damien Le Moal <[email protected]>
Fixes 6a0cb1bc106f ("block: Implement support for zoned block devices")

Looks good.

Signature · 2 lines
Damien Le Moal
Western Digital Research
#2 lore raw
Quoted 4 lines · Damien Le Moal
Quoted 3 lines · Bart Van Assche

Fix the symbolic names for zone conditions in the blkzoned.h header file.

Quoted 8 lines
Quoted 4 lines
Cc Hannes Reinecke <[email protected]>
Cc Damien Le Moal <[email protected]>
Fixes 6a0cb1bc106f ("block: Implement support for zoned block devices")

Looks good.

Hi Jens,

Do you agree that this patch is ready to be merged?

Thank you,

Bart.

maintainer Applied
#3 lore raw
In reply to Bart Van Assche
Quoted 4 lines · Bart Van Assche

Fix the symbolic names for zone conditions in the blkzoned.h header file.

Applied, thanks!

[1/1] block: Fix a source code comment in include/uapi/linux/blkzoned.h

      commit: e0933b526fbfd937c4a8f4e35fcdd49f0e22d411

Best regards,

Signature · 1 line
Jens Axboe