From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC0FEC433FE for ; Tue, 18 Oct 2022 14:49:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229633AbiJROti (ORCPT ); Tue, 18 Oct 2022 10:49:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbiJROte (ORCPT ); Tue, 18 Oct 2022 10:49:34 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F413B10FEE; Tue, 18 Oct 2022 07:49:30 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 660A068C4E; Tue, 18 Oct 2022 16:49:25 +0200 (CEST) Date: Tue, 18 Oct 2022 16:49:24 +0200 From: Christoph Hellwig To: Serge Semin Cc: Christoph Hellwig , Serge Semin , Jens Axboe , Keith Busch , Jens Axboe , Sagi Grimberg , Guenter Roeck , Alexey Malahov , Pavel Parkhomenko , Thomas Bogendoerfer , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] nvme-hwmon: Kmalloc the NVME SMART log buffer Message-ID: <20221018144924.GB20131@lst.de> References: <20220929224648.8997-1-Sergey.Semin@baikalelectronics.ru> <20220929224648.8997-3-Sergey.Semin@baikalelectronics.ru> <20221017071832.GB30661@lst.de> <20221017161656.hzmsgqpuvqpmriqs@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221017161656.hzmsgqpuvqpmriqs@mobilestation> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 17, 2022 at 07:16:56PM +0300, Serge Semin wrote: > Please note the applied patch doesn't comply with the Keith' notes > Link: https://lore.kernel.org/linux-nvme/YzxueNRODpry8L0%2F@kbusch-mbp.dhcp.thefacebook.com/ > Meanwhile without patch #1 (having only the accepted by you patch > applied) the NVME hwmon init now seems contradicting: it ignores one > kmalloc failure (returns zero) but fails on another one (returns > -ENOMEM). I asked you to have a look at the patches #1 and #2 of the > series > Link: https://lore.kernel.org/linux-nvme/20221007100134.faaekmuqyd5vy34m@mobilestation/ > and give your opinion whether the re-spin was required: take the > Keith' notes or keep the patches as is. Could you please clarify the > situation? I'll fix this patch up to follow the recommendation from Keith, I somehow thought this was already done.