Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56907
b: refs/heads/master
c: 82cd0e8
h: refs/heads/master
i:
  56905: 5ddd387
  56903: d26369b
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed May 24, 2007
1 parent 91ce76e commit 51a43c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: be324797d9b2a10f767e89dfbd880c735249bef9
refs/heads/master: 82cd0e8410ae74d3fd39d168049381eafc489e5b
8 changes: 3 additions & 5 deletions trunk/drivers/message/i2o/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <linux/workqueue.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/log2.h>
#include "core.h"

#define OSM_NAME "i2o"
Expand Down Expand Up @@ -340,10 +339,9 @@ int __init i2o_driver_init(void)

spin_lock_init(&i2o_drivers_lock);

if ((i2o_max_drivers < 2) || (i2o_max_drivers > 64) ||
!is_power_of_2(i2o_max_drivers)) {
osm_warn("max_drivers set to %d, but must be >=2 and <= 64 and "
"a power of 2\n", i2o_max_drivers);
if ((i2o_max_drivers < 2) || (i2o_max_drivers > 64)) {
osm_warn("max_drivers set to %d, but must be >=2 and <= 64\n",
i2o_max_drivers);
i2o_max_drivers = I2O_MAX_DRIVERS;
}
osm_info("max drivers = %d\n", i2o_max_drivers);
Expand Down

0 comments on commit 51a43c4

Please sign in to comment.