Re: [PATCH RFC] hv_utils: implement Hyper-V PTP source

From: Olaf Hering
Date: Fri Jan 13 2017 - 10:22:53 EST


On Fri, Jan 13, Vitaly Kuznetsov wrote:

> + hv_ptp_clock = ptp_clock_register(&ptp_hyperv_info, NULL);
> + if (IS_ERR(hv_ptp_clock)) {

Should that be IS_ERR_OR_NULL to catch "!IS_REACHABLE(CONFIG_PTP_1588_CLOCK)"?

Olaf

Attachment: signature.asc
Description: PGP signature