From patchwork Thu Nov 2 21:06:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13444203 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C944C4167D for ; Thu, 2 Nov 2023 21:07:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=m1V97aDOexJAQr+0zq0fC1cPZOsbaxx1R7PZFT7QZqg=; b=2XJr1cEtJIx8Nj tlL2D0qyXsiJvg/vp6nI83+tpSHYzk9nisuuzBaR11qLxCwHaHYjWaydNH/YXDnmMY1ePRvDTtNN4 f8XHFqhonGigqLQGrFUFpZGfcBGaJ10KzDhR6KJ86g71d3M+k9QQ//nM7XoZA+69BCUH+MFqY9xGc +PcJR+aw72EPy+QLUKwOrRAFKThih2HqOMmN5CAWPoUdu742ccsNdjUFRcF1+Q/jc7fpcUhGWa8os eVeA+0FOxCqbUcgZvhP0tVcinuf716f2H3/xnaO5y25Zg3D7x82ozk1KUsC5GJQLfMTWifFZ6T8wC Qil5s97+6+YrK4jTn09A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qyetT-00AHxg-14; Thu, 02 Nov 2023 21:06:23 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qyetN-00AHt2-37; Thu, 02 Nov 2023 21:06:21 +0000 Received: from umang.jain (unknown [103.86.18.252]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 58D718C1; Thu, 2 Nov 2023 22:05:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1698959154; bh=BkGxsNNSRUx6gC44hd97VXoSDmZaILyAWU4NzNuHK6s=; h=From:To:Cc:Subject:Date:From; b=WhWh/ZlSUXO9aK81i2fb3pB/go8W2jeI7RrUs4PTP8gN9GigJrE4OOvvNFGE35iiL aZyw6DTFXMzGfPNul6gxAfj+2EMKCkBoa7bZXrbb/+8e7iIsrcfh5MtLYF6hk85xK3 1fc1cBoo3jDZ21UVN5FQIGFLZZcKDXeHNVEmHWi8= From: Umang Jain To: linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Stefan Wahren , Greg Kroah-Hartman , Kieran Bingham , Dan Carpenter , Phil Elwell , Dave Stevenson , "Ricardo B . Marliere" , Umang Jain Subject: [PATCH 0/3] staging: vc04: Smatch analysis fixes Date: Thu, 2 Nov 2023 17:06:00 -0400 Message-ID: <20231102210603.1201311-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231102_140618_172394_A5B36C5A X-CRM114-Status: UNSURE ( 6.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org low-hanging fruits series that solve a few of the warnings exposed by smatch analysis. See individual patch for details. Umang Jain (3): staging: vc04_services: vchiq_core: Log through struct vchiq_instance staging: vc04_services: Log using pr_err() when vchiq_state is unset staging: vc04_services: bcm2835-camera: Remove redundant null check .../staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 7 ++----- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 ++---- .../staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 6 +++--- .../staging/vc04_services/interface/vchiq_arm/vchiq_dev.c | 7 +++---- 4 files changed, 10 insertions(+), 16 deletions(-) base-commit: a4000df5300fdbe10d84e3b70e2d6a98686310a9 Reviewed-by: Ricardo B. Marliere