mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] dmapool: Fix "nocast type" warnings
Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco <[email protected]> Signed-off-by: Domen Puncer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
00b61f5192
commit
3a11ec5e50
2 changed files with 4 additions and 2 deletions
|
|
@ -262,7 +262,8 @@ dma_pool_destroy (struct dma_pool *pool)
|
|||
* If such a memory block can't be allocated, null is returned.
|
||||
*/
|
||||
void *
|
||||
dma_pool_alloc (struct dma_pool *pool, int mem_flags, dma_addr_t *handle)
|
||||
dma_pool_alloc (struct dma_pool *pool, unsigned int __nocast mem_flags,
|
||||
dma_addr_t *handle)
|
||||
{
|
||||
unsigned long flags;
|
||||
struct dma_page *page;
|
||||
|
|
|
|||
Loading…
Reference in a new issue