diff options
author | Tim Gardner <tim.gardner@canonical.com> | 2016-01-08 14:48:17 -0700 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-01-25 09:49:55 +0530 |
commit | 8319f84adb49b5c6d69bbce86442e26c2277376f (patch) | |
tree | 7ef8fea87b4c62b0c4fd2b54ab51bc06b5ca8508 /drivers/dma/ioat | |
parent | 94901e1b24496f04bd59176b7f87406e71505e27 (diff) | |
download | linux-stable-8319f84adb49b5c6d69bbce86442e26c2277376f.tar.gz linux-stable-8319f84adb49b5c6d69bbce86442e26c2277376f.tar.bz2 linux-stable-8319f84adb49b5c6d69bbce86442e26c2277376f.zip |
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 <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Nicholas Mc Guire <der.herr@hofr.at>
Cc: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ioat')
-rw-r--r-- | drivers/dma/ioat/prep.c | 2 |
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 |