summaryrefslogtreecommitdiffstats
path: root/io_uring/nop.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2023-05-24 21:48:36 +0200
committerThierry Reding <thierry.reding@gmail.com>2023-06-23 15:37:35 +0200
commit87a2cbf02d7701255f9fcca7e5bd864a7bb397cf (patch)
treeef180ffd2833294294ea43a3521de95141f29149 /io_uring/nop.c
parentpwm: meson: modify and simplify calculation in meson_pwm_get_state (diff)
downloadlinux-87a2cbf02d7701255f9fcca7e5bd864a7bb397cf.tar.xz
linux-87a2cbf02d7701255f9fcca7e5bd864a7bb397cf.zip
pwm: meson: fix handling of period/duty if greater than UINT_MAX
state->period/duty are of type u64, and if their value is greater than UINT_MAX, then the cast to uint will cause problems. Fix this by changing the type of the respective local variables to u64. Fixes: b79c3670e120 ("pwm: meson: Don't duplicate the polarity internally") Cc: stable@vger.kernel.org Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'io_uring/nop.c')
0 files changed, 0 insertions, 0 deletions