mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vitaly Kuznetsov <vkuznets@redhat.com>
To: devel@linuxdriverproject.org
Cc: kbuild-all@01.org, kbuild test robot <lkp@intel.com>,
	Olaf Hering <olaf@aepfle.de>, Radim Krcmar <rkrcmar@redhat.com>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	Alex Ng <alexng@microsoft.com>,
	linux-kernel@vger.kernel.org,
	John Stultz <john.stultz@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Richard Cochran <richardcochran@gmail.com>
Subject: Re: [PATCH v4 2/2] hv_utils: implement Hyper-V PTP source
Date: Fri, 20 Jan 2017 12:06:19 +0100	[thread overview]
Message-ID: <87k29qyor8.fsf@vitty.brq.redhat.com> (raw)
In-Reply-To: <201701200149.nxSn81op%fengguang.wu@intel.com> (kbuild test robot's message of "Fri, 20 Jan 2017 02:01:24 +0800")

kbuild test robot <lkp@intel.com> writes:

> Hi Vitaly,
>
> [auto build test WARNING on linus/master]
> [also build test WARNING on v4.10-rc4 next-20170119]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url:    https://github.com/0day-ci/linux/commits/Vitaly-Kuznetsov/hv_util-adjust-system-time-smoothly/20170120-011342
> config: x86_64-rhel (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
>
> All warnings (new ones prefixed by >>):
>
>    drivers/hv/hv_util.c: In function 'hv_timesync_init':
>>> drivers/hv/hv_util.c:561:36: warning: passing argument 1 of 'ptp_clock_register' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      hv_ptp_clock = ptp_clock_register(&ptp_hyperv_info, NULL);
>                                        ^
>    In file included from drivers/hv/hv_util.c:30:0:
>    include/linux/ptp_clock_kernel.h:172:26: note: expected 'struct ptp_clock_info *' but argument is of type 'const struct ptp_clock_info *'
>     extern struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info,
>                              ^~~~~~~~~~~~~~~~~~
>

It seems ptp_clock_register() could've been changed to take 'const
struct ptp_clock_info *' such a change doesn't belong this series, I'll
drop the 'const' qualifier in the next submission.

-- 
  Vitaly

  reply	other threads:[~2017-01-20 11:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 14:16 [PATCH v4 0/2] hv_util: adjust system time smoothly Vitaly Kuznetsov
2017-01-19 14:16 ` [PATCH v4 1/2] hv_util: switch to using timespec64 Vitaly Kuznetsov
2017-01-19 14:16 ` [PATCH v4 2/2] hv_utils: implement Hyper-V PTP source Vitaly Kuznetsov
2017-01-19 18:01   ` kbuild test robot
2017-01-20 11:06     ` Vitaly Kuznetsov [this message]
2017-01-20 16:28   ` Radim Krcmar
2017-01-23 16:36     ` Vitaly Kuznetsov
2017-01-28 19:04   ` KY Srinivasan
2017-01-30  9:19     ` Vitaly Kuznetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k29qyor8.fsf@vitty.brq.redhat.com \
    --to=vkuznets@redhat.com \
    --cc=alexng@microsoft.com \
    --cc=devel@linuxdriverproject.org \
    --cc=haiyangz@microsoft.com \
    --cc=john.stultz@linaro.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=olaf@aepfle.de \
    --cc=richardcochran@gmail.com \
    --cc=rkrcmar@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome