diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-08-15 14:58:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 16:46:45 +0300 |
commit | c0d6177fda727f29889ad9bab6b9bb7e867d8fed (patch) | |
tree | 6b8e964703c08de7dc07df1231a637629c5f23c6 /drivers/net/wireless | |
parent | 950f6f8492deeb68cfe71799b5e1531e35c19463 (diff) | |
download | linux-c0d6177fda727f29889ad9bab6b9bb7e867d8fed.tar.xz |
iio: dac: ad5380: fix incorrect assignment to val
[ Upstream commit b1e18768ef1214c0a8048327918a182cabe09f9d ]
Currently the pointer val is being incorrectly incremented
instead of the value pointed to by val. Fix this by adding
in the missing * indirection operator.
Addresses-Coverity: ("Unused value")
Fixes: c03f2c536818 ("staging:iio:dac: Add AD5380 driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions