Skip to content

Commit

Permalink
Merge tag 'dma-mapping-5.9-2' of git://git.infradead.org/users/hch/dm…
Browse files Browse the repository at this point in the history
…a-mapping

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()
  • Loading branch information
Linus Torvalds committed Aug 30, 2020
2 parents 1127b21 + 892fc9f commit c401128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/dma/pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c401128

Please sign in to comment.