summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/huawei
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2020-05-13 19:28:22 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-15 02:36:25 +0200
commit5a46b062e28f57bffde767437fad3ab1d0cee2c7 (patch)
treee8d48306ad9c6b0b870b0bfde28c847f44cae1ce /drivers/net/ethernet/huawei
parentMerge branch 'am65-cpsw-add-taprio-EST-offload-support' (diff)
downloadlinux-5a46b062e28f57bffde767437fad3ab1d0cee2c7.tar.xz
linux-5a46b062e28f57bffde767437fad3ab1d0cee2c7.zip
devlink: refactor end checks in devlink_nl_cmd_region_read_dumpit
Clean up after recent fixes, move address calculations around and change the variable init, so that we can have just one start_offset == end_offset check. Make the check a little stricter to preserve the -EINVAL error if requested start offset is larger than the region itself. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei')
0 files changed, 0 insertions, 0 deletions