Received: by 10.223.176.46 with SMTP id f43csp824924wra; Sat, 20 Jan 2018 05:38:26 -0800 (PST) X-Google-Smtp-Source: AH8x224N3vGWH3ryruu/HGI5aJB5LYN5OhuQcQNsp4TRnCd4397YjcOaT2xQFTu0i7R4jkI7hsxg X-Received: by 10.99.147.21 with SMTP id b21mr1973440pge.318.1516455506589; Sat, 20 Jan 2018 05:38:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516455506; cv=none; d=google.com; s=arc-20160816; b=k2QYnUp5SAUUifNzhQ02gtd1Jv+trK8PeW80RA3yuG10JlUHJCtHCVN1rSFYmfu5Vc zhIIG6Xb5z0pqxXGMPDkD8Jwhae/qSOoQLcr96gYG6KGg9QmIyJwR+o99o6EvAd6t9Zf 5f9n5hV13dR1KaCTHNxChCZoVHvcsLJtDbq594JtCq0HnM6TEDLJEeJE/tRPpqe0wARZ BpeG2Sqdcf54cx6XSZUtMUsWva1YORmbJYp1d6W+1kQBZP+xWuuPfqSoP8Y7t4juZDN2 U1mQm8teYxK9uty/S37zB9pP62bLTcFM1jor/za8qHqPAy5Ng5nghu0oWUaeQXH1VwxH s1fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:arc-authentication-results; bh=LoNzr2D1qmqwxVkJVVkq5YvvMknV9U3iyxpe4lfQtZU=; b=mTeyKqfD+IndiBq0y92m3k7dvm/arcpnQQtIaXEXTbdY4jsI0Xu1ql144MNM0BxtUr NmQ2rO0v+ugT9emWaxpxVIQvF1aAg9GQb5Li3H4UVuPuc9OCxsZd0IgsvaP4koBdNCdW fO+muBhUPxT50Ik1yGDFaS9GELn4Cp59UT8Ys5ecdABerLc5ze8omXRW5x9C/jxTfo6M Hx/35z841Vi5I5PlGiIzpWUXWFHxXIgJHlWxkJd4aKzAMYtBXToWSEjNPTGfvgG8c6Jf vOX62ugKS14/K/i/ueqb1FTLZySC+5dzxy03xyn8FRs1mPRJkU+0EamB+4+CFI/L3vDq RleQ== 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e190si11415433pfe.96.2018.01.20.05.38.12; Sat, 20 Jan 2018 05:38:26 -0800 (PST) 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932289AbeATNfm (ORCPT + 99 others); Sat, 20 Jan 2018 08:35:42 -0500 Received: from mout.web.de ([217.72.192.78]:54758 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751130AbeATNff (ORCPT ); Sat, 20 Jan 2018 08:35:35 -0500 Received: from [192.168.1.3] ([77.182.145.92]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MPHC8-1ehJ9L0zCq-004Q94; Sat, 20 Jan 2018 14:35:03 +0100 To: iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, =?UTF-8?B?SsO2cmcgUsO2ZGVs?= , Krzysztof Kozlowski , Kukjin Kim , Marek Szyprowski Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH] Exynos-IOMMU: Delete an error message for a failed memory allocation in exynos_iommu_init() Message-ID: <1cdc825c-66d2-03ec-f7e5-935ca8d01f7e@users.sourceforge.net> Date: Sat, 20 Jan 2018 14:34:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:DNNFcsV0kOjWzli9XYZBsWGsAASQ1uhBZR4WyCgW19IpgxEX0cB Pwaaa+yAp4a20neJM7UMVcFfbX7jhv+eqR7FUOIQI/TmdJvWm3LFNOzRKkNSlBwWAAlw+aA l3XqBjZpzElJD0B57MosXpuP2mkIqARukHlzJMqtbvQ9N2uOszWtzizmkrdsU7u3rJfI4uh hRZuashinovfz6JnAbCGg== X-UI-Out-Filterresults: notjunk:1;V01:K0:U17kF8PgQiQ=:ub+v5s42OCavCa9XufGfF1 1dM/VVwcDjUHbNO9QVI3K1xcakH9tloykqZ5qu7XbFS4KXJBYZAjEefifDAGDMu2yRfxkXnxm Dno8GOtjgV7RHeVds8wm/n4RqzSMYM6oSZhVL4D5H+1Wofop8EpRbvragsVK+NJ3nV85tTfbE lS/5HHAF0ZUwZp5fh99kwEnpui0wGlMG1/8A0plbQGgbnOS1dfiodFKo7v1QyArR4N2yZG79p SOO5xuvvwDj4jAHnZsZoGw29j46m/5eM4KT/cQRwJLUOzrseopZPVIe8o8YQSsEJVDiXqqU25 RS2Rb8vF9VkHnuIwLiboPKD9iMAX0C3LCDApmWxNR56+DWM7lEe6+8nf+TPs9Gvc1IT+KgKId Linaoz8/K0FyRWtS3xEUgNSGFGIRaor6uUSNc0emzOSP12hmLKetfdBymGKnIDK0retlm2YU0 ozyYmeevPQ8CDZMG8Lj+50uRpiOrkfTjQdpX2RRB2ioAsUmA4+JMFP2eg6oXrqQ6vwviXdqGR 9ag101Vjnt1pNyPM43p+w9sYZSGH/B8bJMmOPq7rnBkPYjkItBxNgeqBRJ5YNdfTbACWLNvp6 wV7xPl3nW0URmsToKGETTUPDRlnNwlGf7Lrph9J1dJnrkshW4OXPiaIr1DDyUDjK+euLdkwQI ZoelCRTTzEnhTw8HDaTEfG7wTrTozgm50tmZD+L/Uu+GjggzKq+043tbzhjeN+K+pf3BoXbzf X5mPZWZhU3NO2EgpO4yqReBszZiLk8vwkKv7e7CYhKpaLfoOKsGhgufPIIK1xcshL9dFs8kpY 7mf5MVOIr0oS1Z5WwW5/hlVmXLXlUclwR9Kvqu+vHkE07KM+og= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Sat, 20 Jan 2018 14:28:13 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/iommu/exynos-iommu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 79c45650f8de..456a88483089 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -1370,8 +1370,6 @@ static int __init exynos_iommu_init(void) zero_lv2_table = kmem_cache_zalloc(lv2table_kmem_cache, GFP_KERNEL); if (zero_lv2_table == NULL) { - pr_err("%s: Failed to allocate zero level2 page table\n", - __func__); ret = -ENOMEM; goto err_zero_lv2; } -- 2.15.1