[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <12831.1343583710@warthog.procyon.org.uk>
Date: Sun, 29 Jul 2012 18:41:50 +0100
From: David Howells <dhowells@...hat.com>
To: Devendra Naga <develkernel412222@...il.com>
Cc: dhowells@...hat.com, "David S. Miller" <davem@...emloft.net>,
Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
Jiri Pirko <jpirko@...hat.com>,
Pradeep A Dalvi <netdev@...deepdalvi.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH] seeq: use PTR_RET at init_module of driver
Devendra Naga <develkernel412222@...il.com> wrote:
> the driver sees wether the dev_seeq pointer is having a error that can be
> read by using the PTR_ERR, and returns it at error case, other wise 0 at
> success case.
>
> the PTR_RET does the same thing, and use PTR_RET instead of redoing the
> code of PTR_RET
>
> Signed-off-by: Devendra Naga <develkernel412222@...il.com>
Acked-by: David Howells <dhowells@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists