diff options
| author | Alexandre Belloni <[email protected]> | 2020-10-15 21:11:33 +0200 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2020-10-19 22:48:55 +0200 |
| commit | 8b34134907e7d70b8b51fa56ecd4f8c50c46692c (patch) | |
| tree | 57a64302d18919402b7afad86f2c58db059738c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 2a8f3380c9e50a36b99a92febfd78f7c7afd29b0 (diff) | |
rtc: r9701: stop setting RWKCNT
tm_wday is never checked for validity and it is not read back in
r9701_get_datetime. Avoid setting it to stop tripping static checkers:
drivers/rtc/rtc-r9701.c:109 r9701_set_datetime()
error: undefined (user controlled) shift '1 << dt->tm_wday'
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions