Skip to content

Commit

Permalink
dmaengine: ioatdma: Squelch framesize warnings
Browse files Browse the repository at this point in the history
  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]>
  • Loading branch information
rtg-canonical authored and Vinod Koul committed Jan 25, 2016
1 parent 94901e1 commit 8319f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/ioat/prep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8319f84

Please sign in to comment.