From patchwork Tue Nov 27 00:20:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13225 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DCA1F4C178E for ; Tue, 27 Nov 2012 00:21:10 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 85783A1868D for ; Tue, 27 Nov 2012 00:21:10 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so5605290ieb.11 for ; Mon, 26 Nov 2012 16:21:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=bwYdXn93ndaYn3SQjZPDQTMDkpSpauWzMsPVOfNyzxo=; b=Yx1XGoEQgssLqqPD/Y98F97SrsS7rg3AAEhT2zSwTiqdmLRfOnmnnx8r68lg9artzs wOIOV7V4X8yPHG+7qgiEiy+Nwk5mfrZH9EClisi16MkmitS18Ti4o/8xqKi8Ha6LAlN9 K+D6Yd6ksNDsCOwhG1ZL/KKMUpIb56US7lKYMYNcxXuUxug5K6c+72HMQuWF9LQx+9RG /oyh5PVF9hTOuQpAZEHElv7oLz+Qd4stkcRr/vo344o/VWB/iEYeQBTScyxj2td35aSG a2htOqweMP2YX2/5x9fSWaByf1LUEBLincploOOU2xqMwS7t3YKGIUZIpqCEN0T6uPpy ehow== Received: by 10.50.213.69 with SMTP id nq5mr16244961igc.70.1353975669854; Mon, 26 Nov 2012 16:21:09 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp371804igt; Mon, 26 Nov 2012 16:21:09 -0800 (PST) Received: by 10.14.223.4 with SMTP id u4mr50923289eep.19.1353975668296; Mon, 26 Nov 2012 16:21:08 -0800 (PST) Received: from eu1sys200aog102.obsmtp.com (eu1sys200aog102.obsmtp.com [207.126.144.113]) by mx.google.com with SMTP id g47si28166111eep.39.2012.11.26.16.21.01 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 26 Nov 2012 16:21:07 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.113 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.113; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.113 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKULQHa15ucM+eKFKNyqC9wSzoCni7PqSc@postini.com; Tue, 27 Nov 2012 00:21:07 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id A6D6C49; Tue, 27 Nov 2012 00:20:04 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id EB23755; Mon, 26 Nov 2012 19:22:40 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id BA3FDA807B; Tue, 27 Nov 2012 01:20:39 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 27 Nov 2012 01:20:39 +0100 From: Linus Walleij To: , Grant Likely , Rob Herring , Thomas Gleixner Cc: Anmar Oueja , Linus Walleij Subject: [PATCH] irqdomain: stop screaming about preallocated irqdescs Date: Tue, 27 Nov 2012 01:20:32 +0100 Message-ID: <1353975632-1327-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlYMjwSLSjJQzHeVbFg2J8eOlS8k1oWsN2hrWU/PyxzaBF2UzmPRyfWpk56nCGserm19tvJ From: Linus Walleij In the simple irqdomain: don't shout warnings to the user, there is no point. An informational print is sufficient. Cc: Rob Herring Cc: Grant Likely Cc: Thomas Gleixner Signed-off-by: Linus Walleij --- kernel/irq/irqdomain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 4e69e24..96f3a1d 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -177,8 +177,8 @@ struct irq_domain *irq_domain_add_simple(struct device_node *of_node, irq_base = irq_alloc_descs(first_irq, first_irq, size, of_node_to_nid(of_node)); if (irq_base < 0) { - WARN(1, "Cannot allocate irq_descs @ IRQ%d, assuming pre-allocated\n", - first_irq); + pr_info("Cannot allocate irq_descs @ IRQ%d, assuming pre-allocated\n", + first_irq); irq_base = first_irq; } } else