[PATCH 1/5] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2017-07-31 Thread Tvrtko Ursulin
From: Tvrtko Ursulin 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

[PATCH 1/5] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2017-07-31 Thread Tvrtko Ursulin
From: Tvrtko Ursulin 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

Re: [PATCH 1/5] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2016-10-24 Thread Marek Szyprowski
Hi Tvrtko, On 2016-10-21 16:11, Tvrtko Ursulin wrote: From: Tvrtko Ursulin 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.

Re: [PATCH 1/5] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2016-10-24 Thread Marek Szyprowski
Hi Tvrtko, On 2016-10-21 16:11, Tvrtko Ursulin wrote: From: Tvrtko Ursulin 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

[PATCH 1/5] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2016-10-21 Thread Tvrtko Ursulin
From: Tvrtko Ursulin 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

[PATCH 1/5] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2016-10-21 Thread Tvrtko Ursulin
From: Tvrtko Ursulin 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