summaryrefslogtreecommitdiff
path: root/bpfc/.gitignore
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-14 14:34:28 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-14 14:34:28 +0200
commite07a1ee28df19afc6cd7360010b6ba862d29505f (patch)
tree53fa4c53599ca483fb5840b177497ebb531a5842 /bpfc/.gitignore
parent8cb741a7dce0bcc9140a1f717028a8b4c80559f5 (diff)
sock: Check return value of setsockopt() in set_tcp_nodelay()
Check the return value of setsockopt() and panic in case it is not 0, as in the other setsockopt() wrapper functions. This issue was discovered by the Coverity scanner. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpfc/.gitignore')
0 files changed, 0 insertions, 0 deletions
core was checking whether initial voltage matches the constraints. With incorrect vsel_mask of 0xff and default value of 0x50, the core interpreted this as 5 V which is outside of constraints (3-3.775 V). Then the regulator core was adjusting the voltage to match the constraints. With incorrect vsel_mask this new voltage mapped to a vere low voltage in the driver. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'Documentation/i2c')