Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp599085pxj; Fri, 11 Jun 2021 06:57:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLiM/uwkdKU5sMaHyzl5NKR8f+jSSsssz/NMBY9XzlNUddc4vr1tu6oQmblutuJrSXEPqo X-Received: by 2002:a50:fc84:: with SMTP id f4mr3951035edq.252.1623419873943; Fri, 11 Jun 2021 06:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623419873; cv=none; d=google.com; s=arc-20160816; b=bm48rYeNGK59njfjNXpwjoul43j7N/gYuuTwHEV1tzE2ecE9CGpx0P+W6p/2qDb96u VA+B5pBCAWJa8z+Oay6trgDOcsTZbALuSY8rbFRGQn9DpdUGL6qGXW/qsDj+P2tyRTl3 Gk9DBS+Su/Rr+uZRoFpuR1lxxVdlkBb/9g0X0dATgk3OLVKcnZUifkneWr482Ub/tQv1 l4Afd50MZISTLhMhGb0DbZO1qV69uoZBzn91jgMSAF6g3YB1/K7fzdeLity/kFEyA48I LmPxcoc/ZT/MHKxunyeHrpBEZG6M43B5VIONH+bmAYI9n5BkaFTMwJeRIidW5uKg78Tu zIVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=afWtyssnmvvHvQJz15S1TwKd3dmrQoerIOJY9kzKRDw=; b=uYwr/hH4TXdbTwcroFp7dsXVAJvupYwPZQ1mgtOjZWk/D5kTBQIH3I1hyUPmvVXY4U XKN3QaU0Cy7OaujgdNCa2gyh8cuP+kTSdkNBjWs4OKjdgVbDpWdduLJsDhy+hruqT/mC GYIO4uHppOFmyiN1HAWZvkNUw1+xuclqTwDGPCDpS2ohndh7h4oBrIbvKbJelhy7fMU4 h76f6TZn/WETOmIyvOGC0Hru53js0Ql1s8W6E/mOnfEZeuorok1z717tWLdaqqhyMKmf 5Fm7K93txNIg+q0tokTzjOEbzFs/OlyKWLb/IJI9/f1R31D7KU/aDVgsbFiluDi/Bx9v mLBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hpDOOuYU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=uiM8sois; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si5899106ejx.447.2021.06.11.06.57.30; Fri, 11 Jun 2021 06:57:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hpDOOuYU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=uiM8sois; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229824AbhFKN4b (ORCPT + 99 others); Fri, 11 Jun 2021 09:56:31 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:39976 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbhFKN4a (ORCPT ); Fri, 11 Jun 2021 09:56:30 -0400 Date: Fri, 11 Jun 2021 13:54:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1623419671; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=afWtyssnmvvHvQJz15S1TwKd3dmrQoerIOJY9kzKRDw=; b=hpDOOuYUJlrW7WCBsmyHd5v9MaPpJTiWBaS6ROXifL12Z9ZrPbaWC3FFysdZMYDs777YPo hHBpRFAtGQ92xnNytFxbIl4kl2B9YuYJAMya4j8rKklNdILiiuZaq0d9rgWHPFRiWj3tyX aDJ3hC8m7bb5PObOdqdJOqEGatu56SBTx6Su2SzbYW33H5liJdohsjuyOshLtZzhmc4foG MfNudQfQfjIsBnQLguy1BzVi8MiHrycoR+bIx/rlYL1AaVUrRYzFZ1fZ9jYC0icbXtf+eq OA/yMSNhuI8b98rIPWEtV6cy5W2Uwb/Uzpe49TleTmciENl3cdhjGsmqKAXcDg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1623419671; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=afWtyssnmvvHvQJz15S1TwKd3dmrQoerIOJY9kzKRDw=; b=uiM8soisutHpPLqlyyve4upCHbBLWW2WJqgDuU/Wv/AB9Uy/Mk8woWLKQHhkCasLFbaUp+ C6fZnO9lKpi6JNCg== From: "irqchip-bot for Zhen Lei" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/irq-imx-gpcv2: Remove unnecessary oom message Cc: Zhen Lei , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20210609141150.14637-1-thunder.leizhen@huawei.com> References: <20210609141150.14637-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Message-ID: <162341967100.19906.16721921173614082879.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 76fc40ec22b9947351f6f9d37a86d47e72af4e50 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/76fc40ec22b9947351f6f9d37a86d47e72af4e50 Author: Zhen Lei AuthorDate: Wed, 09 Jun 2021 22:11:50 +08:00 Committer: Marc Zyngier CommitterDate: Fri, 11 Jun 2021 14:19:47 +01:00 irqchip/irq-imx-gpcv2: Remove unnecessary oom message Fixes scripts/checkpatch.pl warning: WARNING: Possible unnecessary 'out of memory' message Remove it can help us save a bit of memory. Signed-off-by: Zhen Lei Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20210609141150.14637-1-thunder.leizhen@huawei.com --- drivers/irqchip/irq-imx-gpcv2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c index 7031ef4..5b5a365 100644 --- a/drivers/irqchip/irq-imx-gpcv2.c +++ b/drivers/irqchip/irq-imx-gpcv2.c @@ -228,10 +228,8 @@ static int __init imx_gpcv2_irqchip_init(struct device_node *node, } cd = kzalloc(sizeof(struct gpcv2_irqchip_data), GFP_KERNEL); - if (!cd) { - pr_err("%pOF: kzalloc failed!\n", node); + if (!cd) return -ENOMEM; - } raw_spin_lock_init(&cd->rlock);