[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180706111839.wwgnewib2r6xf4jd@8bytes.org>
Date: Fri, 6 Jul 2018 13:18:40 +0200
From: Joerg Roedel <joro@...tes.org>
To: "yzhai003@....edu" <yzhai003@....edu>
Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
csong@...ucr.edu, zhiyunq@...ucr.edu
Subject: Re: [PATCH] iommu/amd: Argument page_size could be uninitialized
On Fri, Jun 01, 2018 at 11:30:14AM -0700, yzhai003@....edu wrote:
> Argument "page_size" passing to function "fetch_pte" could be
> uninitialized if the function returns NULL
>
> The caller "iommu_unmap_page" checks the return value but the page_size is
> used outside the if block.
>
> Signed-off-by: yzhai003@....edu <yzhai003@....edu>
> ---
> drivers/iommu/amd_iommu.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks.
Powered by blists - more mailing lists