[PATCH] bus/cdx: Move debug print before unmapping resource

Nipun Gupta nipun.gupta at amd.com
Thu Jun 15 12:58:13 CEST 2023


Please do not use first letter of the commit as capital ("Move" should 
be "move"). Also fix this for other patches sent for CDX.

check-git-log.sh script report these errors. Please run this before sending.

On 6/14/2023 3:53 PM, Abhijit Gangurde wrote:
> Debug print is moved before unmapping requested address
> to fix use after free coverity issue.
> 
> Coverity issue: 385381
> Fixes: 45ef232af515 ("bus/cdx: introduce AMD CDX bus")
> Signed-off-by: Abhijit Gangurde <abhijit.gangurde at amd.com>
> ---
>   drivers/bus/cdx/cdx.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)


More information about the dev mailing list