dma-pool: Fix an uninitialized variable bug in atomic_pool_expand()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 26 Aug 2020 11:33:30 +0000 (14:33 +0300)
committerChristoph Hellwig <hch@lst.de>
Thu, 27 Aug 2020 07:22:56 +0000 (09:22 +0200)
commit892fc9f6835ecf075efac20789b012c5c9997fcc
tree6514c52462eb79f0a33c7f8058936e5154661a94
parent15bc20c6af4ceee97a1f90b43c0e386643c071b4
dma-pool: Fix an uninitialized variable bug in atomic_pool_expand()

The "page" pointer can be used with out being initialized.

Fixes: d7e673ec2c8e ("dma-pool: Only allocate from CMA when in same memory zone")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/pool.c