public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: Re: [PATCH] s390 (5/8): common i/o layer.
Date: Sat, 30 Aug 2003 05:01:05 +0900	[thread overview]
Message-ID: <87ptio1bem.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <87vfsggtb2.fsf@devron.myhome.or.jp>

OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> writes:

> > @@ -537,8 +537,7 @@
> >  	init_timer(&cdev->private->timer);
> >  
> >  	/* Set an initial name for the device. */
> > -	snprintf (cdev->dev.name, DEVICE_NAME_SIZE,"ccw device");
> > -	snprintf (cdev->dev.bus_id, DEVICE_ID_SIZE, "0:%04x",
> > +	snprintf (cdev->dev.bus_id, DEVICE_ID_SIZE, "0.0.%04x",
> >  		  sch->schib.pmcw.dev);
> >  
> >  	/* Increase counter of devices currently in recognition. */
> 
> Shouldn't the above use BUS_ID_SIZE instead of DEVICE_ID_SIZE?

Ooops. Sorry, I miss read it. I thought it's DEVICE_NAME_SIZE.
-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

  reply	other threads:[~2003-08-29 20:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29 17:10 [PATCH] s390 (5/8): common i/o layer Martin Schwidefsky
2003-08-29 19:25 ` OGAWA Hirofumi
2003-08-29 20:01   ` OGAWA Hirofumi [this message]
2003-08-29 20:24   ` Greg KH
     [not found] <pV54.523.43@gated-at.bofh.it>
     [not found] ` <pX6U.7Vu.35@gated-at.bofh.it>
2003-08-29 20:31   ` Arnd Bergmann
2003-08-29 20:40     ` Greg KH
2003-08-29 20:50       ` Greg KH
2003-08-29 21:06         ` Arnd Bergmann
2003-08-29 21:09           ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2003-09-01  7:09 Martin Schwidefsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ptio1bem.fsf@devron.myhome.or.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwidefsky@de.ibm.com \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox