linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [PATCH V5 1/2] mtd: nand: move layout structure into nand_ecc_ctrl
           [not found] <1247789948-5764-1-git-send-email-troy.kisky@boundarydevices.com>
           [not found] ` <1247789948-5764-2-git-send-email-troy.kisky@boundarydevices.com>
    @ 2009-07-17 19:46 ` David Brownell
      2009-07-17 20:20   ` Troy Kisky
      1 sibling, 1 reply; 7+ messages in thread
    From: David Brownell @ 2009-07-17 19:46 UTC (permalink / raw)
      To: Troy Kisky; +Cc: tglx, linux-mtd
    
    On Thursday 16 July 2009, Troy Kisky wrote:
    >                 case 2048:
    > -                       nand_chip->ecc.layout = &atmel_oobinfo_large;
    > +                       memcpy(&nand_chip->ecc.layout, &atmel_oobinfo_large,
    > +                                       sizeof(nand_chip->ecc.layout));
    >                         ecc_writel(host->ecc, MR, ATMEL_ECC_PAGESIZE_2112);
    >                         break;
    
    Surely using structure assignment
    
    			nand_chip->ecc.layout = atmel_oobinfo_large;
    
    would be better, everywhere?
    
    ^ permalink raw reply	[flat|nested] 7+ messages in thread

  • end of thread, other threads:[~2009-07-23 19:38 UTC | newest]
    
    Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1247789948-5764-1-git-send-email-troy.kisky@boundarydevices.com>
         [not found] ` <1247789948-5764-2-git-send-email-troy.kisky@boundarydevices.com>
    2009-07-17  1:19   ` [PATCH V5 2/2] mtd: nand: Calculate better default ecc layout Troy Kisky
    2009-07-23 19:14   ` Troy Kisky
    2009-07-23 19:26     ` David Brownell
    2009-07-23 19:38       ` Troy Kisky
    2009-07-17 19:46 ` [PATCH V5 1/2] mtd: nand: move layout structure into nand_ecc_ctrl David Brownell
    2009-07-17 20:20   ` Troy Kisky
    2009-07-17 21:19     ` David Brownell
    

    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).