Message ID | 1420847842-31769-12-git-send-email-mathieu.poirier@linaro.org |
---|---|
State | Accepted |
Commit | 2ccffaf92e7b7cc9dfa6c3458fc9cb151621680a |
Headers | show
Return-Path: <patchwork-forward+bncBDLPBG4DUEARBH6WYGSQKGQET2R3CYA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F1EFC2055F for <linaro@patches.linaro.org>; Fri, 9 Jan 2015 23:58:24 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id z12sf5980897lbi.2 for <linaro@patches.linaro.org>; Fri, 09 Jan 2015 15:58:23 -0800 (PST) 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:cc: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=1g6uzLlZ/wSCrwtB2uOqBPAff947OSe56NMHm8WFZlc=; b=IBMnIE1/OmURPX/pLSBDurCQLHs35WSKfe/rJA81bmL/nbY8ciIu9I/2vaQ0wXD1RR 3FLagoopXrfKeLyvwG1zDkwEIT3ppM/suEUvV2QF6hlQNMBnV1q98sJ3QzrAomHXPWz2 /bJe3TGCcjJiLeMHL8z2FouLuniF55/Vjr74rPzf/hpKSXvEVMeJwHSWIlxwUZDmbeT0 ewG9Twr4DUU3YDir1GnJWR6IAYr+ZDcAjUtleEtZx4KIO7rzM+eWy2phRSnzUawPkrBs T7+0yf3eDuA2nvwaId38KVnFnqG1Z7Zzumu7tsQJX/WAwIqnZBxJYwPE1yjyKpR9VGu5 TC/A== X-Gm-Message-State: ALoCoQlM6ioPoyqCfwpYywc2L1I3rAn9MsoZVXCNx6cR2UlMRlMn5tEFjWjyrkLHlmqyzxdXZ5My X-Received: by 10.112.148.198 with SMTP id tu6mr2330999lbb.3.1420847903900; Fri, 09 Jan 2015 15:58:23 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.101 with SMTP id 5ls488504lal.72.gmail; Fri, 09 Jan 2015 15:58:23 -0800 (PST) X-Received: by 10.152.22.67 with SMTP id b3mr24680446laf.82.1420847903507; Fri, 09 Jan 2015 15:58:23 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id ka7si14603715lbc.37.2015.01.09.15.58.23 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Jan 2015 15:58:23 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id l4so10586598lbv.11 for <patchwork-forward@linaro.org>; Fri, 09 Jan 2015 15:58:23 -0800 (PST) X-Received: by 10.152.8.11 with SMTP id n11mr22880974laa.38.1420847903405; Fri, 09 Jan 2015 15:58:23 -0800 (PST) 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.9.200 with SMTP id c8csp479196lbb; Fri, 9 Jan 2015 15:58:22 -0800 (PST) X-Received: by 10.70.45.106 with SMTP id l10mr27774542pdm.12.1420847901340; Fri, 09 Jan 2015 15:58:21 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pm2si15456741pdb.18.2015.01.09.15.58.20; Fri, 09 Jan 2015 15:58:21 -0800 (PST) Received-SPF: none (google.com: linux-kernel-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 S1758389AbbAIX5w (ORCPT <rfc822;jens.wiklander@linaro.org> + 27 others); Fri, 9 Jan 2015 18:57:52 -0500 Received: from mail-pd0-f180.google.com ([209.85.192.180]:34333 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758290AbbAIX5r (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Jan 2015 18:57:47 -0500 Received: by mail-pd0-f180.google.com with SMTP id fl12so20053354pdb.11 for <linux-kernel@vger.kernel.org>; Fri, 09 Jan 2015 15:57:47 -0800 (PST) X-Received: by 10.70.49.99 with SMTP id t3mr16926230pdn.105.1420847867003; Fri, 09 Jan 2015 15:57:47 -0800 (PST) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id od13sm8108693pdb.18.2015.01.09.15.57.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Jan 2015 15:57:46 -0800 (PST) From: mathieu.poirier@linaro.org To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org Subject: [PATCH 11/11] coresight: fixing validity check on remote device Date: Fri, 9 Jan 2015 16:57:22 -0700 Message-Id: <1420847842-31769-12-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1420847842-31769-1-git-send-email-mathieu.poirier@linaro.org> References: <1420847842-31769-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@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.180 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/coresight/of_coresight.c b/drivers/coresight/of_coresight.c index 89ebbe29ac97..9a5ff56f34d9 100644 --- a/drivers/coresight/of_coresight.c +++ b/drivers/coresight/of_coresight.c @@ -174,7 +174,7 @@ struct coresight_platform_data *of_get_coresight_platform_data( continue; rdev = of_coresight_get_endpoint_device(rparent); - if (!dev) + if (!rdev) continue; pdata->child_names[i] = dev_name(rdev);