diff options
Diffstat (limited to 'drivers/s390/cio/idset.c')
-rw-r--r-- | drivers/s390/cio/idset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/idset.c b/drivers/s390/cio/idset.c index 77e42cb127bb..5c88faf5b897 100644 --- a/drivers/s390/cio/idset.c +++ b/drivers/s390/cio/idset.c | |||
@@ -78,7 +78,7 @@ static inline int idset_get_first(struct idset *set, int *ssid, int *id) | |||
78 | 78 | ||
79 | struct idset *idset_sch_new(void) | 79 | struct idset *idset_sch_new(void) |
80 | { | 80 | { |
81 | return idset_new(__MAX_SSID + 1, __MAX_SUBCHANNEL + 1); | 81 | return idset_new(max_ssid + 1, __MAX_SUBCHANNEL + 1); |
82 | } | 82 | } |
83 | 83 | ||
84 | void idset_sch_add(struct idset *set, struct subchannel_id schid) | 84 | void idset_sch_add(struct idset *set, struct subchannel_id schid) |