lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87k29qyor8.fsf@vitty.brq.redhat.com>
Date:   Fri, 20 Jan 2017 12:06:19 +0100
From:   Vitaly Kuznetsov <vkuznets@...hat.com>
To:     devel@...uxdriverproject.org
Cc:     kbuild-all@...org, kbuild test robot <lkp@...el.com>,
        Olaf Hering <olaf@...fle.de>,
        Radim Krcmar <rkrcmar@...hat.com>,
        Haiyang Zhang <haiyangz@...rosoft.com>,
        Alex Ng <alexng@...rosoft.com>, linux-kernel@...r.kernel.org,
        John Stultz <john.stultz@...aro.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Richard Cochran <richardcochran@...il.com>
Subject: Re: [PATCH v4 2/2] hv_utils: implement Hyper-V PTP source

kbuild test robot <lkp@...el.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ