Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpu: host1x: channel: Use correct type

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>

+2 -1
+2 -1
drivers/gpu/host1x/channel.c
··· 85 85 struct host1x *host = dev_get_drvdata(dev->parent); 86 86 unsigned int max_channels = host->info->nb_channels; 87 87 struct host1x_channel *channel = NULL; 88 - int index, err; 88 + unsigned long index; 89 + int err; 89 90 90 91 mutex_lock(&host->chlist_mutex); 91 92