linux_dsm_epyc7002/drivers/media
Tvrtko Ursulin c4860ad605 lib/scatterlist: Fix offset type in sg_alloc_table_from_pages
Scatterlist entries have an unsigned int for the offset so
correct the sg_alloc_table_from_pages function accordingly.

Since these are offsets withing a page, unsigned int is
wide enough.

Also converts callers which were using unsigned long locally
with the lower_32_bits annotation to make it explicitly
clear what is happening.

v2: Use offset_in_page. (Chris Wilson)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Pawel Osciak <pawel@osciak.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Tomasz Stanislawski <t.stanislaws@samsung.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: linux-media@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> (v1)
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170731185512.20010-1-tvrtko.ursulin@linux.intel.com
2017-09-07 10:48:27 +01:00
..
cec media: cec-notifier: small improvements 2017-07-26 05:46:44 -04:00
common [media] b2c2: constify nxt200x_config structure 2017-04-17 12:18:18 -03:00
dvb-core Linux v4.13-rc1 2017-07-17 11:17:36 -03:00
dvb-frontends media: dvb-frontends/stv0367: Improve DVB-C/T frontend status 2017-06-25 10:48:45 -03:00
firewire
i2c media: i2c: tvp5150: remove useless variable assignment in tvp5150_set_vbi() 2017-06-24 19:04:46 -03:00
mmc
pci Linux v4.13-rc1 2017-07-17 11:17:36 -03:00
platform Linux 4.13-rc5 2017-08-15 16:16:58 +10:00
radio Linux v4.13-rc1 2017-07-17 11:17:36 -03:00
rc media: lirc: LIRC_GET_REC_RESOLUTION should return microseconds 2017-07-26 05:46:42 -04:00
spi
tuners media: tw5864, fc0011: better handle WARN_ON() 2017-06-24 16:19:27 -03:00
usb media: pulse8-cec: persistent_config should be off by default 2017-07-26 05:46:43 -04:00
v4l2-core lib/scatterlist: Fix offset type in sg_alloc_table_from_pages 2017-09-07 10:48:27 +01:00
Kconfig [media] cec: rename MEDIA_CEC_NOTIFIER to CEC_NOTIFIER 2017-06-04 15:23:35 -03:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: entity: Catch unbalanced media_pipeline_stop calls 2017-06-23 09:23:36 -03:00