[PATCH] s390: chps[] array too short

The chps[] array in struct channel_subsystem is one too short; therefore the
code doesn't realize the chpid ff is already known. When several devices on
chpid ff become available, the message "new_channel_path: could not register
ff" is displayed for every device but the first one.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Cornelia Huck and committed by Linus Torvalds 871931c1 1f1c12af

+1 -1
+1 -1
drivers/s390/cio/css.h
··· 147 147 struct channel_subsystem { 148 148 u8 cssid; 149 149 int valid; 150 - struct channel_path *chps[__MAX_CHPID]; 150 + struct channel_path *chps[__MAX_CHPID + 1]; 151 151 struct device device; 152 152 struct pgid global_pgid; 153 153 };