VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Thierry Reding <treding@nvidia.com> 2016-06-22 16:47:30 +0200 committer: Thierry Reding <treding@nvidia.com> 2016-06-23 11:59:26 +0200 commit: e18e33afa4011b0670e5040eda1b8a2d0b995e4e parent: 5c0d8d386ba67ce07bfddcebf05233e8606771ff
Commit Summary:
gpu: host1x: channel: Use correct type
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/drivers/gpu/host1x/channel.c b/drivers/gpu/host1x/channel.c
index 78f0ef0f6c89..8f437d924c10 100644
--- 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);