hw/s390x: rename Error ** parameter to more common errp
PATCH v6 1/1 hw/s390x: rename Error ** parameter to more common errp
Signed-off-by Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by Cornelia Huck <[email protected]>
---
v6: add Cornelia's r-b
hw/s390x/event-facility.c | 2 +- hw/s390x/s390-stattrib.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
hw/s390x/event-facility.c +1 -1
@@ -439,7 +439,7 @@ static void sclp_event_set_allow_all_mask_sizes(Object *obj, bool value, ef->allow_all_mask_sizes = value; } -static bool sclp_event_get_allow_all_mask_sizes (Object *obj,Error **e) +static bool sclp_event_get_allow_all_mask_sizes (Object *obj,Error **errp) {SCLPEventFacility *ef = (SCLPEventFacility *)obj;
hw/s390x/s390-stattrib.c +2 -1
@@ -352,7 +352,8 @@ static void s390_stattrib_class_init(ObjectClass *oc, void *data) dc->realize = s390_stattrib_realize; } -static inline bool s390_stattrib_get_migration_enabled (Object *obj,Error **e) +static inline bool s390_stattrib_get_migration_enabled (Object *obj, +Error **errp) {S390StAttribState *s =S390_STATTRIB (obj);
Signature · 1 line
2.21.0