mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zmemtopo: Clean up hardcoded value
Replace array length of lpar name with LPAR_NAME_LEN macro. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Mete Durlu <meted@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
committed by
Steffen Eiden
parent
c6d74eebfb
commit
ce1464ad5f
@@ -68,7 +68,7 @@ struct diag310_t_hdr {
|
||||
} __packed;
|
||||
|
||||
struct diag310_p_hdr {
|
||||
char pname[8]; /* partition name */
|
||||
char pname[LPAR_NAME_LEN]; /* partition name */
|
||||
uint8_t pn; /* partition number */
|
||||
uint8_t tie; /* count of entries following this header */
|
||||
uint16_t reserved1;
|
||||
|
||||
Reference in New Issue
Block a user