Commit 8c4335a8 authored by's avatar Committed by Linus Torvalds
Browse files

[PATCH] Altix snsc: duplicate kobject fix

from: Greg Howard <>

Fix Altix system controller (snsc) device names to include the slot number
of the blade whose associated system controller is the target of the device
interface.  Including the slot number avoids a problem we're currently
having where slots within the same enclosure are attempting to create
multiple kobjects with identical names.
Signed-off-by: default avatarGreg Howard <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 5b201927
......@@ -390,7 +390,8 @@ scdrv_init(void)
format_module_id(devnamep, geo_module(geoid),
devnamep = devname + strlen(devname);
sprintf(devnamep, "#%d", geo_slab(geoid));
sprintf(devnamep, "^%d#%d", geo_slot(geoid),
/* allocate sysctl device data */
scd = kzalloc(sizeof (struct sysctl_data_s),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment