commit | 2f423da8022da912895c35def221a1e6e04983a1 | [log] [tgz] |
---|---|---|
author | Suniel Mahesh <sunil.m@techveda.org> | Thu Oct 05 11:32:00 2017 +0530 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Fri Jan 12 18:11:03 2018 +0900 |
tree | 99ef38b3c357f8fa1098a62a1132972f5ae24bb9 | |
parent | 212df2a0361446b87a3acc7f2a94efe7f9251d57 [diff] |
drivers: mmc: Change buffer type in ALLOC_CACHE_ALIGN_BUFFER macro __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 restricted __be32 Signed-off-by: Suniel Mahesh <sunil.m@techveda.org> Signed-off-by: Karthik Tummala <karthik@techveda.org>