lkml.org 
[lkml]   [2012]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[ 28/94] mtd: sm_ftl: fix typo in major number.
    3.3-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Maxim Levitsky <maximlevitsky@gmail.com>

    commit 452380efbd72d8d41f53ea64c8a6ea1fedc4394d upstream.

    major == 0 allocates dynamic major, not major == -1

    Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/mtd/sm_ftl.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/mtd/sm_ftl.c
    +++ b/drivers/mtd/sm_ftl.c
    @@ -1256,7 +1256,7 @@ static void sm_remove_dev(struct mtd_blk

    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,



    \
     
     \ /
      Last update: 2012-05-27 04:42    [W:4.271 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site