Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1680634lqp; Mon, 15 Apr 2024 13:44:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWOSwqu2rc0+D9KjMiy4+gfFuecKDuSFd6NLYd+cHpMtvpfeMEa/f7k5jdaMYedV2ynxHWF8u+70nAB1EO5ap2szFkSuTcj+L0tIiTKtg== X-Google-Smtp-Source: AGHT+IGbxCjenmyLzIO3bo26DQa7Z1ZI7Bnnwkjp2KeFGB7UDgTEBCbbVKMhvn4Dc8Dv+saVtZ3i X-Received: by 2002:a05:651c:1509:b0:2da:553:41f6 with SMTP id e9-20020a05651c150900b002da055341f6mr7864132ljf.34.1713213853345; Mon, 15 Apr 2024 13:44:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713213853; cv=pass; d=google.com; s=arc-20160816; b=bU2SPsm0gnPBN6Qe/sRSdxWy4zrBMSRAQgpJfn9X85Leo7w1lulKejJrBcK+FutnJ8 Z+2IfjWT2oKE85EBxuJxc46CGIbiZoQZ1RUUDQ1sMkDvBbtDqtQgqNtvu/d1w7NMKm7+ KZrZ8Tj4pZWWE40GseHkpZDnzxS6EMaXJOeVf+Ym6BVN5FsjEbGbM3y04goo3pWEiM8Q jnhCzSfTtUmgK/m4kT6KuwhQgKmZLnirbKI5uBRnxqW6hYH+OiTfIaR//Wk0DNmDfQH3 4T2G68f6lalkYMwjUComvH+hcqYtiFxGPWIn8vcYZkN7TVsqs8ZFSCPI19ZWqI6HOrGA zqiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Vh4G/AjMszS/t0HRqrjwJOahq/7qZsmwbbcrIjf8WJY=; fh=tQxYMgImy2uYFtJMzN0au+7S4K4ClZ/r/q/OOhJGGnk=; b=WaxKtRikrv6WM6NFsrS4aN7AGP2r5jrJf/N3ZHnG87aYhngAs99GJIw2z7XJiYekoU uvCrB3bojROv1CtHLZoF1/jnF6WhtY2uBEFPZL90+FHTT1JgmUs51MqUqMb9e/TyrLQa CKw7ZcyhwQggrxbh1oN9skOQLl8M2j0tWeTzauRHNwoOIDi7zTTmFVlkTonb5T7TYjMr FzKNJAVG+Jwq3ITUErc782lHbFNsqZ3oZ1fo5vBbgxdEdnYRk5OWGnwPspXob/V8+qay +VLLiqnhlxo77CrHZVqAx7WuczjX80Zu+k0yULnuF2MJDpPXzW/kvShkJZ6yuYsJOudh 5zNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ktceOmyU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-145885-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145885-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id er10-20020a056402448a00b0056e5be847cbsi4739076edb.414.2024.04.15.13.44.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 13:44:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145885-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 header.i=@gmail.com header.s=20230601 header.b=ktceOmyU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-145885-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145885-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 10F631F2375B for ; Mon, 15 Apr 2024 20:44:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ACEDA15698A; Mon, 15 Apr 2024 20:44:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ktceOmyU" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43EDD82D93; Mon, 15 Apr 2024 20:43:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713213840; cv=none; b=g3VHtTIUoBjmu7HIqlZGVXjz/2F7cGWePxBVMIksiDc8t4+20i0piItS2/Yryk9AV22nA9nBo3IgWahyOcTS1u9jxKMVPaXXxu+b/Ha8C4RTPoYIhNXxrKm+gsDEqxLNy5aEvPEGf8KGq5XSNoFb3PkfuU3X6oryblEDgfy1YSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713213840; c=relaxed/simple; bh=8dKuQacnGwje5yJMb2wAv3rYTCPMQu0D4XlkBWR3Ilg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=N2uZWlMW+Hc0XqZBGgcPY78L6QIVNBnloHNr5AJ6JfUgl9lbbKBUOgSgmzw9/nA+vhCejvV87eQc9+NzJOGcFXVxHOz0P7efM9yuZwiY/DjeBHJbrYvvGiiMCDY1fxlZ+89Tg3Knl7m3bI7Gjcfeq/JKJECen79VQnTdD93xGKI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ktceOmyU; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d4a8bddc21so43006521fa.0; Mon, 15 Apr 2024 13:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713213837; x=1713818637; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Vh4G/AjMszS/t0HRqrjwJOahq/7qZsmwbbcrIjf8WJY=; b=ktceOmyUdoQ121HG73pYew1iOfvSSgjxbGtUazsGdpnWdU4F7FMYr23Uj6JQXdLD3c 9Obgi4/KPp3FNGKBRLkWg59WSTKNugonenj06tLEEFg0jZGOrrf5iUmTg4stJwJVBVUS rpTa07C+KHlZe85vQglbhw1eEdwExJQ5rBCvqUNQ3ZTepV6Bjwmx01gAijz+9uDY5wIP HV0tIBDYFwoCP+mRS08bWLSD+GGuQjU+rjCLrkHy3wyxRzS/3TBXMQq4Zc1nAM1jpyq0 Xt2Epe04ABP9B7fUKc2EUZFS6cXTwwKi3qQndmK0p/E5FTwZpPTyYvMd8UnQCX7jWB21 g7zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713213837; x=1713818637; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vh4G/AjMszS/t0HRqrjwJOahq/7qZsmwbbcrIjf8WJY=; b=sbcf/2gJK7Lpkxn7WU7+qTekqpIZFhpRACtCJhwM1lJYwJrHgXBsW7LLv7c29GUyoR j7K3j2K9aI1kmcu//i0MKZU6eH6Aq/ia+bHVlyedxm35lVVQSY0vOMxSNdJ8Uo/zi68Y tvBh3sQ7IyLP7KaFDsuoc8FQLcPwC3ehvONG05aCrJ00CqiywiVk4zM0AHQJgbyijati 8dp/5KG7twXRbVIxy0chrpXwopOEbDDwOraxpYJu/XRWMSyKkb7HWBVRQsDKGU06w80X VXvAvWXQ4c1frR5dgCgn8qykPezxzxCoI4+kFnLQ39Onz20E4aAtMjxP3gf12xkIoDSP Fc2w== X-Forwarded-Encrypted: i=1; AJvYcCUAMK3Vgt69K1fStcIPsMZTRghK43Vs2STpOOUTPb4Qx1kaFJKGFz1U47KqqXas9xGYMJX78YXW9y6DKNmbXK35T0PetzdL1Y13YmjcGi+Vb3ngT8+bptWpscNR1NWPGvZsAu/sGU5u0LnzjnWogO+BTpVZcG0WO/rt29UFZlzjZ2nHvFmeic2n X-Gm-Message-State: AOJu0YyIcivoJR9rk/x8LwbI8mQ5LT+URkw10qbzRT1OOMpLqBS8nSL8 Ty88VPZdyfFIkFKYE+beho4DzyfMD3NH5sdbWtOpoHHWOI3u+2bj X-Received: by 2002:a2e:bc09:0:b0:2d8:97f:451e with SMTP id b9-20020a2ebc09000000b002d8097f451emr8116687ljf.37.1713213836997; Mon, 15 Apr 2024 13:43:56 -0700 (PDT) Received: from jernej-laptop.localnet (86-58-6-171.dynamic.telemach.net. [86.58.6.171]) by smtp.gmail.com with ESMTPSA id i11-20020a5d630b000000b0034659d971a6sm12976964wru.26.2024.04.15.13.43.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 13:43:56 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Martin Tuma , Mauro Carvalho Chehab , Laurent Pinchart , Hans Verkuil , Hugues Fruchet , Alain Volmat , Maxime Coquelin , Alexandre Torgue , Paul Kocialkowski , Greg Kroah-Hartman , Chen-Yu Tsai , Samuel Holland , Sakari Ailus , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Luca Ceresoli , Matthias Brugger , AngeloGioacchino Del Regno , Hans Verkuil , Sergey Kozlov , Abylay Ospan , Ezequiel Garcia , Dmitry Osipenko , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Bjorn Andersson , Konrad Dybcio , Benjamin Mugnier , Sylvain Petinot , Jacopo Mondi , Kieran Bingham , Laurent Pinchart , Niklas =?ISO-8859-1?Q?S=F6derlund?= , Pavel Machek , Ricardo Ribalda Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, Ricardo Ribalda Subject: Re: [PATCH 07/35] media: staging: sun6i-isp: Remove redundant printk Date: Mon, 15 Apr 2024 22:43:54 +0200 Message-ID: <4910185.31r3eYUQgx@jernej-laptop> In-Reply-To: <20240415-fix-cocci-v1-7-477afb23728b@chromium.org> References: <20240415-fix-cocci-v1-0-477afb23728b@chromium.org> <20240415-fix-cocci-v1-7-477afb23728b@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Dne ponedeljek, 15. april 2024 ob 21:34:24 GMT +2 je Ricardo Ribalda napisal(a): > platform_get_irq() already prints an error for us. > > Found by cocci: > drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c:389:2-9: line 389 is redundant because platform_get_irq() already prints an error > > Signed-off-by: Ricardo Ribalda Acked-by: Jernej Skrabec Best regards, Jernej > --- > drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c > index 5c0a45394cba..a6424fe7023b 100644 > --- a/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c > +++ b/drivers/staging/media/sunxi/sun6i-isp/sun6i_isp.c > @@ -386,7 +386,6 @@ static int sun6i_isp_resources_setup(struct sun6i_isp_device *isp_dev, > > irq = platform_get_irq(platform_dev, 0); > if (irq < 0) { > - dev_err(dev, "failed to get interrupt\n"); > ret = -ENXIO; > goto error_clock_rate_exclusive; > } > >