Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1570280ybg; Wed, 23 Oct 2019 18:34:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYrd+vRu6LUT7ZlsvXDLDFev/p3YMWTou6qWE88116adqSazrxwg7MvttCG2vintJBlgnL X-Received: by 2002:a17:906:6a09:: with SMTP id o9mr35174656ejr.289.1571880883706; Wed, 23 Oct 2019 18:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571880883; cv=none; d=google.com; s=arc-20160816; b=JHdhC0Dmrw4C64Nq5G6sTDEB4UZjsgHf7FejpNr1vEGMfiA6XEGGkVlj4K2Q+dzTaH tVd4jUIyUSvShd1GayiyENXnT6dOCYFPqF2oevynrLizimxjUh+dr3H/5Qk3Dy6I7N4W bJ83KP9rRjjKJxRmAC/TPOjqvDpwUa99iUj9bY3kkCHa2JCeLWo7sOkuOf0fpgdR9VLS JpzOe5bKpa4F/8STQ1S7y9EUDacAH3VTK6XEYHdCm968AnvDxLb84cgbo/i8UtocHFhA LCmJg27gyFV3otcyPn2hOELRTp05lmM8tA93nIHknP8X6lwYp/ZaK/uRZwU6DVOPlFs6 UqXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=xxo/chYm01QC8eTInCjxWj6Txmh3kYU/ouOy2udw44M=; b=scPnrF0UxDQOgRiwALsJOnPP2Ito85mSwDffP6rQbGqlT4O3T5xPmsoSkkaROLQ6+D 6MsXBxpYgobL2IQ9BH5eM39cqgTP/zQIJ6oDXcZaKVA2b8weeu+QJFEmZeHrILxN9akm LyVRQ6wqoHiPUz/PRZjgKwSXCaNK6rcL69uQ9b/PGhb05E5QDL6P0tmTrdiAYJ1MHgeL +xaIHLPKFaJ0T5BuL3lAGCe/+y3IViKoIJNFla3iPZZuLqsscqfNfTa1n8AJHFJKHEm5 Du4Eoo3cEBcvGgSTHuyC/Y6HqqzM+5Roi5CUkHKX8byX1wdw59duUmwCbWW5MSZ6Mjc/ jQ4g== 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 1si10689390edv.82.2019.10.23.18.34.16; Wed, 23 Oct 2019 18:34:43 -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 S2392249AbfJWOgT (ORCPT + 99 others); Wed, 23 Oct 2019 10:36:19 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:38663 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732328AbfJWOgT (ORCPT ); Wed, 23 Oct 2019 10:36:19 -0400 Received: by mail-oi1-f196.google.com with SMTP id v186so4756803oie.5 for ; Wed, 23 Oct 2019 07:36:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xxo/chYm01QC8eTInCjxWj6Txmh3kYU/ouOy2udw44M=; b=feAhax+OMofSpcTmlhBg9ZLx11+HHhuubwwMgvidgXbGsMbk5GMLj8BZj5jvqt+9bD E9qu7hcychL86lQur6Ad7wY55JQDPtkqxDc9tnUrod56dFnTlBb0aXFDPybUNPgdzZqT yX6Bb9F3fOfrOcjDTfKbebz39ckrQ38rEhfIwrQ7S2n2QSXBHP2rVrZ/Q+iaJwYyC/lv y+ZjK5Q1LR34Q9Y+Fnx0YzPxrnrTBuRQaasTAH11GfxIotua2qwqemfkNpGA9mlKTD18 s1RjwV63Qf+YkZQ/tV4ZbLGSGjAwF9+rVd4nMC0e1+IH+Oi9NMRpnoGsaKVgmtf2LMxh wxdQ== X-Gm-Message-State: APjAAAV92LJhgNNT3ZaiDdNCg8L51kS2diQO1RdjQAvCTkK7rgcIgcbv Rsz3y+BMqqP3XuGF97yNK3n41SYMXojRhckzJNs= X-Received: by 2002:a54:4e89:: with SMTP id c9mr216403oiy.148.1571841378774; Wed, 23 Oct 2019 07:36:18 -0700 (PDT) MIME-Version: 1.0 References: <20191023135941.15000-1-yuehaibing@huawei.com> In-Reply-To: <20191023135941.15000-1-yuehaibing@huawei.com> From: Geert Uytterhoeven Date: Wed, 23 Oct 2019 16:36:07 +0200 Message-ID: Subject: Re: [PATCH -next] iommu/ipmmu-vmsa: Remove dev_err() on platform_get_irq() failure To: YueHaibing Cc: Joerg Roedel , Linux IOMMU , Linux Kernel Mailing List , Stephen Boyd , Geert Uytterhoeven , Joerg Roedel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 23, 2019 at 4:01 PM YueHaibing wrote: > platform_get_irq() will call dev_err() itself on failure, > so there is no need for the driver to also do this. > This is detected by coccinelle. > > Signed-off-by: YueHaibing Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds