Re: [PATCH 01/04] s390: bus_id -> dev_name conversions

From: Cornelia Huck
Date: Wed Jul 02 2008 - 12:29:39 EST


On Wed, 2 Jul 2008 08:46:30 -0700,
Greg KH <greg@xxxxxxxxx> wrote:

> @@ -529,7 +529,7 @@ cio_validate_subchannel (struct subchann
> }
> mutex_init(&sch->reg_mutex);
> /* Set a name for the subchannel */
> - snprintf (sch->dev.bus_id, BUS_ID_SIZE, "0.%x.%04x", schid.ssid,
> + snprintf (dev_name(&sch->dev), BUS_ID_SIZE, "0.%x.%04x", schid.ssid,
> schid.sch_no);
>
> /*

This hunk does not make much sense. Better just leave it alone until
the dev_set_name()/init_name conversion later.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/