From patchwork Tue Aug 13 12:13:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda X-Patchwork-Id: 13761926 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 8F64DC52D7C for ; Tue, 13 Aug 2024 12:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: 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=exEVIAJZd/rYdUXslfft3lBWpWIRwR1McJc3b9INl9w=; b=tip28ii59SEJIh Bx4CNzhWeTaEfmgxrVAeY5h1DOQo4f/ZTAVhKbMZu9cLgnr+k7neyWY3tLok5lHkX92krhaApIjvO OKsU4bH3MRxqJIpgwqD2ksXUerwQlT8EfpaurbIjZOXFBEQUf0ibfp6kG7m3dYwM3pHVHw7vzHw2X da4gm2kPTHZ2Ib/GunFWKDXb9yCmi+6eqkrcQ/7zsBwgd1jxTrpcuEt6eEW0l2DcqY/D54Dz5IJCY 3ScDVIZqFhKCSrNJMsKP2E6l50FlkJVcAa1Vrh+EMzFVLTwo7Bn2Ozjz7VVHEhgW5iiHsbhzjRAWC 8KjeYMJNOsMSKyA8keqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdqQ4-00000003eDu-1vYZ; Tue, 13 Aug 2024 12:14:32 +0000 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdqPP-00000003dx6-3RRd for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2024 12:13:53 +0000 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-7a1d7a544e7so365187485a.3 for ; Tue, 13 Aug 2024 05:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1723551230; x=1724156030; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=exEVIAJZd/rYdUXslfft3lBWpWIRwR1McJc3b9INl9w=; b=F9yOLmdJFW2qcKWUC3GwAcaZAqbUcTAVM+kjZb+mfCA3C5ecos0DV4WCG9IWjOpn3x TeT9OULArAmEUsWUDPGt2/BGc2lItKcEhmBDuBs7ydTb9P3hH1EFftXgCoqlRVdPiqfB HUI8GjVOjj+N7q7GCYN7f5rsDU+9Nwyb0tKGM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723551230; x=1724156030; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=exEVIAJZd/rYdUXslfft3lBWpWIRwR1McJc3b9INl9w=; b=qv+lyry0WXev6njhH6+gM1JfVuPwl027zzhPmXGigb06MNJG4iyFT4ASOIPhd/IUEW r00JMXsxJDinap6QPPYJo3oK02AysbbRaGwgSLqBksZzp6TuvZNqSaTgMY0xN41lgFB7 EJ8sbxomoWbHwyC7dy5eJmtPSEL6OCvAIwyZYOQQLfY/W4tttTFvtC8SpSL30OTp1Obx /xP25mrJ5GJt5yEwsjlkiByfkdlk5USOsWS4xvK8W4e1Ux4Uw/Z6ZAnyfY7NHFFKquPt 5AbJ7P8fzoH/L9PLflUKG9GxJv6VBtfqT0wOp2vI89nNwENppojQ4WeI0+5qhOm4MI3t 1kXQ== X-Forwarded-Encrypted: i=1; AJvYcCU3nt4VPlfTSeHm9WPpvklZ6W0cbzty3iMQWdTL2dOo9x6ZEpHWvl1GIro+4RGdCxtYaJDyjnm1I/qjXBFOUscdZ6antBIwIDQyNtAlTHWOUfYk3l0= X-Gm-Message-State: AOJu0Yxtsxhz9I/DGptb5DjBjs9uW1nq+wSqz9Ckk7etc1mUUC0f12TO YHJxB4v6HXrO73YqzhyiiUoTwRBmvLIhboGVvjJTPXq4RWJyiklzapoGTozGng== X-Google-Smtp-Source: AGHT+IHEAC5qNhYBF14RuyiMsQL8IDhPP6lbNZuwJIZWarWyGBLPSFdo+w5w+ficdZzhLBjRgODR3A== X-Received: by 2002:a05:620a:460a:b0:7a2:db1:573d with SMTP id af79cd13be357-7a4e153e4femr367590785a.36.1723551229916; Tue, 13 Aug 2024 05:13:49 -0700 (PDT) Received: from denia.c.googlers.com (123.178.145.34.bc.googleusercontent.com. [34.145.178.123]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a4c7d71ca8sm331765485a.50.2024.08.13.05.13.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 05:13:49 -0700 (PDT) From: Ricardo Ribalda Subject: [PATCH 0/6] media: Fix last smatch warnings Date: Tue, 13 Aug 2024 12:13:47 +0000 Message-Id: <20240813-smatch-clock-v1-0-664c84295b1c@chromium.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPtNu2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDC0Nj3eLcxJLkDN3knPzkbF2jtETjJENDcxMLU3MloJaCotS0zAqwcdG xtbUAgffoXl4AAAA= To: Sakari Ailus , =?utf-8?q?Krzysztof_Ha?= =?utf-8?q?=C5=82asa?= , Mauro Carvalho Chehab , Sylwester Nawrocki , Andrzej Hajda , Neil Armstrong , Greg Kroah-Hartman , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Ricardo Ribalda X-Mailer: b4 0.13.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240813_051351_880133_4929682F X-CRM114-Status: UNSURE ( 7.92 ) 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 This series completes the smatch warning cleanout. Signed-off-by: Ricardo Ribalda --- Ricardo Ribalda (6): media: ar0521: Refactor ar0521_power_off() media: i2c: ov5645: Refactor ov5645_set_power_off() media: i2c: s5c73m3: Move clk_prepare to its own function media: tc358746: Move clk_prepare to its own function media: meson: vdec_1: Refactor vdec_1_stop() media: meson: vdec: hevc: Refactor vdec_hevc_start and vdec_hevc_stop drivers/media/i2c/ar0521.c | 15 ++++++++-- drivers/media/i2c/ov5645.c | 15 ++++++++-- drivers/media/i2c/s5c73m3/s5c73m3-core.c | 13 ++++++++- drivers/media/i2c/tc358746.c | 12 +++++++- drivers/staging/media/meson/vdec/vdec_1.c | 16 ++++++++--- drivers/staging/media/meson/vdec/vdec_hevc.c | 43 +++++++++++++++++++++------- 6 files changed, 92 insertions(+), 22 deletions(-) --- base-commit: c80bfa4f9e0ebfce6ac909488d412347acbcb4f9 change-id: 20240813-smatch-clock-2fa3b1174857 Best regards,