From: Maxim Levitsky <maximlevitsky@gmail.com>
To: linux-mtd@lists.infradead.org
Cc: Maxim Levitsky <maximlevitsky@gmail.com>,
John Mesmon <jmesmon@gmail.com>,
Alasdair G Kergon <agk@redhat.com>,
LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] [PATCH] mtd: sm_ftl: fix typo in major number.
Date: Sat, 17 Mar 2012 20:16:53 +0200 [thread overview]
Message-ID: <1332008213-3940-1-git-send-email-maximlevitsky@gmail.com> (raw)
In-Reply-To: <20120317175827.GB12111@agk-dp.fab.redhat.com>
major == 0 allocates dynamic major, not major == -1
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
---
drivers/mtd/sm_ftl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c
index 072ed59..9e2dfd5 100644
--- a/drivers/mtd/sm_ftl.c
+++ b/drivers/mtd/sm_ftl.c
@@ -1256,7 +1256,7 @@ static void sm_remove_dev(struct mtd_blktrans_dev *dev)
static struct mtd_blktrans_ops sm_ftl_ops = {
.name = "smblk",
- .major = -1,
+ .major = 0,
.part_bits = SM_FTL_PARTN_BITS,
.blksize = SM_SECTOR_SIZE,
.getgeo = sm_getgeo,
--
1.7.9.1
next parent reply other threads:[~2012-03-17 18:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20120317175827.GB12111@agk-dp.fab.redhat.com>
2012-03-17 18:16 ` Maxim Levitsky [this message]
2012-03-20 11:40 ` [linux-lvm] [PATCH] mtd: sm_ftl: fix typo in major number Artem Bityutskiy
2012-05-19 11:28 ` Alex Elsayed
2012-05-19 11:37 ` Artem Bityutskiy
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=1332008213-3940-1-git-send-email-maximlevitsky@gmail.com \
--to=maximlevitsky@gmail.com \
--cc=agk@redhat.com \
--cc=jmesmon@gmail.com \
--cc=linux-lvm@redhat.com \
--cc=linux-mtd@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).