Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp57921lqh; Mon, 6 May 2024 11:07:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNesJOPBYBGXdcjLzCpE99hKoYN46+jxMAPW34dEIPETyrXjRsLLIKoBuHbE/R+/QRnCVHA4bwEP3LjzNHFWbufbCUeswZzrO4qsqF/Q== X-Google-Smtp-Source: AGHT+IGwjZFONIM1ZDpMUiLxX0JtNpNhjIPeAlMvaBQW5FpbOHIsAoXoKMrJ93Mj/bt9KQ94ZI/w X-Received: by 2002:a50:c349:0:b0:572:983e:4aaa with SMTP id q9-20020a50c349000000b00572983e4aaamr9687964edb.31.1715018865053; Mon, 06 May 2024 11:07:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715018865; cv=pass; d=google.com; s=arc-20160816; b=VaJ9gaD0B+dYfeGZzTrz/t2gd2DHj+I2UnV7P8boxapgEhoC9RPlcyyMOMATvm05Ig PnBbWATDvrbo9uRnPlkEZBHC5anOcBsRi8wRmlrz5prySri7auqu8fJykielMVub1ygh eYcFId9Wafm/DIyQyr6Zf7nXt4X7goDrl+DMrQ/PGFRBt03qKzuJNOfJrxyzyMHs+Sbs rds/xMGvRpHe/4w4YWxKpQLb5PhJFE0YCNQwk3XIr5NTWRBuY9AO/kJN/2n0pnq4uSRK jE+OiACtTj3kka+lAoAfOCQBpbEzvrawxVaWgNxgirLMyWt/TWZdarwB1CjUKuGfrgA6 dDLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rOlT5gzljzt+lphX4YM5+ZgtVUtIWFTQcUpFjR32crQ=; fh=aI7HXplajwh9PHGog/YD/WLsw0Yjp3/63MYIgCPOFoc=; b=BLt9UsOgUR28d9uO7g5vz9oK+jsi7e9f9rhzuF+ZEvxSG5cB5puuDG9aEx36GDLQ/I i0mlfQ4YnzF9SjR1LUr6KHSJDIuz0YyxzV96fygiImBLcN6y6U8cgwEQVhbwH2HV+2i7 Q33xkXFzWQxspg0pEi0Nwhx10agsQ55P639ME/jwml/jpAHw56OHwGqs98icoxsQgaEE OfkzmYh7v3fbwjaz6zWsTodcyS3dGjY946j5CvICJ34rpdCPmQbAj4NQzrXK4FMNxjcb Hty95Y623to2i8CrwPocDZkRVv2LxEk55d/AzM1inXrI8cTILS0lPKnKFAi3gW6G9MKP fZ0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Q775u8SO; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-170265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170265-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j7-20020aa7ca47000000b005727b088307si5235680edt.514.2024.05.06.11.07.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 11:07:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Q775u8SO; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-170265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170265-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 006C11F24AA2 for ; Mon, 6 May 2024 18:01:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E59115885D; Mon, 6 May 2024 18:01:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Q775u8SO" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 802F815534E; Mon, 6 May 2024 18:01:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715018488; cv=none; b=Bw+/0MEmTfvkRHIfUIhgf6vrMsN4LGN5ESajQXnVWXv9G9fpV/2UiJwNEPJFroPzFTgooSKYgukfes4o5vrrvHulP/kowjbR3Bjm+C7S6nu36pjhb9W4lak6nOvDmQmSVZsymhMZ3tTOjT9YH93bg7TE8RiUJpWznqCACfCy2l4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715018488; c=relaxed/simple; bh=fH7BBWiU0gyegoCGKrDec9mhUjeyWkX6bisz1Hls3Wk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RT7TxENUKchTqjboJJ4rNIRKYaHUu1jC938rET0IT6DNHrMNxVezW8h9h6i25SYH2w0wXQ36UP17x5Prk5tzuN+7anIivHFmTvUrui0z4b9Ho0OEN3ZZxqyJOU3KdxtyKOLhrTMw55vSzQ2VRTJG4skfeimZVSNa0kQ9EGz/Iz0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=Q775u8SO; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9F20C114D; Mon, 6 May 2024 20:01:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1715018484; bh=fH7BBWiU0gyegoCGKrDec9mhUjeyWkX6bisz1Hls3Wk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q775u8SOOGsFUzxugK3stetnFZTtRMgBCwyF34dXPP0Ul+CpRMrc4eAOiL1VC22gI bLxlxnl6b9fvcNOt6UHpqP5gGOd8lC3z0+EUnjt50PhTB4kmaoKbL1hMDXckQWuZ/2 ORYnT+cEZDucrovwsXS3+hDZYj4o5xY2ntykVi+A= Date: Mon, 6 May 2024 21:01:18 +0300 From: Laurent Pinchart To: Ricardo Ribalda Cc: Mauro Carvalho Chehab , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden , linux-media@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hans Verkuil Subject: Re: [PATCH 2/3] media: bcm2835-unicam: Do not print error when irq not found Message-ID: <20240506180118.GF29108@pendragon.ideasonboard.com> References: <20240430-fix-broad-v1-0-cf3b81bf97ff@chromium.org> <20240430-fix-broad-v1-2-cf3b81bf97ff@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240430-fix-broad-v1-2-cf3b81bf97ff@chromium.org> Hi Ricardo, Thank you for the patch. On Tue, Apr 30, 2024 at 07:51:27AM +0000, Ricardo Ribalda wrote: > platform_get_irq() already prints an error for us. > > Fixes cocci: > drivers/media/platform/broadcom/bcm2835-unicam.c:2664:2-9: line 2664 is redundant because platform_get_irq() already prints an error > > Signed-off-by: Ricardo Ribalda Reviewed-by: Laurent Pinchart > --- > drivers/media/platform/broadcom/bcm2835-unicam.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/platform/broadcom/bcm2835-unicam.c b/drivers/media/platform/broadcom/bcm2835-unicam.c > index 2a3a27ac70ba..b2b23d24da19 100644 > --- a/drivers/media/platform/broadcom/bcm2835-unicam.c > +++ b/drivers/media/platform/broadcom/bcm2835-unicam.c > @@ -2661,7 +2661,6 @@ static int unicam_probe(struct platform_device *pdev) > > ret = platform_get_irq(pdev, 0); > if (ret < 0) { > - dev_err(&pdev->dev, "No IRQ resource\n"); > if (ret != -EPROBE_DEFER) > ret = -EINVAL; > goto err_unicam_put; -- Regards, Laurent Pinchart