Re: [U-Boot] [PATCH] drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro

2017-08-18 Thread Jaehoon Chung
On 08/04/2017 06:33 PM, Suniel Mahesh wrote: > On Monday 17 July 2017 04:38 PM, Jaehoon Chung wrote: >> On 06/19/2017 04:33 PM, suni...@techveda.org wrote: >>> From: Suniel Mahesh >>> >>> __be32_to_cpu() accepts argument of type __be32. This patch changes type of >>> the

Re: [U-Boot] [PATCH] drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro

2017-08-04 Thread Suniel Mahesh
On Monday 17 July 2017 04:38 PM, Jaehoon Chung wrote: > On 06/19/2017 04:33 PM, suni...@techveda.org wrote: >> From: Suniel Mahesh >> >> __be32_to_cpu() accepts argument of type __be32. This patch changes type of >> the buffer in ALLOC_CACHE_ALIGN_BUFFER macro to __be32,

Re: [U-Boot] [PATCH] drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro

2017-07-17 Thread Jaehoon Chung
On 06/19/2017 04:33 PM, suni...@techveda.org wrote: > From: Suniel Mahesh > > __be32_to_cpu() accepts argument of type __be32. This patch changes type of > the buffer in ALLOC_CACHE_ALIGN_BUFFER macro to __be32, which is then passed > to __be32_to_cpu(). > This prevents

[U-Boot] [PATCH] drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro

2017-06-19 Thread sunil . m
From: Suniel Mahesh __be32_to_cpu() accepts argument of type __be32. This patch changes type of the buffer in ALLOC_CACHE_ALIGN_BUFFER macro to __be32, which is then passed to __be32_to_cpu(). This prevents sparse build warnings. drivers/mmc/mmc.c: warning: cast to