Message ID | 20240226-fix-clang-warnings-v2-0-fa1bc931d17e@chromium.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-82068-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2226391dyb; Mon, 26 Feb 2024 09:34:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUQ2sKECJ1qV7Q0GHieC0Bnhcf0SV7zuVCJJ5937bsTsJF8tOMvacC0THzQ81t+QBOKPz7Dj5rIrh8gqyrbbL+W/ivB/g== X-Google-Smtp-Source: AGHT+IFKYhiJm0qYXV/h8PQRNqtUyPY0F3oScMmuVbGDcY7J/YqDAi0LCygTMuKoiSUfXpdx21G4 X-Received: by 2002:a05:6102:396e:b0:470:397e:5329 with SMTP id ho14-20020a056102396e00b00470397e5329mr5344455vsb.10.1708968841642; Mon, 26 Feb 2024 09:34:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708968841; cv=pass; d=google.com; s=arc-20160816; b=ehOPDjIfunrM2tKfub6X/RlnHeE2qceg+jx8vffUEZW7batDoN8xk9styaAHdraIt/ s4z7eZOxjTfp/xYD12D+bhP5P1RKVtimciOF3dpn8XAgp1zcKEMZfFmSzYQSAnw2bnZb KLhy0K2jb7lCJ0zHTNmxduOqGx2uTh5xrMI1kLjxV4vq285feN/Wf4EuC9X0rrUto1Sb YtqlopLvKc2LKlBl8n69fB8TRDsNG42xr7kxAaeNcc/j87jvLuZADxY0eLuiMcl2tLBX UHzGPdgA7obvnqYw11bxPCp7h3cYGClGnpNXcgROC/W7WRAWCsG1bAyzctxojUlLzxJK QbxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=NPhOUUbGfyPt95d+thIFpKzftMVi7roAfhqv80cpO4Q=; fh=+0VOaSf0Lyrm308KeHLAYlZITq+dwE9IRaHQPIFPTJo=; b=j9jAyzZfy7JSXAMI1sM/5/H9mcfMbskE9IpOO9U0iU6TmUyLZqFOhsHk1KWsb+YSI9 UdGcAdjfJLQEKgjgzIU54XJl9xo4Gy+Q2Ap16cQmjhw+AZ4dE/tsp3DYa10Mf5u494wP G6q2gYnSGKdRlVUvBA1O9oAVF1HWpBBBAm2i+fq5IhwWqNvSEwKzad4UZ8zgUU03Wyoc Kjh1NakX0a6U5xFEQwd9Z+VLiABnuEJDULJfLMqcpZfGFS8I6pCx8QbhC75wrKlCh0zK Ip7xEjjFPXknm8O3u0ZSuoZo5ja0maMHo2E9aYZgF+vJ2dTDsA9PtUzXqaTO6uHyghxm MpFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QKy55Zx2; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-82068-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82068-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dw11-20020a05613028cb00b007d9fe172c76si740122uab.225.2024.02.26.09.34.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:34:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82068-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QKy55Zx2; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-82068-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82068-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 42BE11C2BACB for <ouuuleilei@gmail.com>; Mon, 26 Feb 2024 17:34:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F15D512FF76; Mon, 26 Feb 2024 17:32:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="QKy55Zx2" Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (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 0324012EBFA for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 17:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708968771; cv=none; b=EprikaYjPbNxq5E8rRamzsOBRr96ELPskBRKG5IwK84fOi4CKEIz1E9XROQnUGOzgM+QKEz9T+9odvV736zs0zGCWLz6y1OWHpqCXnKIduazK4texbvWPdEwx5uoBfVEneIr3n1uV2Pc7u3vSuOH1V7tDeUL3HHWhQersoqBHKw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708968771; c=relaxed/simple; bh=w2ALZt/64adjKX506ThshIXHvJN/vMxdfdgFwiM9u6U=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=MgH+0sbjRTkviczjD4CyF+s9NyFF4zU3hfrsZSw2ZUN7U/x0VtZmsrLhlKmxP76GP/2X3GlBseSjmBtH0niGVEAtbELVNwD39m6y0llpPC5qFyidj7TFYv5erg4wDIje2WUxuh7WylsayUnRunCr6OjSjaXBbzF73PMT8QkIv3A= 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=QKy55Zx2; arc=none smtp.client-ip=209.85.222.169 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 Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-781753f52afso214388385a.2 for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 09:32:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708968769; x=1709573569; 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=NPhOUUbGfyPt95d+thIFpKzftMVi7roAfhqv80cpO4Q=; b=QKy55Zx2thuva1klKLSMjiuFdWsKldSwcrH3NaWJN08GmrnRUbZN8FimyqZ85WTBY/ KwE1gYSkxNcwzHSoCiEl6EnpoY4mZuj7jCCicsSx1c13ttz3x+5/YO94t4wXqpfLp8JV I9Ag3nD+bK+e4oZeszIpcD2+0eOFY0uTs7pW0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708968769; x=1709573569; 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=NPhOUUbGfyPt95d+thIFpKzftMVi7roAfhqv80cpO4Q=; b=Ap7TxgEdaBNE0/+tFb7UI2f1gLvjMK2b32Q+AOQjTPmx9hfhBciLnjLU6E7+AL5Kz+ Fsev0AczQ9epu1mLKsHZ3wUTzFJ9+WaPwkvR31YfH28oT3v3ZoDcKeS5/uSTgD4nqyBh FjVfto7g4yLfC6MLRPh8BIa+VBTs9pzYMe+dfYSWTtUFnrCY16rYtvTmXOc4naNE+c1j jW9jFXf7X66oeeLKBSPV7MN5JSHTyGcnODZH+5a0r80Dw16yQIU7WCdK/gsK25MF3hPo 4ADtFLtHzCtICkGmgZe9ec7bNMy0sLQh37A6xDloMBax0TN8Y9GHHXlRDH+1K+tBGY3j Nnuw== X-Forwarded-Encrypted: i=1; AJvYcCVte1DgysmIe9xkXv8YF7xdSVNJk5HbsqXyQFkTKtXeptc+gaCtrfKykm9fyOsxKGA0THO9LQJzpyBtQgM2TjvfOxCiCRD+26+AC8qc X-Gm-Message-State: AOJu0YxP+Uxa89F1vAanfKH7DfurAIW3GvjcnTC6DPBFB2wfOSJpyJeI v5nVtF7BKmV9M3ufRN9pIQWD8rnbtpyDbgnjHG3isZT8fhaW1+NPfeBBMRUdqQ== X-Received: by 2002:a37:e113:0:b0:785:c9d1:8636 with SMTP id c19-20020a37e113000000b00785c9d18636mr6773215qkm.59.1708968768956; Mon, 26 Feb 2024 09:32:48 -0800 (PST) Received: from denia.c.googlers.com (115.25.199.35.bc.googleusercontent.com. [35.199.25.115]) by smtp.gmail.com with ESMTPSA id b11-20020a05620a04eb00b0078725d0345dsm2672669qkh.2.2024.02.26.09.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:32:48 -0800 (PST) From: Ricardo Ribalda <ribalda@chromium.org> Subject: [PATCH v2 0/3] media: Fix warnings building with LLVM=1 Date: Mon, 26 Feb 2024 17:32:43 +0000 Message-Id: <20240226-fix-clang-warnings-v2-0-fa1bc931d17e@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADvL3GUC/32NSw6CMBCGr0Jm7ZjO2KC48h6GRS0VJpHWTBU1h LtbOYDL73/OkINKyHCsZtAwSZYUC/CmAj+42AeUrjCwYWuID3iVN/pbcfDlNErsM9aeuGFj672 /QCneNZTUOnpuCw+SH0k/68dEP/Xv3ERokLrG1oZ2zjKd/KBplOe4TdpDuyzLF1e5fQq3AAAA To: Mauro Carvalho Chehab <mchehab@kernel.org>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Bill Wendling <morbo@google.com>, Justin Stitt <justinstitt@google.com>, Mike Isely <isely@pobox.com>, Tiffany Lin <tiffany.lin@mediatek.com>, Andrew-CT Chen <andrew-ct.chen@mediatek.com>, Yunfei Dong <yunfei.dong@mediatek.com>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Bjorn Andersson <andersson@kernel.org>, Mathieu Poirier <mathieu.poirier@linaro.org> 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, linux-remoteproc@vger.kernel.org, Ricardo Ribalda <ribalda@chromium.org> X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791983712145588078 X-GMAIL-MSGID: 1791983712145588078 |
Series | media: Fix warnings building with LLVM=1 | |
Message
Ricardo Ribalda
Feb. 26, 2024, 5:32 p.m. UTC
LLVM does check -Wcast-function-type-sctrict, which is triggered in a
couple of places in the media subsystem.
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Changes in v2:
- Refactor media: mediatek patchset
- sta2x11: Fix Christmas tree order
- Link to v1: https://lore.kernel.org/r/20240128-fix-clang-warnings-v1-0-1d946013a421@chromium.org
---
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/mdp3/mtk-mdp3-vpu.c | 12 ++++++------
.../media/platform/mediatek/vcodec/common/mtk_vcodec_fw.h | 2 +-
.../platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c | 10 +---------
drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.c | 2 +-
drivers/media/platform/mediatek/vcodec/encoder/venc_vpu_if.c | 2 +-
drivers/media/usb/pvrusb2/pvrusb2-context.c | 5 +++--
drivers/media/usb/pvrusb2/pvrusb2-dvb.c | 7 ++++---
drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 7 ++++---
drivers/remoteproc/mtk_scp.c | 4 ++--
include/linux/remoteproc/mtk_scp.h | 2 +-
include/linux/rpmsg/mtk_rpmsg.h | 2 +-
12 files changed, 28 insertions(+), 32 deletions(-)
---
base-commit: d206a76d7d2726f3b096037f2079ce0bd3ba329b
change-id: 20240128-fix-clang-warnings-6c12920467cb
Best regards,