summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-21 11:49:26 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-10-21 11:49:26 +0200
commit8368a551382bfa3a50b393873be341cd3c17f6df (patch)
treea23f02a7f33850f6e001af4cb3ebeee816f8a867 /trafgen.c
parent7e7bfc9f66066771804af28ae293dca3d9b7f4bb (diff)
csum: Don't drop const qualifier during cast
Don't drop const qualifier during cast to void * Found by compiling with -Wcast-qual. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.c')
0 files changed, 0 insertions, 0 deletions
8ce9274379&id2=d00b74613fb18dfd0a5aa99270ee2e72d5c808d7'>diff)
regulator: twl6030: fix range comparison, allowing vsel = 59
The range min_uV > 1350000 && min_uV <= 150000 is never reachable because of a typo in the previous range check and hence vsel = 59 is never reached. Fix the previous range check to enable the vsel = 59 setting. Fixes CoverityScan CID#728454 ("Logially dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')