Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56480
b: refs/heads/master
c: 0a4dd77
h: refs/heads/master
v: v3
  • Loading branch information
Domen Puncer authored and Linus Torvalds committed May 17, 2007
1 parent 67a43c2 commit 000d3fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb33ed6345d6156484f39089aa8b52f44ce76609
refs/heads/master: 0a4dd7783dfc62176a29cb349404180f24f46975
2 changes: 1 addition & 1 deletion trunk/drivers/spi/spidev.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ static int spidev_probe(struct spi_device *spi)
* Reusing minors is fine so long as udev or mdev is working.
*/
mutex_lock(&device_list_lock);
minor = find_first_zero_bit(minors, ARRAY_SIZE(minors));
minor = find_first_zero_bit(minors, N_SPI_MINORS);
if (minor < N_SPI_MINORS) {
spidev->dev.parent = &spi->dev;
spidev->dev.class = &spidev_class;
Expand Down

0 comments on commit 000d3fa

Please sign in to comment.