Message ID | 1426811471-21011-114-git-send-email-sasha.levin@oracle.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDPILVOKSELBBB6ZVWUAKGQEKFL6ZMI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 76F392153C for <linaro@patches.linaro.org>; Fri, 20 Mar 2015 00:40:40 +0000 (UTC) Received: by wivr20 with SMTP id r20sf771970wiv.0 for <linaro@patches.linaro.org>; Thu, 19 Mar 2015 17:40:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:subject:date :message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=LBMLq5+vL3lPMbfyu5TY7Gg2n+DR8lSG5EqP+WrmErs=; b=Yzy5OcFdQpbbQngSCmRLEEV40Kf8JnCYeqWLCGkzUO4DOZyXh7cWD+n1GwSmmPh18R EqcxEXo6vOY+Ig8LQ7Mo6lYWqJ9P9dl5JZCER+za1Fz69eV2K8BalJQJFEW+09lfySqi RrM5jxpV4H23L/jcRjSLMhOYlnFRlZIDYpd+LcmbKnsiRFv4/FhiCZtysDsR2g0KogNo 4PZyyl2m22DQxBZ5cHsKKpgC8rnTj2exEFGN46laqSL3tElz/ypzufiAXSLlMgI4TGSJ AycpWll2Rn2Up/3vevTYLbc6kYlljN1/G4ZBzGM+cvjy97iSlaLch6HjpdKi3firRJNv dDyA== X-Gm-Message-State: ALoCoQnFea17yAASguuPl0u/+8iuhg+POohNCmHID182C7WgbWNoC8rGYxi7BtADOEr3R5fxVQRO X-Received: by 10.112.120.136 with SMTP id lc8mr9478932lbb.24.1426812039796; Thu, 19 Mar 2015 17:40:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.163 with SMTP id az3ls333766lab.64.gmail; Thu, 19 Mar 2015 17:40:39 -0700 (PDT) X-Received: by 10.112.64.2 with SMTP id k2mr72118640lbs.54.1426812039680; Thu, 19 Mar 2015 17:40:39 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id dt5si2057395lbc.111.2015.03.19.17.40.39 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Mar 2015 17:40:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbsy1 with SMTP id sy1so64868520lbb.1 for <patchwork-forward@linaro.org>; Thu, 19 Mar 2015 17:40:39 -0700 (PDT) X-Received: by 10.152.121.33 with SMTP id lh1mr71101086lab.86.1426812039249; Thu, 19 Mar 2015 17:40:39 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp717357lbj; Thu, 19 Mar 2015 17:40:38 -0700 (PDT) X-Received: by 10.66.216.40 with SMTP id on8mr133153970pac.27.1426811609288; Thu, 19 Mar 2015 17:33:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id td9si5757402pac.213.2015.03.19.17.33.28; Thu, 19 Mar 2015 17:33:29 -0700 (PDT) Received-SPF: none (google.com: stable-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751883AbbCTAdK (ORCPT <rfc822;patch@linaro.org> + 1 other); Thu, 19 Mar 2015 20:33:10 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:32235 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751722AbbCTAcV (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 19 Mar 2015 20:32:21 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t2K0WJnM031823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Mar 2015 00:32:20 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t2K0WJ4v015297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Mar 2015 00:32:19 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t2K0WJ5l032441; Fri, 20 Mar 2015 00:32:19 GMT Received: from lappy.hsd1.nh.comcast.net (/10.154.122.64) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 19 Mar 2015 17:32:18 -0700 From: Sasha Levin <sasha.levin@oracle.com> To: stable@vger.kernel.org, stable-commits@vger.kernel.org Subject: [PATCH 3.18 113/154] clk: Fix debugfs clk removal before inited Date: Thu, 19 Mar 2015 20:30:30 -0400 Message-Id: <1426811471-21011-114-git-send-email-sasha.levin@oracle.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426811471-21011-1-git-send-email-sasha.levin@oracle.com> References: <1426811471-21011-1-git-send-email-sasha.levin@oracle.com> X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: stable-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: stable@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 26bed08..7d74830 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -343,13 +343,9 @@ unlock: static void clk_debug_unregister(struct clk *clk) { mutex_lock(&clk_debug_lock); - if (!clk->dentry) - goto out; - hlist_del_init(&clk->debug_node); debugfs_remove_recursive(clk->dentry); clk->dentry = NULL; -out: mutex_unlock(&clk_debug_lock); }