[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5BD+jgwz+X6vs=AiprQJ_-EtT6M_Nm1MoUUT2bBQKDTKQ@mail.gmail.com>
Date: Mon, 9 Jul 2018 16:35:36 -0300
From: Fabio Estevam <festevam@...il.com>
To: Nicholas Mc Guire <der.herr@...r.at>
Cc: Nicholas Mc Guire <hofrat@...dl.org>,
Wolfram Sang <w.sang@...gutronix.de>,
Wolfgang Grandegger <wg@...ndegger.com>,
Marc Kleine-Budde <mkl@...gutronix.de>,
"David S. Miller" <davem@...emloft.net>, linux-can@...r.kernel.org,
netdev <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] can: mpc5xxx_can: check of_iomap return before use
On Mon, Jul 9, 2018 at 4:31 PM, Nicholas Mc Guire <der.herr@...r.at> wrote:
> I donĀ“t think so the code above this part return 0 on error and a
> valid frequency on success so returning -ENOMEM would probably be
> mistaken as a frequency !
Now that I looked closely in the function context I see it makes sense
to return 0 :-)
Thanks
Powered by blists - more mailing lists