Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682335

Re: [PATCH] ptp: dte: Use LL suffix for 64-bit constants

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] ptp: dte: Use LL suffix for 64-bit constants
Date 2017-07-06 12:50 +0200
Message-ID <u0cwa-38K-3@gated-at.bofh.it> (permalink)
References <u0aum-1Sl-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu,  6 Jul 2017 10:34:54 +0200

> With gcc 4.1.2:
> 
>     drivers/ptp/ptp_dte.c: In function ‘dte_write_nco_delta’:
>     drivers/ptp/ptp_dte.c:105: warning: integer constant is too large for ‘long’ type
>     drivers/ptp/ptp_dte.c:112: warning: integer constant is too large for ‘long’ type
>     drivers/ptp/ptp_dte.c:114: warning: integer constant is too large for ‘long’ type
> 
> Add the missing "LL" suffix to fix this.
> 
> Fixes: 8a56aa107f1e8123 ("ptp: Add a ptp clock driver for Broadcom DTE")
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ptp: dte: Use LL suffix for 64-bit constants Geert Uytterhoeven <geert@linux-m68k.org> - 2017-07-06 10:40 +0200
  Re: [PATCH] ptp: dte: Use LL suffix for 64-bit constants David Miller <davem@davemloft.net> - 2017-07-06 12:50 +0200

csiph-web