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

From: David Miller
Date: Thu Jul 06 2017 - 06:42:11 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>

Applied, thanks.