Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4080417ybl; Mon, 9 Dec 2019 05:14:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwl12ygWPcKzrXakA/PlVOPRNvqtr5Vt0YsXNcrmuT3Qmg2+YOn8SzfrHvNfYf1O0hDDQfA X-Received: by 2002:aca:4712:: with SMTP id u18mr24408764oia.156.1575897297228; Mon, 09 Dec 2019 05:14:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575897297; cv=none; d=google.com; s=arc-20160816; b=V3UCqpFN4BLSVO7Q+2mQs14HhPEu93/FCbekE9wrus0l66jTnrOIuZkUvkogzDmvF1 96BpKbEhZ7J10BdVkU1l8ADdoNOe3iWWUj80fSI/6/qGtl7fB+DPZO/ndqEHcoNCJ+vT Mhn2TbzU2KVZ1ZRm9ZZzzo6VDlGvjZPBaeMxFomgq++rpVfWIKkMhvHXMQJ9cJrbbnvV AS7XMAXdFu87VUe9Q5ZlMsvH1lnzed9enGzla8feryYArlHYSfPENHcrhxDfMgLwtMhk 4EUvQ9Gz12G+WVHQtej92iVHsx+DXIksmX53geSO3t9IrPX1seskgP6uZzKfd94cI00m lSfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bUge0ixzIJRgOEK4iKWBzjpSBLc6dnY7S7okAx0uGz8=; b=vJEXq90mflvmysgro8HKwdvmq32Nt5UzdwGRmCvu42ZxjTgYYCg76GjE32WOF2gxvN arQQfIWVXybbItkViJdEvQagLLb3RcMmaggfUp+mDLJM0YnZ+9g5dsrb8qRsTxKJvz7D ShPj/4Ou04+iXehYoj/9idJKUHosXuaikC2pShbY9XlBY+oG80G9qvIzbKMeJw3yWJww aok0OuK50Jcgbj7ZWKjCpy8uheSn5hO0GlKWI6GBo04g/CTqQeNtP1XwC8wdDRTkDGMc nfvDQ4JWh+Do4imzpCRxI8AqOYFvgofEpl0LTphvV4gWeg7eLLmwuQc7LOPpVmgYCBf9 mWeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eTlJj55q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si11620290otb.280.2019.12.09.05.14.44; Mon, 09 Dec 2019 05:14:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eTlJj55q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727658AbfLINOA (ORCPT + 99 others); Mon, 9 Dec 2019 08:14:00 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:45159 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727038AbfLINOA (ORCPT ); Mon, 9 Dec 2019 08:14:00 -0500 Received: by mail-wr1-f65.google.com with SMTP id j42so16086495wrj.12 for ; Mon, 09 Dec 2019 05:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=bUge0ixzIJRgOEK4iKWBzjpSBLc6dnY7S7okAx0uGz8=; b=eTlJj55q92MdmXGG5b5fw8Yo2s9Q3sY+dgu3HtIdFiBgV2x85n/fFmfTbIf6/KZCnu HrMTtNfuZUWYwEyPkuojxYzefEKYC30RBLsCcSFdRRHKso1OV3K2AEXDNfgvrCke8hzZ GklsGKd84+URKyQZuIEDN8Nm2r/j15FkaRKZ2p5bVosl3pg176UUQH89Of67BxNMb0fS p0DyQnyTdpjUR2VF1vTJOh+q9wJ6v8m31DLluno4YFJKmq6Kp4Npd13h3cRk9ds2ofJR 8qoPf4PnjT1jWj/me+W0jgPhzK/ZKu3w/v+pPhTMS4Uvli79Dxd0nyGNJi157BL55XcJ LhnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=bUge0ixzIJRgOEK4iKWBzjpSBLc6dnY7S7okAx0uGz8=; b=Z7LpoGse7cLpHkOv7mBx4oYL5YC9doJHEfM6hok7NKvBdkHZu8E59mKaHVWXdqP8cX naM7dJp7mAhUQancpIPwaUFDzr1xaHexZ6aCcmk24rmPvNXiV1wdKF6peGurgOXGSbGe x8oWdcxSWEt/+WsYSSFk1OLI3wVbGEMAFKZKxFp9hucQtRU3j1K+Q7UHcN2LuM0cmH0b CoAd7qboXgLUadn9Td0I2rJ0Jif667e57xIqg3A3+DrQObZJ796I2anbpHS8NQafPbEh C2/K1CMD9eUow99U3UfQTsYJHzXAUhsPw/7SN9rDXl83kdLcJLyBip2YbNXrjssth5m3 2SYA== X-Gm-Message-State: APjAAAVOVGOEkSxODpoPRgEvt5knfnDuUzf0ox2l72mbuTFTL/tnhryr RZyQ91Jo9ypd2WqBFpaER38HKA== X-Received: by 2002:a5d:5487:: with SMTP id h7mr2112222wrv.18.1575897238325; Mon, 09 Dec 2019 05:13:58 -0800 (PST) Received: from dell ([2.27.35.145]) by smtp.gmail.com with ESMTPSA id w17sm27593924wrt.89.2019.12.09.05.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 05:13:57 -0800 (PST) Date: Mon, 9 Dec 2019 13:13:52 +0000 From: Lee Jones To: Chuhong Yuan Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: sm501: fix mismatches of request_mem_region Message-ID: <20191209131352.GK3468@dell> References: <20191116151308.17817-1-hslester96@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191116151308.17817-1-hslester96@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 16 Nov 2019, Chuhong Yuan wrote: > This driver misuses release_resource + kfree to match request_mem_region, > which is incorrect. > The right way is to use release_mem_region. > Replace the mismatched calls with the right ones to fix it. > > Signed-off-by: Chuhong Yuan > --- > drivers/mfd/sm501.c | 19 +++++++------------ > 1 file changed, 7 insertions(+), 12 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog