[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170710092103.vnanagwpimk43zoz@localhost.localdomain>
Date: Mon, 10 Jul 2017 11:21:03 +0200
From: Richard Cochran <richardcochran@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Ganesh Goudar <ganeshgr@...lsio.com>,
Atul Gupta <atul.gupta@...lsio.com>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 1/2 net] ptp: fix error codes in ptp_clock_register()
On Mon, Jul 10, 2017 at 10:11:37AM +0300, Dan Carpenter wrote:
> The ptp_clock_register() function returns NULL when it's #ifdefed out
> because CONFIG_PTP_1588_CLOCK is disabled. Otherwise, it's intended to
> return error pointers. Unfortunately, there are a couple paths where we
> forget to set the error code. It means that we could result in NULL
> pointer dereferences in the callers.
>
> Fixes: d94ba80ebbea ("ptp: Added a brand new class driver for ptp clocks.")
This "Fixes" tag references the wrong commit. Please correct it.
Thanks,
Richard
Powered by blists - more mailing lists