projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0d8d3
)
gpu: host1x: channel: Use correct type
author
Thierry Reding
<treding@nvidia.com>
Wed, 22 Jun 2016 14:47:30 +0000
(16:47 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 23 Jun 2016 09:59:26 +0000
(11:59 +0200)
find_first_zero_bit() returns an unsigned long, so make the local
variable that stores the result the same type for consistency.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/channel.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/host1x/channel.c
b/drivers/gpu/host1x/channel.c
index 78f0ef0f6c89bdb1a658e6d44271ffccd48d6d45..8f437d924c10c700cbf46f060d32c2d902a980f1 100644
(file)
--- a/
drivers/gpu/host1x/channel.c
+++ b/
drivers/gpu/host1x/channel.c
@@
-85,7
+85,8
@@
struct host1x_channel *host1x_channel_request(struct device *dev)
struct host1x *host = dev_get_drvdata(dev->parent);
unsigned int max_channels = host->info->nb_channels;
struct host1x_channel *channel = NULL;
- int index, err;
+ unsigned long index;
+ int err;
mutex_lock(&host->chlist_mutex);