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

2017-10-20 Thread Jaehoon Chung
On 10/05/2017 03:02 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 v2] drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro

2017-10-05 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