|
@@ -1578,7 +1578,7 @@ static int f15_m30h_match_to_this_node(struct amd64_pvt *pvt, unsigned range,
|
|
num_dcts_intlv, dct_sel);
|
|
num_dcts_intlv, dct_sel);
|
|
|
|
|
|
/* Verify we stay within the MAX number of channels allowed */
|
|
/* Verify we stay within the MAX number of channels allowed */
|
|
- if (channel > 4 || channel < 0)
|
|
|
|
|
|
+ if (channel > 3)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
leg_mmio_hole = (u8) (dct_cont_base_reg >> 1 & BIT(0));
|
|
leg_mmio_hole = (u8) (dct_cont_base_reg >> 1 & BIT(0));
|