Message ID | 20241004121924.27174-1-m.lobanov@rosalinux.ru (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] V4L/DVB (13661): rj54n1cb0c: possible integer overflow fix | expand |
I believe the bot flagged my patch incorrectly. Since the patch hasn’t been accepted upstream, it doesn’t make sense to include stable@vger.kernel.org. Additionally, I omitted "media" from the subject because the patch I am fixing does not have it in its title. Please let me know if further clarification is needed. Best regards, Mikhail Lobanov ----- Исходное сообщение ----- От: "Patchwork Integration" <patchwork@media-ci.org> Кому: "Михаил Лобанов" <m.lobanov@rosalinux.ru> Отправленные: Пятница, 4 Октябрь 2024 г 15:52:16 Тема: re: [v2] V4L/DVB (13661): rj54n1cb0c: possible integer overflow fix Dear Mikhail Lobanov: The unreliable Media-CI system has found some issues with your series. Check the report at: https://linux-media.pages.freedesktop.org/-/users/patchwork/-/jobs/64664035/artifacts/report.htm Please fix your series, and upload a new version. If you have a patchwork account, do not forget to mark the current series as Superseded. If you believe that the CI is wrong, kindly reply-all to this email. Best regards!
diff --git a/drivers/media/i2c/rj54n1cb0c.c b/drivers/media/i2c/rj54n1cb0c.c index a59db10153cd..a612ec1e7157 100644 --- a/drivers/media/i2c/rj54n1cb0c.c +++ b/drivers/media/i2c/rj54n1cb0c.c @@ -776,8 +776,8 @@ static int rj54n1_sensor_scale(struct v4l2_subdev *sd, s32 *in_w, s32 *in_h, } /* Antiflicker */ - peak = 12 * RJ54N1_MAX_WIDTH * (1 << 14) * resize / rj54n1->tgclk_mhz / - 10000; + peak = 12 * RJ54N1_MAX_WIDTH * resize / rj54n1->tgclk_mhz / 10000; + peak *= 1 << 14; peak_50 = peak / 6; peak_60 = peak / 5;