Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp622318imm; Wed, 18 Jul 2018 07:59:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpejMpAQKtUhIYQYeeNy9Nb2ROmkbq+vuM7667L6h4iyF3RmpuPOfzWKfDDUN+9oHtDaIVgP X-Received: by 2002:a63:e0b:: with SMTP id d11-v6mr6188174pgl.134.1531925975794; Wed, 18 Jul 2018 07:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531925975; cv=none; d=google.com; s=arc-20160816; b=ocT+a35MbYGDTGOj+7R+9wGnawcp2qLdnl/2pcbIUuCkaiBXupfaBjIv65xBSnAaXY +adG392+g+9dxMpMYI5CSfXuv8zYrD+JXG2QdHo621/DpPNYKdHknBZt6SvLTzeyrJuT okDqfCD9gP8JrXQ9YrkyvP6fzWuEoKB+U24YJFWhJqlIHdyzE56mD3fjpPetCpLhyjy8 X6biQlfXcjPEeKGzyy+orfnWDUe6F7n7AivCXB6cD9AUAt43RhE1ti7f6cxjmPVCSwUP zmfBPirBwq2soOBHY08rN775d8kqWvcHZorzPZPi6cp1K9Tcto81FByY9J/U2tKM3Ks4 5fmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=6Pe0GBEFvs8mmLxK/dV6bQaeXSIx4b0D+btovw06Ybs=; b=DYHnx5t5aAzcS7t2dwJZ490RjKojXH4BKknheWrDulxrr87FkJLGJDeh1UdKTCBY1d v/Y4KRTR5GPQciawCRlzlVgfuolRW5I6zcqjrXq3X7rmTjE4oUDaD3M4MBRHUB/Ww2ym W18pzNK1pWuRi0o9Tx26jv26gvzaVWpW+WWxVgHEst6gQDrET2ArUAkr74axcqw3vl75 SfytbH43iQLOkIY6fKNeCC14HQhksBOmOHC7wamoCi4F2CGIYucMcbie+x0VA2ujAqof rY3UvVW/EfEW/9YzauAxT3maLQLlz9pC9M3cWgbe+rALav8OWTkuwBNqosBRnmyg6XEP bdaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uhsIC118; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1-v6si3582282pfd.139.2018.07.18.07.59.20; Wed, 18 Jul 2018 07:59:35 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=uhsIC118; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731154AbeGRPg7 (ORCPT + 99 others); Wed, 18 Jul 2018 11:36:59 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:32860 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730763AbeGRPg7 (ORCPT ); Wed, 18 Jul 2018 11:36:59 -0400 Received: by mail-pl0-f65.google.com with SMTP id 6-v6so2170388plb.0; Wed, 18 Jul 2018 07:58:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6Pe0GBEFvs8mmLxK/dV6bQaeXSIx4b0D+btovw06Ybs=; b=uhsIC118guJDkHjyzIOz0kbK+g8m67VaMaOR15Xnu2uSVVkDn0epPVVSpEnbs5nkvX xOCjsfT7qKypQHRhn9twXOGWGyncFfagb8XZ1odAp48OTg40I1alSYXbFg5kMx89SLWn c1rUaj+ZbMY0a7ODRsVZTQMo+CI8iUcchByCFbKuYXrTZd8KLGV4nMm/eTpbrGRmm1k8 gCKPfwp+lc7hv1Fiirn7LQm8AZFX40wGM01iLQxdDjuwDnobW+ydcf1chBf2dneLHfL6 VRp1kquMPnwWQg6lXJEvJTRQhI7Y8PDCTBcPQ2n6kr4TO7VaY0VYzEi/tPXVS6/YnvV4 1W2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=6Pe0GBEFvs8mmLxK/dV6bQaeXSIx4b0D+btovw06Ybs=; b=nicHf6eyApmQO168mFkjBo9ROBxKSF0Zy+xLPQ/0/KLHkYN4P9XUYbNXdT5/rjS2Z+ MYe//VXBKoitQwTNnG+8i39005NsSML0haW0r3Q18mc9X+5HqP5J5hLXNc7mAnCKW7iA DL1DTQBDl/zlfLmI7N730OtY2vdMhjR0yGeLT2tSFupf+bBOiwbVpAQ9tCHvVAQtI1aL gOxRLo3huu1/v0RhCOOWeFj7Ahx3e9L7Bb0BHxRo1B9mmT4CiYJ07/U6bU6psB/Y5WJO R8zK7drjYXrSuZuwH8XPaHaokfCJ6676+sv1EGkpn7FbIuI0EVChtuCNvgHLUP66A6Fl 3HVg== X-Gm-Message-State: AOUpUlFh+w/cQhZZVE93ojCHQV/XaOza7LcNBSh51rVyAy6qQoHlRZlh 3JHxWi9ExO+EKeap69JYeKk= X-Received: by 2002:a17:902:6845:: with SMTP id f5-v6mr6185291pln.173.1531925920660; Wed, 18 Jul 2018 07:58:40 -0700 (PDT) Received: from ziggy.stardust ([37.223.136.20]) by smtp.gmail.com with ESMTPSA id g15-v6sm11665398pfg.98.2018.07.18.07.58.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 07:58:38 -0700 (PDT) Subject: Re: [resend PATCH v4 2/5] clk: mediatek: mt2701-mmsys: switch to platform device probing (fwd) To: Julia Lawall , matthias.bgg@kernel.org Cc: ulrich.hecht+renesas@gmail.com, laurent.pinchart@ideasonboard.com, ck.hu@mediatek.com, p.zabel@pengutronix.de, airlied@linux.ie, robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@codeaurora.org, lee.jones@linaro.org, sean.wang@mediatek.com, gregkh@linuxfoundation.org, rdunlap@infradead.org, linux@armlinux.org.uk, dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, Matthias Brugger , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, mchehab@kernel.org, pi-cheng.chen@linaro.org, davem@davemloft.net, linux-kernel@vger.kernel.org, kbuild-all@01.org References: From: Matthias Brugger Openpgp: preference=signencrypt Autocrypt: addr=matthias.bgg@gmail.com; prefer-encrypt=mutual; keydata= xsFNBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi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CnbfUeyZYNNhNHZosl4dl7f+am87Q2x3pK0DLSoJRxWb7v ZB0uo9CzCSm3I++aYozF25xQoT+7zCx2cQi33jwvnJAK1o4VlNx36RfrxzBqc1uZGzJBCQu4 8UjmUSsTwWC3HpE/D9sM+xACs803lFUIZC5H62G059cCPAXKgsFpNMKmBAWweBkVJAisoQeX 50OP+/11ArV0cv+fOTfJj0/KwFXJaaYh3LUQNILLBNxkSrhCLl8dUg53IbHx4NfIAgqxLWGf XM8DY1aFdU79pac005PuhxCWkKTJz3gCmznnoat4GCnL5gy/m0Qk45l4PFqwWXVLo9AQg2Kp 3mlIFZ6fsEKIAN5hxlbNvNb9V2Zo5bFZjPWPFTxOteM0omUAS+QopwU0yPLLGJVf2iCmItHc UXI+r2JwH1CJjrHWeQEI2ucSKsNa8FllDmG/fQ== Message-ID: <11ba8df2-21f3-71e5-8467-813eda93f8ec@gmail.com> Date: Wed, 18 Jul 2018 16:58:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/07/18 16:54, Julia Lawall wrote: > Please check on whether the kfree is still needed. No it is not needed, thanks for noting. Matthias > > julia > > ---------- Forwarded message ---------- > Date: Wed, 18 Jul 2018 22:03:48 +0800 > From: kbuild test robot > To: kbuild@01.org > Cc: Julia Lawall > Subject: Re: [resend PATCH v4 2/5] clk: mediatek: mt2701-mmsys: switch to > platform device probing > > In-Reply-To: <20180717220328.792-3-matthias.bgg@kernel.org> > References: <20180717220328.792-3-matthias.bgg@kernel.org> > TO: matthias.bgg@kernel.org > > Hi Matthias, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on sof-driver-fuweitax/master] > [also build test WARNING on v4.18-rc5 next-20180718] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/matthias-bgg-kernel-org/arm-arm64-mediatek-Fix-mmsys-device-probing/20180718-191916 > base: https://github.com/fuweitax/linux master > :::::: branch date: 3 hours ago > :::::: commit date: 3 hours ago > >>> drivers/clk/mediatek/clk-mt2701-mm.c:128:1-6: WARNING: invalid free of devm_ allocated data > > # https://github.com/0day-ci/linux/commit/555e11caac5f7729e8927939046adbfa2264f9f5 > git remote add linux-review https://github.com/0day-ci/linux > git remote update linux-review > git checkout 555e11caac5f7729e8927939046adbfa2264f9f5 > vim +128 drivers/clk/mediatek/clk-mt2701-mm.c > > e98621182 Shunli Wang 2016-11-04 122 > 555e11caa Matthias Brugger 2018-07-18 123 static int clk_mt2701_mm_remove(struct platform_device *pdev) > 555e11caa Matthias Brugger 2018-07-18 124 { > 555e11caa Matthias Brugger 2018-07-18 125 struct clk_mt2701_mm_priv *private = platform_get_drvdata(pdev); > 555e11caa Matthias Brugger 2018-07-18 126 > 555e11caa Matthias Brugger 2018-07-18 127 kfree(private->clk_data); > 555e11caa Matthias Brugger 2018-07-18 @128 kfree(private); > 555e11caa Matthias Brugger 2018-07-18 129 > 555e11caa Matthias Brugger 2018-07-18 130 return 0; > 555e11caa Matthias Brugger 2018-07-18 131 } > 555e11caa Matthias Brugger 2018-07-18 132 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation >