* [PATCH] scsi: Fix the comment of sd_major
@ 2014-04-08 5:15 hujianyang
2014-04-08 5:24 ` hujianyang
0 siblings, 1 reply; 3+ messages in thread
From: hujianyang @ 2014-04-08 5:15 UTC (permalink / raw)
To: linux-scsi; +Cc: Li Zefan, Duyongfeng (B), peifeiyue
Fix the comment of sd_major to right major numbers.
Signed-off-by: root <root@FsServer.EulerKernel>
---
drivers/scsi/sd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 470954a..02ff975 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -529,7 +529,7 @@ static struct kobject *sd_default_probe(dev_t devt, int *partno, void *data)
* ones with major1, ... Disk 256 is for major0 again, disk 272
* for major1, ...
* As we stay compatible with our numbering scheme, we can reuse
- * the well-know SCSI majors 8, 65--71, 136--143.
+ * the well-know SCSI majors 8, 65--71, 128--135.
*/
static int sd_major(int major_idx)
{
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi: Fix the comment of sd_major
2014-04-08 5:15 hujianyang
@ 2014-04-08 5:24 ` hujianyang
0 siblings, 0 replies; 3+ messages in thread
From: hujianyang @ 2014-04-08 5:24 UTC (permalink / raw)
To: linux-scsi
On 2014/4/8 13:15, hujianyang wrote:
> Fix the comment of sd_major to right major numbers.
>
> Signed-off-by: root <root@FsServer.EulerKernel>
>
> ---
> drivers/scsi/sd.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
> index 470954a..02ff975 100644
> --- a/drivers/scsi/sd.c
> +++ b/drivers/scsi/sd.c
> @@ -529,7 +529,7 @@ static struct kobject *sd_default_probe(dev_t devt, int *partno, void *data)
> * ones with major1, ... Disk 256 is for major0 again, disk 272
> * for major1, ...
> * As we stay compatible with our numbering scheme, we can reuse
> - * the well-know SCSI majors 8, 65--71, 136--143.
> + * the well-know SCSI majors 8, 65--71, 128--135.
> */
> static int sd_major(int major_idx)
> {
>
Forgot to change the signed-off part.
Sorry for that.
I will send a new patch.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] scsi: Fix the comment of sd_major
@ 2014-04-08 5:29 hujianyang
0 siblings, 0 replies; 3+ messages in thread
From: hujianyang @ 2014-04-08 5:29 UTC (permalink / raw)
To: linux-scsi; +Cc: hujianyang
Fix the comment of sd_major to right major numbers.
Signed-off-by: hujianyang <hujianyang@huawei.com>
---
drivers/scsi/sd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 470954a..02ff975 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -529,7 +529,7 @@ static struct kobject *sd_default_probe(dev_t devt, int *partno, void *data)
* ones with major1, ... Disk 256 is for major0 again, disk 272
* for major1, ...
* As we stay compatible with our numbering scheme, we can reuse
- * the well-know SCSI majors 8, 65--71, 136--143.
+ * the well-know SCSI majors 8, 65--71, 128--135.
*/
static int sd_major(int major_idx)
{
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-08 5:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 5:29 [PATCH] scsi: Fix the comment of sd_major hujianyang
-- strict thread matches above, loose matches on Subject: below --
2014-04-08 5:15 hujianyang
2014-04-08 5:24 ` hujianyang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).