lkml.org 
[lkml]   [2017]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] ptp: dte: Use LL suffix for 64-bit constants
From
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.
\
 
 \ /
  Last update: 2017-07-06 12:42    [W:0.030 / U:16.660 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site