Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4566146rwb; Wed, 17 Aug 2022 02:09:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR5fq/EUfTlrkDjCDixJ9gYPyu9ZUoSs387qbc/tdGWvo0yC9RYzNlhIGxxMH3HCdOwMZ45n X-Received: by 2002:a17:906:98d5:b0:738:3402:197 with SMTP id zd21-20020a17090698d500b0073834020197mr11152806ejb.581.1660727342061; Wed, 17 Aug 2022 02:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660727342; cv=none; d=google.com; s=arc-20160816; b=RbVHmlJ+Reo7xGJ3yLJRo+mE8HbF5yZg2RDnbqrlWc+9FcT0hxsiyF7gFpBiOc8rfg rapRYwBuEc2TFbJqgkP5KZU4ApenYzAOeMyyRi5mqqIbw8xOl/bUzi1yfdy1BXAfiEjI gb5sNpkOoYOnxkv6EB2kpewVDsixCiDDoF6l6HcprnNEq61WBGeuxQ4LEwufmZ2wjglE UuJhkKoVCkpQgRoCfBsJq3Md9FQSl9ac1NNdeAV+1hB9bMWH1MJqBMy5SXMtclOaoBTy WK2RVEPn1s7yjsxkoZTt+UWB4r60z+EwpJ0fi9/0/xK+9RgX7S3dgHiRJ/mESM/BDYhR XLRQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ThOupP1C3sWGkR8YTA9lIOcDCJaA8RWHs26nsOfcU2g=; b=H0DA6E2pnzcVqZZNK4hm2ymP3x/Y5OLIDXvJ6/R6DMMwar+hS6VMFt9tPHaMknMmAn 4Rll6aKnXEFrh+DkOHhPj7wv/7HPdYg0n8Tj69humuc1/i3XJghu+qlKeQ53MkkI4DA5 H8SyT1re6Ob2dYtBCl7/MwEOQvDm4hJkmVbyHii/HUWNWIEnGllBXSVQgZ5ywnIiBpp+ iec5DyYxk0auqBvCyEWBEOJdMhCd/giGF8g3MVYXi5GrHc1Nj0emc1rR7T9rvueUJf4q KR3TRMtcwD4H5ze6ykzF/IqYG+lEr9Qf9fGofEOf/boOY87acoQ7IYK0d7yDGdUIwFO7 USKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JHXefkT+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a056402254900b0043bb7218ddasi13393843edb.279.2022.08.17.02.08.36; Wed, 17 Aug 2022 02:09:02 -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; dkim=pass header.i=@linaro.org header.s=google header.b=JHXefkT+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232736AbiHQIx1 (ORCPT + 99 others); Wed, 17 Aug 2022 04:53:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiHQIxZ (ORCPT ); Wed, 17 Aug 2022 04:53:25 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 018DA2EA for ; Wed, 17 Aug 2022 01:53:22 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id n4so15386989wrp.10 for ; Wed, 17 Aug 2022 01:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=ThOupP1C3sWGkR8YTA9lIOcDCJaA8RWHs26nsOfcU2g=; b=JHXefkT+BGmm6sSSaygBhM7NuFFxP2EbpYXo68EiWXmM7LMwfTekQ8r0JGA1ocIwN0 KI+cNgSEZwz0/jpc5MOHzKZqAquyv2fMcBIAvPTkNZMJzwNr+hQXb2akjs2t7l9Qmd8b 817DcpUeGHyc8Fz4ftYo8cMFCnChlTpq78cwiDyEejsHN74EmNhqaSCuiq3DkOLUgFo9 xzVwX4H+sf6Op5mtbp9U33vLu/JVulj8p8BmBd+AKo4JNSfiS2La0xAcf0i6WSW5HJxs h/woRN8k/0pOj3oAFVKDV/UAXORKK90S2rwXjXaPNArvPNaiVU6XOcZ8vDsGRPN00wqE Y6Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=ThOupP1C3sWGkR8YTA9lIOcDCJaA8RWHs26nsOfcU2g=; b=yfMYtdlJjoyX6eofESKATnjZ+A6lluLOULpGXuX9UgXMsUlA7MiMpLJkDWf5rGiHmq Vlk8taAKK9QiFYW3VdUH1wZ1tuwrM4Uxf+EGNZ2btu9I9rbMWdgDU4QwI0MwCMD9EGNN fsWw3+eDsTs+0fJHXlGN7JC7MPYKWSjUSZL0a0vXoIuT74LUYmUjFrBL/xc32n17gvqC QyqJ2EfU9WSx2bPFwjere5iKF6yM/ZzT6joe733Q36+6J9dPpzJucJtdRevW2PxSWMfD +M83rMUCvrAuPdxCUH73PiUBLPUYWNTBZQWk5KW8wbVMY3QDPbVtFKkNQxv8EVjd8+HV R7Tw== X-Gm-Message-State: ACgBeo2dL1hHX9k1GCZP5dGCUcT/J03FGdhzrGNHYia4SEIAONLLRv4M PUt2nZqHaX9h3XvtB1eEUixv4nTEsI2C2Q== X-Received: by 2002:adf:ce0e:0:b0:220:7eed:3ce3 with SMTP id p14-20020adfce0e000000b002207eed3ce3mr13251664wrn.148.1660726401545; Wed, 17 Aug 2022 01:53:21 -0700 (PDT) Received: from [192.168.86.238] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id h4-20020a05600c414400b003a60bc8ae8fsm1448823wmm.21.2022.08.17.01.53.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Aug 2022 01:53:21 -0700 (PDT) Message-ID: Date: Wed, 17 Aug 2022 09:53:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH -next 0/2] A few fixup patches for nvmem Content-Language: en-US To: Gaosheng Cui , gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, wangweiyang2@huawei.com References: <20220816134935.263825-1-cuigaosheng1@huawei.com> From: Srinivas Kandagatla In-Reply-To: <20220816134935.263825-1-cuigaosheng1@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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(-) >