Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26156810rwd; Mon, 3 Jul 2023 06:13:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlEeclsiDGo95m8cnWcqVEmo8tKIHBruYEDfrB3Pi9NBlUUxvBSSErcdKYq00bacq623nZb+ X-Received: by 2002:a17:90b:4d83:b0:259:24c4:4dd4 with SMTP id oj3-20020a17090b4d8300b0025924c44dd4mr8357213pjb.10.1688390013680; Mon, 03 Jul 2023 06:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688390013; cv=none; d=google.com; s=arc-20160816; b=p1fSplk1RB2F6V4fOKZ0nxt/THDx5dPiVGKk3ZjbNF4XbAgqFWHNjtSnxr4BEF1Kci qPhJY2GWQ3NXHLzMZPqSnF/QHyU5a1ElzxD8YYr6RydLN2JBjGVjo7Pdy7azKLB5juwN 7WvIoWFXNG0UVJMc0jQXoEqP7KGM6vjlkL9x+sq3nuDIXfuzhUzMHsUG7nSvKCk7GGFA WLBZig1p5JEIrhrVuw996IJZ/Esiph7ymxLm5BiPa0wPxgCmQLXlV5fOd4GtyMlw+AF4 ceW0N5tRLE1+NrsD9cRcthUJrGVSDrjFCaSooPlor9OdSx8Dml9lgWN5+9z26npqMhvX WKyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=v5vg9Foed0fGCLC6fQJ5romEdNjTvzK0Z22HuX4YlC8=; fh=Wz62RDJhbeM6I+TeTj/Fq0vTeg6U9YCJ11iC5hMmyC4=; b=r9d544o4uKw+DyU+DwPktk6h9+oZOuiTezqnvW26bmBRgc43fCjvAgYgom5qUcDVVc bPYaoh+qFuVZJmU0a7KgDEp8mBpPKJ4XK5CJ5IwMMRCzajNFjUQ0fTCJficvJhgZnaWJ Cr11aeMGM2UQESbDqwikntb77bAUs/FhQVEkMVk2pE4/FmnIB1zynEob5yE3fIInNNMc zzXHgWDCVpbqUfhmdGRspHCDQDL1tUB6Hn1mbg1NiaTY61OFTIrcHDsihHA6t//q3RqT kvsh0ni1KFRj7S9zXVteAsxtgs8MfD/oIvB2TzzUNgdIhpu2EbRaDdj+FXyHQgegHIed bLug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ygKIo91z; 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 nm23-20020a17090b19d700b00262e28866d4si16065663pjb.163.2023.07.03.06.13.19; Mon, 03 Jul 2023 06:13:33 -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=ygKIo91z; 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 S230215AbjGCMyy (ORCPT + 99 others); Mon, 3 Jul 2023 08:54:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231168AbjGCMyx (ORCPT ); Mon, 3 Jul 2023 08:54:53 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6617DE64 for ; Mon, 3 Jul 2023 05:54:49 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4faaaa476a9so6984915e87.2 for ; Mon, 03 Jul 2023 05:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688388887; x=1690980887; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=v5vg9Foed0fGCLC6fQJ5romEdNjTvzK0Z22HuX4YlC8=; b=ygKIo91z1/P+BIySSrpClLc3H42+uNOqyHBDRliREHJmsL3Y+/JwFDNhG/9agp16Go MBXAMfk6WX796GJagY8JIeBITY611anmlMZl6gyu5/YOYOCDfqrLSVikHnmnZQsyYZCd 9jWJsuoEPQ7eVjVdhyR2s+qsN3dIG/e8YsSh6TXlYI+Tm5UP3C7eVr4TC5s50Ghr1kbU V86G3M+NNER1+P4sulAH06zpVroor+hu5b5kBgmhJy5xcr6QjM9wLqKJ1eg3NUchXXsy o/Gk3akM2S7yRuUlAwucRhezb4zesIGfsJioOc4IJXBno7VBJi9rrBbBpigQEX/89VHf +oWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688388887; x=1690980887; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v5vg9Foed0fGCLC6fQJ5romEdNjTvzK0Z22HuX4YlC8=; b=eqdip/pK9ocvK+25c1xDgo2bGEhxDEV67kJnFtx7wZFa1SZA3RCulgsA75thZfJ5eT 1P8Fh1+hyHS0XNogd/CKXUGSjnnHmWT94Bp+LS4N53DkrRIWXCDzoeBmQlHM0yPrVwb7 ozUe8Ea+NmUO9Q083n6I+DAmjqwouCt2AUYeTtpsYc2DyIKxxAOC6iLBNwVkIYuQlLWW 4OJycZfwr4/4hmTSZ1/44LYrhzBU9Chm0vX/vPyTmRq9ectVq7F6FDlt/5O7wC29xk44 b393W+tX0TLl7jQgBeu0UUK+EjQpn6eGu4mfMgJtLLmiEOAqftl9cYeF0Kjy0hA98upS ZfUw== X-Gm-Message-State: ABy/qLZrodgh8cWyy9+THrcHQd7mPq8VkN9QSFirrWNtIoAxWkcfqy1h mL/qU2DsYIdRsBR6rMSu+bY+Jw== X-Received: by 2002:a05:6512:33c9:b0:4f8:7325:bcd4 with SMTP id d9-20020a05651233c900b004f87325bcd4mr7993114lfg.0.1688388887459; Mon, 03 Jul 2023 05:54:47 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id q20-20020a1cf314000000b003f90b9b2c31sm30179834wmq.28.2023.07.03.05.54.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 05:54:45 -0700 (PDT) Date: Mon, 3 Jul 2023 15:54:42 +0300 From: Dan Carpenter To: Christophe JAILLET Cc: wsa@kernel.org, Linus Walleij , Andi Shyti , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: Re: [PATCH v2] i2c: busses: i2c-nomadik: Remove a useless call in the remove function Message-ID: <885ee9fa-f56c-4e21-b648-866dd4e1dc0f@kadam.mountain> References: <62ae6810d41e0429ebaadfac8a95409f4bc72456.1688160163.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62ae6810d41e0429ebaadfac8a95409f4bc72456.1688160163.git.christophe.jaillet@wanadoo.fr> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fri, Jun 30, 2023 at 11:23:28PM +0200, Christophe JAILLET wrote: > Since commit a410963ba4c0 ("Merge branch 'i2c-embedded/for-next' of > git://git.pengutronix.de/git/wsa/linux"), there is no more > request_mem_region() call in this driver. > > So remove the release_mem_region() call from the remove function which is > likely a left over. > > There is no details in the above commit log, but at its end we can read: > Conflicts: > drivers/i2c/busses/i2c-nomadik.c > > This may explain why this call has been left here. > > Fixes: a410963ba4c0 ("Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux The reason why you're so confused about this Merge commit is because it's completely unrelated to the bug. :P It should be: Fixes: 235602146ec9 (i2c-nomadik: turn the platform driver to an amba driver) When you look at that commit, you'll see that your patch is correct. regards, dan carpenter