[PATCH] mtd: ndfc: fix typo in structure dereference
Tony Breeds
tony at bakeyournoodle.com
Tue Nov 22 16:37:58 EST 2011
On Tue, Nov 22, 2011 at 12:56:43PM +0400, Dmitry Eremin-Solenikov wrote:
> On 11/22/11, Tony Breeds <tony at bakeyournoodle.com> wrote:
> > In commit 9d7948c50055e74b693ce9e99a709b2e5bbc1942 (mtd: ndfc: use
> > ofpart through generic parsing) we dereference a non pointer type
> > causing the following compiler error:
> > drivers/mtd/nand/ndfc.c: In function 'ndfc_chip_init':
> > drivers/mtd/nand/ndfc.c:191: error: invalid type argument of '->' (have
> > 'struct mtd_part_parser_data')
> >
> > Fix that.
> >
> > Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>
>
> Acked-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
Thanks.
> Sometimes I wander about this serie. I tried to test most
> of the combinations, I could test at that momemt. The patches
> were split in simple chunks to simplify review and testing. They
> waited in linux-next for 2 or 3 releases. And I still see problems
> with those patches.
I actually found the problem in linux-next sometime ago, and I swear I
posted this patch but clearly I didn't.
linux-next is a great tool but even linux-next doesn't test all the
defconfigs in the kernel and therefore misses some code.
I'll talk to Stephen about adding something that will run over this
code.
Yours Tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20111123/d7b6426a/attachment.sig>
More information about the linux-mtd
mailing list