aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/gasket/gasket_core.h
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2018-07-17 13:56:53 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-19 11:39:47 +0200
commit72a23054a95c5439b779930b6ffa129437178ac9 (patch)
tree303f1d0fab6f6c00e9e0984d33957d44f25c355a /drivers/staging/gasket/gasket_core.h
parentstaging: gasket: gasket_wait_with_reschedule simplify logic (diff)
downloadlinux-dev-72a23054a95c5439b779930b6ffa129437178ac9.tar.xz
linux-dev-72a23054a95c5439b779930b6ffa129437178ac9.zip
staging: gasket: gasket_wait_with_reschedule use 32 bits of retry count
Don't need a 64-bit retry counter. Reported-by: Dmitry Torokhov <dtor@chromium.org> Signed-off-by: Zhongze Hu <frankhu@chromium.org> Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gasket/gasket_core.h')
-rw-r--r--drivers/staging/gasket/gasket_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gasket/gasket_core.h b/drivers/staging/gasket/gasket_core.h
index 94a5537bff2c..50ad0c885318 100644
--- a/drivers/staging/gasket/gasket_core.h
+++ b/drivers/staging/gasket/gasket_core.h
@@ -702,6 +702,6 @@ struct device *gasket_get_device(struct gasket_dev *dev);
/* Helper function, Asynchronous waits on a given set of bits. */
int gasket_wait_with_reschedule(
struct gasket_dev *gasket_dev, int bar, u64 offset, u64 mask, u64 val,
- u64 max_retries, u64 delay_ms);
+ uint max_retries, u64 delay_ms);
#endif /* __GASKET_CORE_H__ */