Messages in this thread | | | Date | Thu, 21 Jul 2022 15:01:28 +0200 | From | Jiri Pirko <> | Subject | Re: [PATCH net-next v4 1/3] devlink: introduce framework for selftests |
| |
Thu, Jul 21, 2022 at 09:21:19AM CEST, vikas.gupta@broadcom.com wrote:
[...]
>+ /** >+ * selftest_run() - Runs a selftest >+ * @devlink: Devlink instance >+ * @test_id: test index >+ * @extack: extack for reporting error messages >+ * >+ * Return: Result of the test >+ */ >+ u8 (*selftest_run)(struct devlink *devlink, int test_id,
It should return enum. Make sure you changed the variable type you store the test status in.
>+ struct netlink_ext_ack *extack); > };
[...]
| |