[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150709.214405.325044957551402588.davem@davemloft.net>
Date: Thu, 09 Jul 2015 21:44:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: k.kozlowski.k@...il.com
Cc: anirudh@...inx.com, John.Linn@...inx.com, michal.simek@...inx.com,
soren.brinkmann@...inx.com, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [RFT PATCH] net: axienet: Fix devm_ioremap_resource return
value check
From: Krzysztof Kozlowski <k.kozlowski.k@...il.com>
Date: Thu, 9 Jul 2015 22:21:20 +0900
> Value returned by devm_ioremap_resource() was checked for non-NULL but
> devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of
> error this could lead to dereference of ERR_PTR.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@...il.com>
> Cc: <stable@...r.kernel.org>
> Fixes: 46aa27df8853 ("net: axienet: Use devm_* calls")
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists