Skip to contentSkip to conversation

linux-next: build warning after merge of the drm-msm tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Sep 14, 2020 – Sep 17, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the drm-msm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

drivers/gpu/drm/msm/dsi/pll/dsi_pll_7nm.c: In function 'msm_dsi_pll_7nm_init':
drivers/gpu/drm/msm/dsi/pll/dsi_pll_7nm.c:882:19: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '5000000000' to '705032704' [-Woverflow]

  882 |   pll->max_rate = 5000000000UL;
      |                   ^~~~~~~~~~~~

Introduced by commit

1ef7c99d145c ("drm/msm/dsi: add support for 7nm DSI PHY/PLL")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 4 lines · On Mon, 14 Sep 2020 12:10:22 +1000 Stephen Rothwell <[email protected]>…

After merging the drm-msm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

Quoted 8 lines

drivers/gpu/drm/msm/dsi/pll/dsi_pll_7nm.c: In function 'msm_dsi_pll_7nm_init':
drivers/gpu/drm/msm/dsi/pll/dsi_pll_7nm.c:882:19: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '5000000000' to '705032704' [-Woverflow]

  882 |   pll->max_rate = 5000000000UL;
      |                   ^~~~~~~~~~~~

Introduced by commit

1ef7c99d145c ("drm/msm/dsi: add support for 7nm DSI PHY/PLL")

I am still getting this warning.

Signature · 2 lines
Cheers,
Stephen Rothwell