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] [day] [month] [year] [list]
Message-ID: <ZuO3qgO9OfUJrYUS@hoboy.vegasvil.org>
Date: Thu, 12 Sep 2024 20:55:22 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Christophe ROULLIER <christophe.roullier@...s.st.com>
Cc: Rahul Rameshbabu <rrameshbabu@...dia.com>, netdev@...r.kernel.org,
	"David S. Miller" <davem@...emloft.net>,
	Jakub Kicinski <kuba@...nel.org>, Shuah Khan <shuah@...nel.org>,
	Maciek Machnikowski <maciek@...hnikowski.net>
Subject: Re: [BUG] Regression with commit: ptp: Add .getmaxphase callback to
 ptp_clock_info

On Thu, Sep 12, 2024 at 04:51:51PM +0200, Christophe ROULLIER wrote:
> Hi Richard,
> 
> 
> I put in attachment result of pahole.
> 
> It is :
> 
> struct ptp_clock_caps {
>     int                        max_adj;              /*     0 4 */
>     int                        n_alarm;              /*     4 4 */
>     int                        n_ext_ts;             /*     8 4 */
>     int                        n_per_out;            /*    12 4 */
>     int                        pps;                  /*    16 4 */
>     int                        n_pins;               /*    20 4 */
>     int                        cross_timestamping;   /*    24 4 */
>     int                        adjust_phase;         /*    28 4 */
>     int                        max_phase_adj;        /*    32 4 */
>     int                        rsv[11];              /*    36 44 */
> 
>     /* size: 80, cachelines: 2, members: 10 */
>     /* last cacheline: 16 bytes */
> };

Total size is 80 bytes.

As expected.

So I can't explain the error that you are seeing.

Sorry,
Richard


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ