[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZBDSgVFNVqCWkbxR@hoboy.vegasvil.org>
Date: Tue, 14 Mar 2023 13:01:05 -0700
From: Richard Cochran <richardcochran@...il.com>
To: "Zhang, Tianfei" <tianfei.zhang@...el.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-fpga@...r.kernel.org" <linux-fpga@...r.kernel.org>,
"ilpo.jarvinen@...ux.intel.com" <ilpo.jarvinen@...ux.intel.com>,
"andriy.shevchenko@...ux.intel.com"
<andriy.shevchenko@...ux.intel.com>,
"Weight, Russell H" <russell.h.weight@...el.com>,
"matthew.gerlach@...ux.intel.com" <matthew.gerlach@...ux.intel.com>,
"pierre-louis.bossart@...ux.intel.com"
<pierre-louis.bossart@...ux.intel.com>,
"Gomes, Vinicius" <vinicius.gomes@...el.com>,
"Khadatare, RaghavendraX Anand"
<raghavendrax.anand.khadatare@...el.com>
Subject: Re: [PATCH v1] ptp: add ToD device driver for Intel FPGA cards
On Tue, Mar 14, 2023 at 07:16:28AM +0000, Zhang, Tianfei wrote:
> > Need to handle NULL as well...
>
> It looks like that it doesn't need check NULL for ptp_clock_register(), it handle the NULL case internally and return ERR_PTR(-ENOMEM).
You aren't looking in the right place.
Go back and READ the KernelDoc that I posted and you cut from your reply.
Thanks,
Richard
Powered by blists - more mailing lists