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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76841C433EF for ; Fri, 18 Mar 2022 12:50:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AE4F98D0002; Fri, 18 Mar 2022 08:50:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A93C98D0001; Fri, 18 Mar 2022 08:50:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 95A8E8D0002; Fri, 18 Mar 2022 08:50:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0097.hostedemail.com [216.40.44.97]) by kanga.kvack.org (Postfix) with ESMTP id 860BC8D0001 for ; Fri, 18 Mar 2022 08:50:43 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 29A2F8249980 for ; Fri, 18 Mar 2022 12:50:43 +0000 (UTC) X-FDA: 79257491166.30.87103B7 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by imf13.hostedemail.com (Postfix) with ESMTP id 203D320029 for ; Fri, 18 Mar 2022 12:50:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1647607842; x=1679143842; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=FmY3ND2fF0Js4ycsEpE7SsyqJISUuOn9T/CQ120h2J0=; b=EDMu6YiXxfTxmmQcwd06eSjeKz1jE8R1uN/PFP5Bw6E9Tb9cjkiE1ES2 U/RYNQ+S2iwBRF5Tr63w57MxyfZrLnhN/nUpd4HDs9uqqf/5ysW6uG1Wl 4NXxUoBTreLiYFXm5A/rcXrMkGMRb3sqsZYKatWV50O3z+ErRG7LzhdsQ Q+Jx+OlNCVKMhaqeR/lHWqj7tbN4OqMxDTN3/QPuXrVSk2eIOjYaiKdIi Cz1UZXrINAneTGHEPww9nVcc5v/BtNvBqMPaYsQUqVVv95wouNHyAHdDS o4wC+4aezYuaBM4RgVt/IHYKTDY0KZetfh/u3pMcHNBdnjS+f0/96MjAl Q==; X-IronPort-AV: E=Sophos;i="5.90,192,1643698800"; d="scan'208";a="157385745" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Mar 2022 05:50:40 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 18 Mar 2022 05:50:40 -0700 Received: from [10.12.72.220] (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 18 Mar 2022 05:50:38 -0700 Message-ID: <4d80ae1a-412d-3b86-6cfd-f457736c1e42@microchip.com> Date: Fri, 18 Mar 2022 13:50:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [linux-next:master 7918/13392] drivers/soc/microchip/mpfs-sys-controller.c:73:1-6: WARNING: invalid free of devm_ allocated data Content-Language: en-US To: Arnd Bergmann CC: Conor Dooley , kbuild test robot , , Linux-MM , conor dooley References: <202203180259.lgIylRZV-lkp@intel.com> <20220317211734.1340281-1-mail@conchuod.ie> From: Nicolas Ferre Organization: microchip In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 203D320029 X-Stat-Signature: o6ydpu6r3ifhmpnykkpgm14rjjcgyc83 X-Rspam-User: Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=microchip.com header.s=mchp header.b=EDMu6YiX; dmarc=pass (policy=quarantine) header.from=microchip.com; spf=pass (imf13.hostedemail.com: domain of Nicolas.Ferre@microchip.com designates 68.232.153.233 as permitted sender) smtp.mailfrom=Nicolas.Ferre@microchip.com X-Rspamd-Server: rspam02 X-HE-Tag: 1647607841-184206 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 18/03/2022 at 12:02, Arnd Bergmann wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On Fri, Mar 18, 2022 at 10:43 AM Nicolas Ferre > wrote: > >> Is there a drawback to this approach in the sense that it can trigger >> other test robots? >> >> This way, we won't have to disturb Arnd as I believe that his branches >> are all ready to be sent to Linus after this week-end. Additional >> benefit, you don't have to change your plans and enjoy St Patrick >> week-end ;-). > > I don't mind taking last minute fixes for buggy patches that I have queued > up, that seems better than sending the wrong code first and fixing it up > later. Fair enough. > I would fix it myself, but I don't immediately see what the > correct fix it. > Do we just remove the kfree(), or does that conflict with the lifetime rules > in case we unbind the driver before the put() callback is called? Thanks Arnd! Best regards, Nicolas -- Nicolas Ferre