[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200729125102.GC2204@nanopsycho>
Date: Wed, 29 Jul 2020 14:51:02 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Igor Russkikh <irusskikh@...vell.com>
Cc: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Ariel Elior <aelior@...vell.com>,
Michal Kalderon <mkalderon@...vell.com>,
Alexander Lobakin <alobakin@...vell.com>,
Michal Kalderon <michal.kalderon@...vell.com>
Subject: Re: [PATCH v3 net-next 03/11] qed: swap param init and publish
Wed, Jul 29, 2020 at 01:38:38PM CEST, irusskikh@...vell.com wrote:
>In theory that could lead to race condition
Describe the problem, tell the codebase what to do.
Plus, this looks like a -net material. Please consider pushing this
separatelly with proper "fixes" tag.
>
>Signed-off-by: Igor Russkikh <irusskikh@...vell.com>
>Signed-off-by: Alexander Lobakin <alobakin@...vell.com>
>Signed-off-by: Michal Kalderon <michal.kalderon@...vell.com>
>---
> drivers/net/ethernet/qlogic/qed/qed_devlink.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/net/ethernet/qlogic/qed/qed_devlink.c b/drivers/net/ethernet/qlogic/qed/qed_devlink.c
>index a62c47c61edf..4e3316c6beb6 100644
>--- a/drivers/net/ethernet/qlogic/qed/qed_devlink.c
>+++ b/drivers/net/ethernet/qlogic/qed/qed_devlink.c
>@@ -75,8 +75,8 @@ struct devlink *qed_devlink_register(struct qed_dev *cdev)
> QED_DEVLINK_PARAM_ID_IWARP_CMT,
> value);
>
>- devlink_params_publish(dl);
> cdev->iwarp_cmt = false;
>+ devlink_params_publish(dl);
>
> return dl;
>
>--
>2.17.1
>
Powered by blists - more mailing lists