Skip to content

Commit c401128

Browse files
committed
Merge tag 'dma-mapping-5.9-2' of git://git.infradead.org/users/hch/dma-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()
2 parents 1127b21 + 892fc9f commit c401128

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/dma/pool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size,
8484
gfp_t gfp)
8585
{
8686
unsigned int order;
87-
struct page *page;
87+
struct page *page = NULL;
8888
void *addr;
8989
int ret = -ENOMEM;
9090

0 commit comments

Comments
 (0)