From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D54CF605D5 for ; Mon, 26 Feb 2024 14:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708959357; cv=none; b=lnrjVPxs4GJV/QrGVEudaNHZrm2FIO6B61yyD+pWiePd42bnORkTVssqXxoiol+jEu3lgMwf7Uyh/omYFcKnjq4bmDhCTrhCqgXcjBEvfOfvkXb9Orga1p/yJSJqrygMsWcTgcQo3y1BTjsYDhnzfaZzcgAKavqnGVg3yynvgxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708959357; c=relaxed/simple; bh=5sbi5B8TfZZpHXw6nsE3Ir3Nu60cN72UewmoH5SPOn0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NEc+c1JwLnbNuA06bLmqm8JM4XiVdX/ZpI1Hc7xZh6z9c6o3HJA7fjEYOX6y6dh3NlI3xqg/TFdQtBg/QucAwYh2iiiWgTpJO23gL9pV7jVegc78i7Gq5ZUxRT/k8xf0yR+mwHMu96OjZwcz70QqKoPD0ZUpH7Kg9PE70Q/Lrd4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jFMAD8yW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jFMAD8yW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E4FEC433C7; Mon, 26 Feb 2024 14:55:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708959357; bh=5sbi5B8TfZZpHXw6nsE3Ir3Nu60cN72UewmoH5SPOn0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jFMAD8yW26u9hDR73Uyg/RdJufZtOA9M7uqHW99rTiS+r3YgnxvD9FWjHp9ttShxV fPDKn7fqaEhEVB9LusskKcmGAEpXtiZE7QZk4zTm99eZLovjYbvhmYwp0Uza0qWIgT WvAFXV32cQMwlNqB0bxKeFWxFPsDOGaC0nh74znTLgzWkgerJon1ulQ43bHK/6oODa L4mMhIPFLccrl7c5Fs3AxI+XEG5cQ+Vpe3kyr2S5MxtfqbYxXkSeQsmpahDOEkGXMN dMA6v/2/FzjVQtRR/ngyaHIrG/16Mk3sONr14AqInvdh27Ejc5MV96bjhaOY7aw8N3 seIu6I9X5bSlg== Date: Mon, 26 Feb 2024 06:55:56 -0800 From: Jakub Kicinski To: "Jakub Raczynski" Cc: , , Subject: Re: [PATCH] stmmac: Clear variable when destroying workqueue Message-ID: <20240226065556.0ffe7cb1@kernel.org> In-Reply-To: <000001da68a3$cc05a190$6410e4b0$@samsung.com> References: <20240221143233.54350-1-j.raczynski@samsung.com> <20240223163251.49bd1870@kernel.org> <000001da68a3$cc05a190$6410e4b0$@samsung.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 26 Feb 2024 12:06:02 +0100 Jakub Raczynski wrote: > Scratch that, confused main workqueue with fpe_workqueue in that message. > Proposed commit should not introduce problem with fpe_workqueue, since in > stmmac_fpe_event_status() there is check for both NULL and __FPE_REMOVING > before queueing work. You're right, I missed the NULL check.. if there's no other use of fpe_wq - v2 just needs the Fixes tag.