git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[safe/jmp/linux-2.6]
/
crypto
/
async_tx
/
async_memset.c
diff --git
a/crypto/async_tx/async_memset.c
b/crypto/async_tx/async_memset.c
index
a374784
..
58e4a87
100644
(file)
--- a/
crypto/async_tx/async_memset.c
+++ b/
crypto/async_tx/async_memset.c
@@
-47,7
+47,7
@@
async_memset(struct page *dest, int val, unsigned int offset, size_t len,
struct dma_device *device = chan ? chan->device : NULL;
struct dma_async_tx_descriptor *tx = NULL;
- if (device) {
+ if (device
&& is_dma_fill_aligned(device, offset, 0, len)
) {
dma_addr_t dma_dest;
unsigned long dma_prep_flags = 0;