File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1349,7 +1349,7 @@ static void __init decode_gam_rng_tbl(unsigned long ptr)
1349
1349
struct uv_gam_range_entry * gre = (struct uv_gam_range_entry * )ptr ;
1350
1350
unsigned long lgre = 0 , gend = 0 ;
1351
1351
int index = 0 ;
1352
- int sock_min = 999999 , pnode_min = 99999 ;
1352
+ int sock_min = INT_MAX , pnode_min = INT_MAX ;
1353
1353
int sock_max = -1 , pnode_max = -1 ;
1354
1354
1355
1355
uv_gre_table = gre ;
@@ -1694,7 +1694,7 @@ static void __init uv_system_init_hub(void)
1694
1694
{
1695
1695
struct uv_hub_info_s hub_info = {0 };
1696
1696
int bytes , cpu , nodeid ;
1697
- unsigned short min_pnode = 9999 , max_pnode = 0 ;
1697
+ unsigned short min_pnode = USHRT_MAX , max_pnode = 0 ;
1698
1698
char * hub = is_uv5_hub () ? "UV500" :
1699
1699
is_uv4_hub () ? "UV400" :
1700
1700
is_uv3_hub () ? "UV300" :
You can’t perform that action at this time.
0 commit comments