]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: amd: qdma: make read-only arrays h2c_types and c2h_types static const
authorColin Ian King <colin.i.king@gmail.com>
Thu, 12 Sep 2024 13:10:17 +0000 (14:10 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 11 Dec 2024 12:05:08 +0000 (17:35 +0530)
commit9d880452fb3edc4645e28264381ce35606fb1b19
tree30289cab3a879eb07489839e580f63b175dfd2f9
parent24947be1c7da99036e8336de160457599bc124d7
dmaengine: amd: qdma: make read-only arrays h2c_types and c2h_types static const

Don't populate the read-only arrays h2c_types and c2h_types on the
stack at run time, instead make them static const.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240912131017.588141-1-colin.i.king@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/amd/qdma/qdma.c