Message ID | 20250106-fix-cocci-v4-0-3c8eb97995ba@chromium.org |
---|---|
Headers | show
Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (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 24EFC1DDA2D for <linux-media@vger.kernel.org>; Mon, 6 Jan 2025 13:40:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736170812; cv=none; b=PLhMpEcLCcYhG3yBf4h7ZDKp1AJMYXCpMzq8ezEfgTgvel8MUsuKbTeBc+vzJ/bLk6DhzhL+IFXbwiPUNgGREJxk76VtXON9Nwb0T1+onwOySAHLOIgRlVL7BhMl4+g4gdg6+QLeMffch83NOstRkvuJeoAwKXW8WWsCx+tkX8k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736170812; c=relaxed/simple; bh=kOuzObGIDeq9i5QzIKVxGhblYTf6GWH0D11rX0i/rMY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=UH31jQ7Nko5RZyIZxA28IGa5odGUb5cI903XbsuIlnUYGesxnlohFw812x9hV/AdSLQ22ZiY5npsPWffL4mdOeRYzaDxHqbKzKnOp4n9kUsGGoM0jCkikekR0RlSyPb60zuFWYXCObcaxHu4IID7AjgXjwaRLrz2NYPaRvqoxIw= 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=if0cO+NE; arc=none smtp.client-ip=209.85.222.177 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="if0cO+NE" Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-7b6e9317a2aso1278959985a.0 for <linux-media@vger.kernel.org>; Mon, 06 Jan 2025 05:40:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1736170809; x=1736775609; 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=xOsVt77FKfFVM+zZoR5LNowHV3GW4yGVDOGWw6HAjkc=; b=if0cO+NEch0C0LzymC+gWHYydH3TdtkmZs9U/0QoUVM0HTRshO9a1Mv6DLkp3ksc8I 3stc6OGjeyKXsZZge2E1cLjk3po8Vs3ExoJCTr1uT4VsTUWv8HcyjyRuXH2lFbarCXOS hOETCuvsDOR5bfOVSMMPkl8x5gb0QSVBZDLtU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736170809; x=1736775609; 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=xOsVt77FKfFVM+zZoR5LNowHV3GW4yGVDOGWw6HAjkc=; b=wPaWlrsjA1GnD9mxFPkPD7YhQ15ehkbZhoUa85bor8gLwcKAOO4yi7K1xwDhH71av0 1ESM8wc9Z+VjxCHOgM0jj/t/pd9cFsyDmISwYkhjqs4PxkQjReX6K3KtMZKK63C2njpo r/K28O20tPv+iCxL9aajEfZfBdIHdVaNXE4x436VDZ0QVwFTPde66djqYXhQ9pcYK/AT 9XB0o0/ckZBv1uRQYEBtr4Kshz3hih7rQklA/B5zFXgMGOdEzKS3zMZNeSesA0aZF3Of 5SKyRVcpTspKXs9/rcwkebdWIlOS8xm/aNuvh8Kz/Sdz6EHlzMbXEB8hakaHZS0dnTlB 0QsA== X-Gm-Message-State: AOJu0YzAgIzXuYYyZGv/S1aRyFJw0s/Kr4Y3yUXxxsN6WqMlekG3WenP H+ZdggoBt6nJE2gHRLLXJ1HtOzRjFQYpvDmZcLfMpx3xJIMH2/hs5FW5ColM6A== X-Gm-Gg: ASbGnctXvGC5TPTVPi+bfODNbe6zL4jorucbw9NRn38w7Ty6UlF1IvDLiS0hpoKQtQl ZxUiTuLP2I7xBA0oiouOMadsDHEYr4YXFn03GQHkY0ty/L5PNvPr927zDmzBa0fgwjr+bs/Pl3/ TbIV8iCqooMa/b8o7K4BS3zfwFGphGqoMv/n45f74n3mz7KdpKxa7f5ni4pTl8PUkOaffs+pIP1 Dpl8IZyTA3iBu5Zy2zKC0rC9MoiG9Idwq/LygAxaobzU6YUrLR5ZZSNChdGXH4Ou9RHnMGLLaSA VQmEj93bKVUJRR4mT8z763qTlx5tIWcJR5E/ X-Google-Smtp-Source: AGHT+IHOKCJJs+GqomypNhXhviH5aBDG72Kpz2bchSE68kzYSNUTI0dva2fBVPjEv8K+wFfaAgMNPg== X-Received: by 2002:a05:620a:178a:b0:7b7:142d:53a8 with SMTP id af79cd13be357-7b9bacb0a15mr7350182185a.19.1736170809034; Mon, 06 Jan 2025 05:40:09 -0800 (PST) Received: from denia.c.googlers.com (172.174.245.35.bc.googleusercontent.com. [35.245.174.172]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b9ac478d35sm1501861085a.90.2025.01.06.05.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 05:40:08 -0800 (PST) From: Ricardo Ribalda <ribalda@chromium.org> Subject: [PATCH v4 0/6] media: Fix coccinelle warning/errors Date: Mon, 06 Jan 2025 13:40:06 +0000 Message-Id: <20250106-fix-cocci-v4-0-3c8eb97995ba@chromium.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+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=H4sIADbde2cC/23MQQ6DIBCF4asY1qWBAUW66j2aLhRBZ6E00JI2x rsXXdnG5YP5/plEG9BGcilmEmzCiH7KQ54KYoZm6i3FLm8CDCSTvKQO39R4Y5BC54R1AE3lFMn 3j2Dz59a63fMeMD59+GzpxNfXo0rilFGpVONaEArq9mqG4Ed8jWcferKGEuyx3mPIGDjXttIgm DYHWOww/GCRsTCyrkpXNrJlf3hZli9yfeqvHwEAAA== To: Mauro Carvalho Chehab <mchehab@kernel.org>, Stanimir Varbanov <stanimir.k.varbanov@gmail.com>, Vikash Garodia <quic_vgarodia@quicinc.com>, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, Hans Verkuil <hans.verkuil@cisco.com>, Hans Verkuil <hverkuil@xs4all.nl> Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Stanimir Varbanov <stanimir.varbanov@linaro.org>, linux-arm-msm@vger.kernel.org, Ricardo Ribalda <ribalda@chromium.org> X-Mailer: b4 0.13.0 |
Series |
media: Fix coccinelle warning/errors
|
expand
|
These is the last set of patches to fix all the relevant patchwork warnings (TM). To: Stanimir Varbanov <stanimir.k.varbanov@gmail.com> To: Vikash Garodia <quic_vgarodia@quicinc.com> To: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: Mauro Carvalho Chehab <mchehab@kernel.org> To: Hans Verkuil <hverkuil@xs4all.nl> Cc: linux-media@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Changes in v4: - Remove all merged patches - Improve commit messages. - media: Remove timeperframe from inst - Ignore 0 fps (Thanks Hans) - Link to v3: https://lore.kernel.org/r/20240429-fix-cocci-v3-0-3c4865f5a4b0@chromium.org Changes in v3: Thanks Bryan, Dan, Markus, Sakary and Hans - Improve commit messages. - Use div64_u64 when possible - Link to v2: https://lore.kernel.org/r/20240419-fix-cocci-v2-0-2119e692309c@chromium.org Changes in v2: - Remove all the min() retval, and send a patch for cocci: https://lore.kernel.org/lkml/20240415-minimax-v1-1-5feb20d66a79@chromium.org/T/#u - platform_get_irq() cannot return 0, fix that (Thanks Dan). - Fix stb0800 patch. chip_id can be 0 (Thanks Dan). - Use runtime (IS_ENABLED), code looks nicer. (Thanks Dan). - Do not replace do_div for venus (Thanks Dan). - Do not replace do_div for tda10048 (Thanks Dan). - Link to v1: https://lore.kernel.org/r/20240415-fix-cocci-v1-0-477afb23728b@chromium.org --- Ricardo Ribalda (6): media: dvb-frontends: tda10048: Make the range of z explicit. media: venus: vdec: Ignore parm smaller than 1fps media: venus: venc: Ignore parm smaller than 1fps media: venus: Remove timeperframe from inst media: venus: venc: Make the range of us_per_frame explicit media: venus: vdec: Make the range of us_per_frame explicit drivers/media/dvb-frontends/tda10048.c | 4 +++- drivers/media/platform/qcom/venus/core.h | 2 -- drivers/media/platform/qcom/venus/vdec.c | 24 +++++++++++------------- drivers/media/platform/qcom/venus/venc.c | 25 +++++++++++-------------- 4 files changed, 25 insertions(+), 30 deletions(-) --- base-commit: ab2fd4a0ca26f3b4a7764f51ed3326ab89ab3213 change-id: 20240415-fix-cocci-2df3ef22a6f7 Best regards,