diff options
author | Todd Poynor <toddpoynor@google.com> | 2018-07-17 23:56:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-19 12:39:47 +0300 |
commit | 72a23054a95c5439b779930b6ffa129437178ac9 (patch) | |
tree | 303f1d0fab6f6c00e9e0984d33957d44f25c355a /drivers/staging/gasket/gasket_core.h | |
parent | a42ea3d61c65946f7ccb1fbba7361e31eb367026 (diff) | |
download | linux-72a23054a95c5439b779930b6ffa129437178ac9.tar.xz |
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.h | 2 |
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__ */ |