summaryrefslogtreecommitdiff
path: root/Documentation/logo.gif
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-05-29 06:04:38 +0300
committerJakub Kicinski <kuba@kernel.org>2021-05-31 00:22:31 +0300
commit7c9896e37807862e276064dd9331860f5d27affc (patch)
treee410d863a87f5b6943bae6768d9a52cdae638934 /Documentation/logo.gif
parent320daffdf249bb41531c01445054443c80440904 (diff)
downloadlinux-7c9896e37807862e276064dd9331860f5d27affc.tar.xz
net: dsa: qca8k: check return value of read functions correctly
Current return type of qca8k_mii_read32() and qca8k_read() are unsigned, it can't be negative, so the return value check is unuseful. For check the return value correctly, change return type of the read functions and add a output parameter to store the read value. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/logo.gif')
0 files changed, 0 insertions, 0 deletions