Message ID | 20240226-fix-clang-warnings-v2-0-fa1bc931d17e@chromium.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 B9540C54E4A for <linux-arm-kernel@archiver.kernel.org>; Mon, 26 Feb 2024 17:33:11 +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:Cc:To: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=i2eaBXHJdOt1C3XCKwttFOVWl8EsVPtoWEOAy0xuiKM=; b=El/vf6WW0wxDYp TklmWWK0u2BizySpWt5P+O9SBgijGC5jxFvZctR5nTJ0/r3CdXpYboWmrV/XXf6INyrmgx3m/pYeD /T/nJLskF6DweSpmtZeUlOpd/wn/2pUDMs/aieKNZ5YDkR0OXpTeLYBxNIB/6nJM6RbPg54euQQ+7 S0B+dWyg/43JHChmWEu5J0BY7hNd2u+P2bmHozOMnA1rQhATY5QrOR78ZzOrrTTj2yWUBhH0Se9DP Xfi5EPxktkle6QgppwE0eae879JYUVlt4AXXL4QMQ0ltk+l7JUDyG2q9s+5WAY7rUZ5kg8pGmjnRf MkJarNlEqXKRdnc2yrNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1reeqZ-00000001zgD-0iCK; Mon, 26 Feb 2024 17:32:59 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1reeqQ-00000001zYZ-3G4s for linux-arm-kernel@lists.infradead.org; Mon, 26 Feb 2024 17:32:54 +0000 Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-787bb013422so230159485a.0 for <linux-arm-kernel@lists.infradead.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=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=NPhOUUbGfyPt95d+thIFpKzftMVi7roAfhqv80cpO4Q=; b=OGKFiBGYRYRIXkuukrGwC44mJOxp5LZqCjrd0dG6R+H5q60K+lbWqiFBxWzgshmEkJ ae5VTlrkwDWMuP32sx48U7vvIMAq18aG62PSpLX8Io5R/ZfFXFDu+zBNfmk3MK6CljFr INTkcf3RYLb/dtVY4O5q2TZztebbtR1Uc+dOE= 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=nKJY3tuPnbjNmxSpKJIdaSwOdhnrHEfjZb6awm3jYGjrQEkFWhlGo7bLEg53PxnjnA 5z2NJe8cwvkJeKFMSAEO4cXQ7mNZx0PC83U//URBmB9tE5KOzAc2SUalMXU6+TeZYt9L 0VCikQPDZA+AyJKHjvO5eAr7F2amroR7TMxrkNngd9UUto/YqWfayZXZDDvTaYuSSj7E qjK/Uv6oy0Zv01omyacRutGHnOp7FCS5vP0XNbCykfO606xWz/5Z0LqDrcv+B7Yg7b00 0cV6uH7KuFtQE/6SGup3RzXihGgePpCicw1IknosdJvrwYStW6C0ZtdzCm5tZEMOLfRu j2CQ== X-Forwarded-Encrypted: i=1; AJvYcCVjbsupS5rUUGKW97eTboQ9LGt4NQpH2/tHdKNXXrX9sgIGin9mWZ7t6OxxjHGB0b2SZaRKzNfUgPhKKgdTyTHlDOC49vxUEreJBmMBRCFJpHHi1u8= X-Gm-Message-State: AOJu0YxX0SNtnNuijSY9K5cOqKvO3baOPxI6pa2h4y1tIxu338D9ucD6 quFiZUZO8oTvpy8crDcfoDklWNhsCN7Zen4WKbDFlVu6sA0jNTsxQ1Jd5jK2+g== X-Google-Smtp-Source: AGHT+IHvLZz0JMsMLxrxZ5LeCz16I0q4crWk7ffwcs10kKwH096y5KdYOmJIsU/8SW+PQA+90LYoog== 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> MIME-Version: 1.0 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_093250_929271_0C6E526F X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series | media: Fix warnings building with LLVM=1 | expand |
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,