Message ID | 1507890129-1543-14-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | def4eadba9f11f92608761506637df3ab91c72bc |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp560701qgn; Fri, 13 Oct 2017 03:28:18 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC1ndUBYZhMZb4j4nUXC/R3CLGtVmc2bqqv1Gua9RUsJMVoBBTmTir61KmgJridsFgHr0rK X-Received: by 10.80.189.204 with SMTP id z12mr1526249edh.2.1507890498416; Fri, 13 Oct 2017 03:28:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507890498; cv=none; d=google.com; s=arc-20160816; b=vWXhwfLT1PiSoW6HtI4lNetd28cxzAxgCJsDlrLT/uVgAvT5P8moN4CJjSrb32yWgG L2v2x5QxfOa3J4AShNKmLJRMeojW1mcQpSCuIh0E1nCaEHrybCerV9dCHQ/cw09SuNG2 1vhK7EzE7ucVMaorq//2RexfTetNpJdtT9yj0DeNg992MSY9+F86a0aTGC4ewW8tCb5i LuLTF0HQyaBJ9SqTnLYPCW1v3e2ybjkXZR5kqlEs4Uy5DGD74RJjeepizYry7dwz9SUI ZtW1smWXtr3fii4CWURjQIV39W3B0l5XMkWHB51nbmtLBCwn+CC0/ferpX8sKdmQBobw P3Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=RxEFD4vZiKTE0Pg8sBVxNHac0AxOCkbLNboTp5WE7Ck=; b=0LTCgL+ApUHUKIaBLCSXQ1SesRULwCaYLRDXyvW592SgRaOQ40r8XBm2s/KESVoB4+ 9SFLTGdfX1J60oq8E5vQxWC8osB+FK4Je1rcgFyva2ZSgEwNDPFAS6UGy7S3L/BnM13X a3xzsVDSjmXJzc1VFL4MR7AaVDax57RaYRhOqVIeCBpQ//lCS1sxkoLRgTJ6ux3M/x6/ c+Fe+MJeX943oKWO6iorsqzj48ElKt4SybMTTkPww5FiV99Nu37XvbSc79563F1BARCm NnwGWEDSzKhCuQAvHW+oF19WXJxRUzeu7fN2RaIXWbh/cNtHms2xNZrOwk7xq/8Vs+36 ackQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=DQh+MoSS; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: <u-boot-bounces@lists.denx.de> Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id x34si736412eda.255.2017.10.13.03.28.18; Fri, 13 Oct 2017 03:28:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=DQh+MoSS; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 13970C21F03; Fri, 13 Oct 2017 10:24:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 794AFC21FBA; Fri, 13 Oct 2017 10:22:46 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 05F13C21C46; Fri, 13 Oct 2017 10:22:40 +0000 (UTC) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by lists.denx.de (Postfix) with ESMTPS id 9B552C21EF8 for <u-boot@lists.denx.de>; Fri, 13 Oct 2017 10:22:39 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9DAMGxG009903; Fri, 13 Oct 2017 19:22:23 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9DAMGxG009903 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507890143; bh=syJhWIZuwYOhwDiJ30+uRxplRPzZSQbSo3jaHVUH3ZE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DQh+MoSSsXy6gZboaQRM+LPEld1G3juiBgL6Pdd+ZljXHKgQfZdXe7iIXPcw5qgjD 7be++LMq8NveYypPuH+8A0cyGmZWq50AQ/NxvyNWfQFH+049kpEuXZddMuxtbb6gdJ /kycLVFIEDAIQwSevDyDFgQ9gTiAqum9Q+rNGo9wl/p7Tm+zmg6V81jFnfEXvuCCq/ NcwdILd58CnwkTlL/uFl2tMyQHGhZbkn1gQ+9ZTa2/xPMX1izTZJDhcaCP//uOPA4o K5y4hl9Y6UOulRNC2zc+bhQ0QRc0BoeZbJBjB68M30dBa2OGUMo1Sum/cpi3YEZETb FfkyQVD5W0p3A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: u-boot@lists.denx.de Date: Fri, 13 Oct 2017 19:22:02 +0900 Message-Id: <1507890129-1543-14-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507890129-1543-1-git-send-email-yamada.masahiro@socionext.com> References: <1507890129-1543-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 13/20] reset: uniphier: fix the first argument passed to dev_err() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
ARM: uniphier: various refactoring for v2017.11-rc2
|
expand
|
diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index c74d16f..a40cea5 100644 --- a/drivers/reset/reset-uniphier.c +++ b/drivers/reset/reset-uniphier.c @@ -210,7 +210,8 @@ static int uniphier_reset_update(struct reset_ctl *reset_ctl, int assert) return 0; } - dev_err(priv->dev, "reset_id=%lu was not handled\n", id); + dev_err(reset_ctl->dev, "reset_id=%lu was not handled\n", id); + return -EINVAL; }
priv->dev does not exist. Pass the correct pointer to udevice. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- drivers/reset/reset-uniphier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)