[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190613.224158.681315027941410948.davem@davemloft.net>
Date: Thu, 13 Jun 2019 22:41:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hancock@...systems.ca
Cc: netdev@...r.kernel.org, anirudh@...inx.com, John.Linn@...inx.com,
andrew@...n.ch
Subject: Re: [PATCH net-next] net: axienet: move use of resource after
validity check
From: Robert Hancock <hancock@...systems.ca>
Date: Tue, 11 Jun 2019 10:56:02 -0600
> We were accessing the pointer returned from platform_get_resource before
> checking if it was valid, causing an oops if it was not. Move this access
> after the call to devm_ioremap_resource which does the validity check.
>
> Signed-off-by: Robert Hancock <hancock@...systems.ca>
Applied.
Powered by blists - more mailing lists