On Sat, 23 Jul 2022 09:52:05 +0530 Vikas Gupta wrote: > +enum devlink_attr_selftest_test_id { > + DEVLINK_ATTR_SELFTEST_TEST_ID_UNSPEC, > + DEVLINK_ATTR_SELFTEST_TEST_ID_FLASH, /* flag */ > + > + __DEVLINK_ATTR_SELFTEST_TEST_ID_MAX, > + DEVLINK_ATTR_SELFTEST_TEST_ID_MAX = __DEVLINK_ATTR_SELFTEST_TEST_ID_MAX - 1 > +}; > + > +enum devlink_selftest_test_status { > + DEVLINK_SELFTEST_TEST_STATUS_SKIP, > + DEVLINK_SELFTEST_TEST_STATUS_PASS, > + DEVLINK_SELFTEST_TEST_STATUS_FAIL > +}; > + > +enum devlink_attr_selftest_result { > + DEVLINK_ATTR_SELFTEST_RESULT_UNSPEC, > + DEVLINK_ATTR_SELFTEST_RESULT, /* nested */ > + DEVLINK_ATTR_SELFTEST_RESULT_TEST_ID, /* u32, > + * enum devlink_attr_selftest_test_id > + */ > + DEVLINK_ATTR_SELFTEST_RESULT_TEST_STATUS, /* u8, > + * enum devlink_selftest_test_status > + */ > + > + __DEVLINK_ATTR_SELFTEST_RESULT_MAX, > + DEVLINK_ATTR_SELFTEST_RESULT_MAX = __DEVLINK_ATTR_SELFTEST_RESULT_MAX - 1 Any thoughts on running: sed -i '/_SELFTEST/ {s/_TEST_/_/g}' $patch on this patch? For example DEVLINK_ATTR_SELFTEST_RESULT_TEST_STATUS is 40 characters long, ain't nobody typing that, and _TEST is repeated.. Otherwise LGTM!