Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0df305eb authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: solo6x10: simplify the logic at solo_p2m_dma_desc()



The logic with gets a p2m_id is more complex than needed,
causing false positives with static analyzers:

	drivers/media/pci/solo6x10/solo6x10-p2m.c:81 solo_p2m_dma_desc() error: buffer overflow 'solo_dev->p2m_dev' 4 <= s32max

Make it simpler and use unsigned int.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent d3c449e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment