Skip to contentSkip to conversation

zfcp: update width in comment for ZFCP_COMMON_FLAGS mask

PATCH Hannes Reinecke 1 participant 1 message Nov 16, 2018 1 message not in the archive s390

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Hannes Reinecke

author Reviewed-by
#1 lore raw
Quoted 17 lines · Steffen Maier

v2.6.10 history commit 4062e12b2ba2 ("[PATCH] s390: zfcp act enhancements") extended this mask by one nibble with the introduction of ZFCP_STATUS_COMMON_ACCESS_DENIED == 0x00800000 for ACT
(access control table).

---
  drivers/s390/scsi/zfcp_def.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/s390/scsi/zfcp_def.h +0 -0
index 87a1fef5568e..13bfc13eb42d 100644

drivers/s390/scsi/zfcp_def.h line 56

Quoted 10 lines
drivers/s390/scsi/zfcp_def.h +2 -2
@@ -49,8 +49,8 @@
  /*************** ADAPTER/PORT/UNIT AND FSF_REQ STATUS FLAGS ******************/
 
  /*
- * Note, the leftmost status byte is common among adapter, port
- * and unit
+ * Note, the leftmost 12 status bits (3 nibbles) are common among adapter, port
+ * and unit. This is a mask for bitwise 'and' with status values.
   */
  #define ZFCP_COMMON_FLAGS			0xfff00000
 

Cheers,

Hannes

Signature · 5 lines
Dr. Hannes Reinecke		   Teamlead Storage & Networking
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N�rnberg
GF: F. Imend�rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG N�rnberg)