Skip to content

Commit 7154f48

Browse files
Fix some overflow warnings
1 parent 903cf71 commit 7154f48

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

drivers/clk/sifive/u54-prci.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
#define GEMTX_CLOCK 1
2525
#define PRCI_CLOCKS 2
2626

27-
#define MIN_REF 7000000UL
28-
#define MAX_REF 200000000UL
29-
#define MAX_PARENT 600000000UL
30-
#define MAX_VCO 4800000000UL
31-
#define MAX_DIV 64
32-
#define MAX_R 64UL
33-
34-
#define PLL_LOCK 0x80000000U
35-
#define NAME_LEN 40
27+
#define MIN_REF 7000000ULL
28+
#define MAX_REF 200000000ULL
29+
#define MAX_PARENT 600000000ULL
30+
#define MAX_VCO 4800000000ULL
31+
#define MAX_DIV 64ULL
32+
#define MAX_R 64ULL
33+
34+
#define PLL_LOCK 0x80000000ULL
35+
#define NAME_LEN 40ULL
3636

3737
struct sifive_u54_prci_driver;
3838

0 commit comments

Comments
 (0)