[PATCH v2] v4l2-dv-timings: fix overflow in gtf timings calculation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please find version v2 for the overflow fix in gtf timing calculation.
v2 incorporates comments from Hans on version 1 of this patch.

Regards,
Prashant

Prashant Laddha (1):
  v4l2-dv-timings: fix overflow in gtf timings calculation

 drivers/media/v4l2-core/v4l2-dv-timings.c | 30 ++++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

Changes compared to v1:
1. Use div_u64() for 64 bit division
2. Use u64 instead 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux