aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Gardner <[email protected]>2016-01-08 14:48:17 -0700
committerVinod Koul <[email protected]>2016-01-25 09:49:55 +0530
commit8319f84adb49b5c6d69bbce86442e26c2277376f (patch)
tree7ef8fea87b4c62b0c4fd2b54ab51bc06b5ca8508
parent94901e1b24496f04bd59176b7f87406e71505e27 (diff)
dmaengine: ioatdma: Squelch framesize warnings
CC [M] drivers/dma/ioat/prep.o drivers/dma/ioat/prep.c: In function 'ioat_prep_pqxor': drivers/dma/ioat/prep.c:682:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ drivers/dma/ioat/prep.c: In function 'ioat_prep_pqxor_val': drivers/dma/ioat/prep.c:714:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=] } gcc version 5.3.1 20151219 (Ubuntu 5.3.1-4ubuntu1) Cc: Vinod Koul <[email protected]> Cc: Dan Williams <[email protected]> Cc: Dave Jiang <[email protected]> Cc: Prarit Bhargava <[email protected]> Cc: Nicholas Mc Guire <[email protected]> Cc: Jarkko Nikula <[email protected]> Signed-off-by: Tim Gardner <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r--drivers/dma/ioat/prep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/prep.c b/drivers/dma/ioat/prep.c
index 6bb4a13a8fbd..243421af888f 100644
--- a/drivers/dma/ioat/prep.c
+++ b/drivers/dma/ioat/prep.c
@@ -26,7 +26,7 @@
#include "hw.h"
#include "dma.h"
-#define MAX_SCF 1024
+#define MAX_SCF 256
/* provide a lookup table for setting the source address in the base or
* extended descriptor of an xor or pq descriptor