From patchwork Sun Jan 28 02:12:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda X-Patchwork-Id: 767281 Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (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 95DC51391 for ; Sun, 28 Jan 2024 02:12:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706407945; cv=none; b=JV3ovYtJDs/EDqd0SB0kz6ZUv9xrSBqvatfsK7doxXi0YhhCVjP469bD2VD67ZzJWaUmDo0vJWqOfiLV7M83AtSy+2frUyayjtW5BEIAQhbu2jMkXrjBhgmQxXs3SeqBoQeScmREkExEt2cxemEQVW4JgSBuUmX6HoZGF83dnao= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706407945; c=relaxed/simple; bh=vYXWXYwsJVuOt1QS9UcPPIEtBivA4uOaogtA5hEmjCI=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=A7lA/0CSYxCa34UdHXLySq87NY+LG/Obak3CW3JP6Nw+hmVjLoChFZr4us+pVQdhwlmy3OHGuLxnJK/CkJDLlfd7wFuUwJSqgRPYL4DV0FSTl/rLOl7wiSyTwmrYgQpmv7NkNqfUU63ckKuplAmBtT9Nyg7xof5/pkbZ4S52KHI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=Nk84Iplo; arc=none smtp.client-ip=209.85.160.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Nk84Iplo" Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-42a9199cfd2so4786801cf.0 for ; Sat, 27 Jan 2024 18:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706407941; x=1707012741; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=Os4wPtYXMOk5j6YcX2wbCDq2BXooZiO0dAGB9kYAD7I=; b=Nk84IploiUS1g3vTp8Zj67z4vXSyo/gP1kIxNlaj6Kk+4fj0H/7IlSDq1bpxg0V1zN TJO0S4B1eyrBfHjxLfm15+sjmYwis8W9/Yuzz2kAc5yfrLsx0cBa15RBw60yu3SOjgYj 9H3f9iIdDxhIxFaX7dQJXWmjfmzXJhb9SUgRw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706407941; x=1707012741; 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=Os4wPtYXMOk5j6YcX2wbCDq2BXooZiO0dAGB9kYAD7I=; b=Jp1ILfCckbWvuRtTl0YW0X54JC0DmYSly9/8AGPBwm0Aqm9zVPezgNvBOKQpZWsK3L xhMXbO8uUjoANJsyy3EdHVV7KVwhqSN1/46XHezR721pxWT/tQgvdIMOZDyBPpWddx1E qt+xYlVjaTRx+xXDu6UisetvkzVs7OyN7dxv0CNslQbisRG1vzNZqTSK0qzizXdr8VBo 2zre06EgcRlYxF1L+9Tm4JBAu524dJfagvpRW2/a4VVv5pCLytRQ8EBnbkHTg2LQeHTC TnI+62l92a56IiZCuNfaJ2ufpZvn5RSSssfinsLJZM2WTs15+KAd/XPZNnHIHsQIz3F4 3Gfg== X-Gm-Message-State: AOJu0YwMXcOIfvHJ+8aT8dE4m+TyQIS+ykO/eW8gzklagWtTgCjicYlc CPHslsnHUONNF8DGqry5Y+EoXkMa9+kP/a30wS+gxk1reAMv8P/6su6qb5yG/Q== X-Google-Smtp-Source: AGHT+IH6NXk/WvjaiaDj9r8/fahbRrGy45ANWovc96JmRb+SX77746RDy8yuddFdapSADOOCEgbhNQ== X-Received: by 2002:ac8:5e0c:0:b0:42a:2ec3:e8d2 with SMTP id h12-20020ac85e0c000000b0042a2ec3e8d2mr3154130qtx.50.1706407941471; Sat, 27 Jan 2024 18:12:21 -0800 (PST) Received: from denia.c.googlers.com (240.157.150.34.bc.googleusercontent.com. [34.150.157.240]) by smtp.gmail.com with ESMTPSA id ka23-20020a05622a441700b0042a98bf0117sm568061qtb.78.2024.01.27.18.12.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 18:12:21 -0800 (PST) From: Ricardo Ribalda Subject: [PATCH 0/3] media: Fix warnings building with LLVM=1 Date: Sun, 28 Jan 2024 02:12:19 +0000 Message-Id: <20240128-fix-clang-warnings-v1-0-1d946013a421@chromium.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAO4tWUC/x2MSwqAMAwFryJZG2iD+LuKuNAaa0CqtKBC8e4Gl 8ObNxkSR+EEfZEh8iVJjqBgywLcNgXPKIsykKHKWGpxlQfdrgveUwwSfMLaWerIVHXjZtDjGVm tPzqM7/sBzrWH3GQAAAA= To: Mauro Carvalho Chehab , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Mike Isely , Tiffany Lin , Andrew-CT Chen , Yunfei Dong , Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Ricardo Ribalda X-Mailer: b4 0.12.3 LLVM does check -Wcast-function-type-sctrict, which is triggered in a couple of places in the media subsystem. Signed-off-by: Ricardo Ribalda --- Ricardo Ribalda (3): media: pci: sta2x11: Fix Wcast-function-type-strict warnings media: usb: pvrusb2: Fix Wcast-function-type-strict warnings media: mediatek: vcodedc: Fix Wcast-function-type-strict warnings drivers/media/pci/sta2x11/sta2x11_vip.c | 5 +++-- drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c | 6 ++++-- drivers/media/usb/pvrusb2/pvrusb2-context.c | 5 +++-- drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 7 ++++--- drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 7 ++++--- 5 files changed, 18 insertions(+), 12 deletions(-) --- base-commit: 615d300648869c774bd1fe54b4627bb0c20faed4 change-id: 20240128-fix-clang-warnings-6c12920467cb Best regards,