]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: dte: Use LL suffix for 64-bit constants
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 6 Jul 2017 08:34:54 +0000 (10:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jul 2017 10:40:58 +0000 (11:40 +0100)
commit3d05035efaac1e9a4583b62cd70ecb8541399c0f
treeb2488e7122d29bc9c24f306002c901e159c0a992
parent25e7f2de96588890536c4032b703e4568495b212
ptp: dte: Use LL suffix for 64-bit constants

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_dte.c