OSDN Git Service

net: ipa: a few simple renames
authorAlex Elder <elder@linaro.org>
Wed, 13 Jan 2021 17:15:27 +0000 (11:15 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 01:39:58 +0000 (17:39 -0800)
commitd9cbe818485bafaf460e5d2a414b0f72b5a200ee
tree1592e7220e3be082b1fdc2b030db66a65c976f20
parent747fdd47ed4fc00a6c08bc59710c469f30c1594c
net: ipa: a few simple renames

The return value of gsi_command() is true if successful or false if
we time out waiting for a completion interrupt.

Rename the variables in the three callers of gsi_command() to be
"timeout", to make it more obvious that's the only reason for
failure.

In addition, add a "gsi_" prefix to evt_ring_command() so its name
is consistent with the convention used for GSI channel and generic
commands.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c