Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp619086imm; Wed, 18 Jul 2018 07:56:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeO9GCMuyBO4VD+35AQ6b3A87/xhdZFBvYNoz1Y9bxP+hWpivsmF1CtPznrChQ5LxYcnzZa X-Received: by 2002:a17:902:981:: with SMTP id 1-v6mr6303758pln.11.1531925767936; Wed, 18 Jul 2018 07:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531925767; cv=none; d=google.com; s=arc-20160816; b=AWgyFRaHFyBfygzY7jYtYydyc2gkeLMhLgf0cw+t6TVcBTLNK4ftmayiIsU9j0Tj0j RNlybtJhhl1KNQ0l5P10Y8AmM5iRQEvcg+Q9u7Tmg64wFG5P9usspn6CjeOYsngyqspl 2Gehy2rgeQWbUVQh9IUiok1qxgDJMiAJvSy1JgYGN40198lU+jWuzC+DvHef7kiomUXH v+oxsCmc0eFUgKzuvfsOS3IqX0SgxpOgIy+s8L8YKFE1fGfFhjh4ZO4xqoMuSib7aFAh yGsEmms+Gj1WSkvnBiVpZRfRtmdul3svssLRGgpbTfoDZQ7yUeAHRPx3kNhKnH7ppT7U wk1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date:arc-authentication-results; bh=MNxcoUzB+pO+CrhfwiYWXaPB+SfU/SwicVVikwFrSBM=; b=0I77lCu5clwTRW0a5UO+KvRu47talz/Y62zwacspJ/CTLrSuLz8JG9RY7CHE69iMGh 8CsByyUlapNta4iKxb7Dlo15HKDVxb94LRYYKgVZF8l4ryXnhqSu8HQBeqNCh7SH1B55 iaTOhqQuw4NqOa5bMviLDX8a9HcVRIswZfHiO6as4KA2sRDIqVZrGNUOZUbLRowpZ3TE c8JlnLV7UBQXWJRomSu1K5+yBg0ikIowSbl3zh6d/gEaDB06bcR1fvXC2XRylQXRpbho sJMsjffuBfH+LwAYS1RmGZZbHBSYXBxj1Q8I24Nfp9tkX+Cv410cb/mGaLLn3YOv+6B8 IXIg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1-v6si3132469pgo.337.2018.07.18.07.55.53; Wed, 18 Jul 2018 07:56:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731065AbeGRPdc (ORCPT + 99 others); Wed, 18 Jul 2018 11:33:32 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:20608 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730684AbeGRPdc (ORCPT ); Wed, 18 Jul 2018 11:33:32 -0400 X-IronPort-AV: E=Sophos;i="5.51,370,1526335200"; d="scan'208";a="339416605" Received: from unknown (HELO [132.227.125.40]) ([132.227.125.40]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jul 2018 16:54:57 +0200 Date: Wed, 18 Jul 2018 16:54:57 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: 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, matthias.bgg@gmail.com, mchehab@kernel.org, pi-cheng.chen@linaro.org, davem@davemloft.net, linux-kernel@vger.kernel.org, kbuild-all@01.org Subject: Re: [resend PATCH v4 2/5] clk: mediatek: mt2701-mmsys: switch to platform device probing (fwd) Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please check on whether the kfree is still needed. 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