[][kernel][common][app][Fix compile issue for the regs utility]

[Description]
Fix compile issue for the regs utility

Without this patch, the arm_cortex-a7_glibc-eabi is unable to
successfully compile the regs utility.

[Release-log]
N/A


Change-Id: I6626016620c10196b2f03e77c2ce1d964369bb7e
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8068857
diff --git a/feed/regs/src/regs.c b/feed/regs/src/regs.c
old mode 100755
new mode 100644
index 24a8f6e..8e85074
--- a/feed/regs/src/regs.c
+++ b/feed/regs/src/regs.c
@@ -183,7 +183,7 @@
 
 	/* Map one page */
 	offset = strtoul(argv[2], NULL, 16);
-	if (offset > 0xFFFFFFFFFFFF)
+	if (offset > 0xFFFFFFFFFFFFUL)
 		PRINT_ERROR;
 
 	map_base = mmap(0, 2 * MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED,
@@ -199,7 +199,7 @@
 	switch(access_type) {
 		case 'm':
 			writeval = strtoul(argv[3], 0, 16);
-			if (writeval > UINT_MAX)
+			if (writeval > 0xFFFFFFFFUL)
 				PRINT_ERROR;
 			startbit = strtoul(argv[4], 0, 10);
 			if (startbit > 32)
@@ -211,7 +211,7 @@
 			break;
 		case 'w':
 			writeval = strtoul(argv[3], 0, 16);
-			if (writeval > UINT_MAX)
+			if (writeval > 0xFFFFFFFFUL)
 				PRINT_ERROR;
 			*((uint32_t *) virt_addr) = writeval;
 			printf("Written 0x%X; ", writeval);