On 07/28, Rajendra Nayak wrote:
> +
> +#define PWR_ON_MASK          BIT(31)
> +#define EN_REST_WAIT_MASK    GENMASK(23, 20)
> +#define EN_FEW_WAIT_MASK     GENMASK(19, 16)
> +#define CLK_DIS_WAIT_MASK    GENMASK(15, 12)

This trips up some static checker...

drivers/clk/qcom/gdsc.c:234:53: warning: cast truncates bits from
constant value (fffffffffff006 becomes fffff006)

So I think we can use GENMASK_ULL here instead.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to