[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YtlOKP4i3AG0gz+B@nanopsycho>
Date: Thu, 21 Jul 2022 15:01:28 +0200
From: Jiri Pirko <jiri@...dia.com>
To: Vikas Gupta <vikas.gupta@...adcom.com>
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, davem@...emloft.net,
dsahern@...nel.org, stephen@...workplumber.org,
edumazet@...gle.com, pabeni@...hat.com, ast@...nel.org,
leon@...nel.org, linux-doc@...r.kernel.org, corbet@....net,
michael.chan@...adcom.com, andrew.gospodarek@...adcom.com
Subject: Re: [PATCH net-next v4 1/3] devlink: introduce framework for
selftests
Thu, Jul 21, 2022 at 09:21:19AM CEST, vikas.gupta@...adcom.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);
> };
[...]
Powered by blists - more mailing lists