Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4589211rwb; Wed, 17 Aug 2022 02:42:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR7e3oz6tNaHyHBYIpV/UqU3kVTtNo80FEh6MQAB4+2Ph3+hkA+MOXCE86KATYMvaai7hWBQ X-Received: by 2002:a65:6b89:0:b0:41a:69b1:8674 with SMTP id d9-20020a656b89000000b0041a69b18674mr21086263pgw.417.1660729334855; Wed, 17 Aug 2022 02:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660729334; cv=none; d=google.com; s=arc-20160816; b=0cEBMupfC4tfqP46WYF5TC8V2IvpNkD7XNquiBcMdb1OHSE37Q5fZdq4aEPSXjidF5 fXGDpOjpc+C6RihqLGPIwOJI/tPuT6o8tnQEheMMu2og1igMPwWO4FCX07kep2smVosn Pb4ZmE1UWhWoGM0YpQO91gtAOmzeRVVSdGUrKPvY1HfckSUmLU46TvzlmxO/d+yJWdxB VNwjOOE+YMU7tviOGxmHtg1x/kxPfbCbInT5i4LXvneDH6H9Mk8QZLGFcy1mdwwIbkcG kXeoIQcKTiLTBt0u8ZG06uinaivGQYBE9crA+Q6yLGYNIiXoxkJoby3bUemCGqcVDdPW kgYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=qVXulnhVhlA+D/7Epz+DHJvcW5JANUdmFmZSHL/C1fQ=; b=y8r7sv+6LA+U+EINVZNJIKLgYXv/NVVXu8u2lucAmoIypZOevbA8RK5FUf36lF9vJG IOtqBPaDFxC00kwt7HLCn5MPwJGz1OpX1NDtgCNfkvYG2hey0JKxFJG2Bud6LasdNtq/ Gd+OU/K06qN/RxQhqBYGLL42Ojjc9LO7mxy8AgaB/On9AaMZI9h60VtaLPQwKF10w7/w bXZuDfnkzss595eJjWXo4XUMYAADtxH5QOBDue7ZOTiquYgy6OnN/TWnAtIOwHvEa34R CrqqeSr1OxbRFqXIlDcVTNOhJ5vJ+c+NMCXTADTCULorheqOWf22rr+TevLyVd9AHZK3 /7TA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a15-20020a170902eccf00b0016dbf00e415si1049660plh.249.2022.08.17.02.42.04; Wed, 17 Aug 2022 02:42:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233994AbiHQJIf (ORCPT + 99 others); Wed, 17 Aug 2022 05:08:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiHQJIe (ORCPT ); Wed, 17 Aug 2022 05:08:34 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33A6530556 for ; Wed, 17 Aug 2022 02:08:33 -0700 (PDT) Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4M72Bq3NtrzXdqv; Wed, 17 Aug 2022 17:04:19 +0800 (CST) Received: from [10.67.110.176] (10.67.110.176) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 17 Aug 2022 17:08:30 +0800 Subject: Re: [PATCH -next 0/2] A few fixup patches for nvmem To: Srinivas Kandagatla , CC: , References: <20220816134935.263825-1-cuigaosheng1@huawei.com> From: cuigaosheng Message-ID: Date: Wed, 17 Aug 2022 17:08:29 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.110.176] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'll take a closer look at this link, thank you very much! Gaosheng 在 2022/8/17 16:53, Srinivas Kandagatla 写道: > > > On 16/08/2022 14:49, Gaosheng Cui wrote: >> This series contains a fixup patches to fix possible memleak, >> and add error handling of dev_set_name to keep nvmem code >> implementation consistent, in addition, it can also avoid >> the possibility illegal address access. Thanks! >> >> Gaosheng Cui (2): >>    nvmem: core: Fix memleak in nvmem_register() >>    nvmem: core: add error handling for dev_set_name >> > > I have applied these patches for now but remember the subject line > does not reflect the patch version or the cover letter does not > include any changes done over the versions. > > Please take a look at > https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html > > > thanks, > Srini > >>   drivers/nvmem/core.c | 27 +++++++++++++++------------ >>   1 file changed, 15 insertions(+), 12 deletions(-) >> > .