diff options
| author | Yoshihiro Shimoda <[email protected]> | 2015-12-04 15:21:19 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-12 21:42:31 -0800 |
| commit | d09959e7529451a1c302197fb1396ed5b835f6d3 (patch) | |
| tree | 51ba48440151d1d1acb2eb1d8c7f21903f9c8995 /net/tipc/node.c | |
| parent | ac8f3bf8832a405cc6e4dccb1d26d5cb2994d234 (diff) | |
serial: sh-sci: Fix length of scatterlist
This patch fixes an issue that the "length" of scatterlist should be
set using sg_dma_len(). Otherwise, a dmaengine driver cannot work
correctly if CONFIG_NEED_SG_DMA_LENGTH=y.
Fixes: 7b39d90184 (serial: sh-sci: Fix NULL pointer dereference if HIGHMEM is enabled)
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions