Messages in this thread | | | Date | Wed, 18 Dec 2013 21:14:48 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH 1/2] drivers: dma: Mark functions as static in dma_v3.c |
| |
On Mon, Dec 16, 2013 at 03:40:40PM +0530, Rashika Kheria wrote: > Mark the functions ioat3_prep_xor_val(), ioat3_prep_pq_val() and > ioat3_prep_pqxor_val() as static in dma_v3.c because they are not used > outside this file. > > This eliminates the following warnings in dma_v3.c: > drivers/dma/ioat/dma_v3.c:741:1: warning: no previous prototype for ‘ioat3_prep_xor_val’ [-Wmissing-prototypes] > drivers/dma/ioat/dma_v3.c:1092:1: warning: no previous prototype for ‘ioat3_prep_pq_val’ [-Wmissing-prototypes] > drivers/dma/ioat/dma_v3.c:1134:1: warning: no previous prototype for ‘ioat3_prep_pqxor_val’ [-Wmissing-prototypes] > > Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
-- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |