lkml.org 
[lkml]   [2018]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warning after merge of the tip tree
Hi all,

After merging the tip tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

lib/swiotlb.c:748:13: warning: 'swiotlb_free_buffer' defined but not used [-Wunused-function]
static bool swiotlb_free_buffer(struct device *dev, size_t size,
^~~~~~~~~~~~~~~~~~~
lib/swiotlb.c:706:1: warning: 'swiotlb_alloc_buffer' defined but not used [-Wunused-function]
swiotlb_alloc_buffer(struct device *dev, size_t size, dma_addr_t *dma_handle,
^~~~~~~~~~~~~~~~~~~~

Introduced by commit

16e73adbca76 ("dma/swiotlb: Remove swiotlb_{alloc,free}_coherent()")

These are now only used with CONFIG_DMA_DIRECT_OPS.

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-03-23 03:30    [W:0.082 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site