projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1127b21
)
Merge tag 'dma-mapping-5.9-2' of git://git.infradead.org/users/hch/dma-mapping
author
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 30 Aug 2020 17:37:18 +0000
(10:37 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 30 Aug 2020 17:37:18 +0000
(10:37 -0700)
Pull dma-mapping fix from Christoph Hellwig:
"Fix a possibly uninitialized variable (Dan Carpenter)"
* tag 'dma-mapping-5.9-2' of git://git.infradead.org/users/hch/dma-mapping:
dma-pool: Fix an uninitialized variable bug in atomic_pool_expand()
kernel/dma/pool.c
patch
|
blob
|
history
diff --git
a/kernel/dma/pool.c
b/kernel/dma/pool.c
index
06582b4
..
1281c0f
100644
(file)
--- a/
kernel/dma/pool.c
+++ b/
kernel/dma/pool.c
@@
-84,7
+84,7
@@
static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size,
gfp_t gfp)
{
unsigned int order;
- struct page *page;
+ struct page *page
= NULL
;
void *addr;
int ret = -ENOMEM;