Message ID | 1782450689.743721463366773827.JavaMail.weblogic@ep2mlwas03c (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-pm-owner@kernel.org> X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 87F2BBF29F for <patchwork-linux-pm@patchwork.kernel.org>; Mon, 16 May 2016 02:46:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 21C3D201FE for <patchwork-linux-pm@patchwork.kernel.org>; Mon, 16 May 2016 02:46:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 93D8C20165 for <patchwork-linux-pm@patchwork.kernel.org>; Mon, 16 May 2016 02:46:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752410AbcEPCqR (ORCPT <rfc822;patchwork-linux-pm@patchwork.kernel.org>); Sun, 15 May 2016 22:46:17 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:35295 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895AbcEPCqQ (ORCPT <rfc822;linux-pm@vger.kernel.org>); Sun, 15 May 2016 22:46:16 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O7902HEN111LOE0@mailout2.samsung.com> for linux-pm@vger.kernel.org; Mon, 16 May 2016 11:46:13 +0900 (KST) Received: from epcpsbgx4.samsung.com ( [172.20.52.115]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 25.6C.05366.57439375; Mon, 16 May 2016 11:46:13 +0900 (KST) X-AuditID: cbfee68f-f79d26d0000014f6-89-5739347505f1 Received: from epmailer02 ( [203.254.219.142]) by epcpsbgx4.samsung.com (EPCPMTA) with SMTP id A7.C5.05093.57439375; Mon, 16 May 2016 11:46:13 +0900 (KST) Date: Mon, 16 May 2016 02:46:13 +0000 (GMT) From: MyungJoo Ham <myungjoo.ham@samsung.com> Subject: [PATCH] PM / devfreq: fix duplicated kfree on devfreq pointer To: linux-pm@vger.kernel.org Cc: myungjoo.ham@gmail.com Reply-to: myungjoo.ham@samsung.com MIME-version: 1.0 X-MTR: 20160516024530454@myungjoo.ham Msgkey: 20160516024530454@myungjoo.ham X-EPLocale: ko_KR.utf-8 X-Priority: 3 X-EPWebmail-Msg-Type: personal X-EPWebmail-Reply-Demand: 0 X-EPApproval-Locale: X-EPHeader: ML X-MLAttribute: X-RootMTR: 20160516024530454@myungjoo.ham X-ParentMTR: X-ArchiveUser: X-CPGSPASS: N X-ConfirmMail: N,general Content-transfer-encoding: base64 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 Message-id: <1782450689.743721463366773827.JavaMail.weblogic@ep2mlwas03c> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMKsWRmVeSWpSXmKPExsWyRsSkWLfUxDLc4MUGS4vPvUcYHRg9Pm+S C2CMErFJSc3JLEst0rdDsBJEMg4u/cdW0MNWsfvYMZYGxi+sXYycHEIC6hKLlpxkA7ElBEwk DryZDWWLSVy4tx7I5gKqWcooMW/xImaYomOznrJCJOYwSqy98529i5GDg0VAVeLjShEQk01A T2Lm52SQcmEBN4krz6aBzRQRUJS4e/49C4jNLCAv8WHHFTaIG5Qk1ux7BRbnFRCUODnzCQvE KlWJq/cvQMXVJJofTWOHiItLXJh7CcrmlZjR/hSqXk5i2tc1UGdKS5yftYER5pfF3x9Dxfkl jt3ewQRhC0hMPXMQqkZL4vD+f1C/80msWfiWBaZ+16nlzDC77m+ZC9UrIbG15QkrxC+KElO6 H4JDgVlAU2L9Ln10r/AKeEoseb6KGRRqEgJnOCQOtv9hmsCoNAt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HYwNF6wPMapz MEqJluYVJyfm5SUm5aTG5ybmpOUX5aamKPHwCnyzCBdiTSwrrsw9xKgCtOnRhtUXGKVY8vLz UpVEeC31LMOFeFMSK6tSi/Lji0pzUosPMZoCI3Uis5Rocj4w7eaVxBsaG5uYmZhamlgYmJor ifMG/F0XJiSQnliSmp2aWpBaBNPHxMEp1cD4LHNPcKJugvWnGLNbB8rPHLpWeDHQukVJzGDG YvmSgKUZdTP4xBaZH32dE19vb541+aBTeGK44bXP5wU0IpnjJd2PLZoxw0ppfYfERqHqHR/e NsxdtU3rZcQeoSknV5iu7/a97jLVLy+99+lOtpleiic/f9/690Of+a/QnzNbrJoW//p2LOmg EktxRqKhFnNRcSIAcnBUVoMDAAA= DLP-Filter: Pass X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, MIME_BASE64_BLANKS, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 31faf85..20e8ac1 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -565,7 +565,6 @@ struct devfreq *devfreq_add_device(struct device *dev, err_init: list_del(&devfreq->node); device_unregister(&devfreq->dev); - kfree(devfreq); err_out: return ERR_PTR(err); }
device_unregister() calls kfree already. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> --- drivers/devfreq/devfreq.c | 1 - 1 file changed, 1 deletion(-) -- 1.9.1