Re: mmotm 2009-04-14-17-24 uploaded (mtd)

From: Randy Dunlap
Date: Wed Apr 15 2009 - 16:39:07 EST


Andrew Morton wrote:
> On Wed, 15 Apr 2009 08:39:36 -0700
> Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:
>
>> akpm@xxxxxxxxxxxxxxxxxxxx wrote:
>>> The mm-of-the-moment snapshot 2009-04-14-17-24 has been uploaded to
>>>
>>> http://userweb.kernel.org/~akpm/mmotm/
>>>
>>> and will soon be available at
>>>
>>> git://git.zen-sources.org/zen/mmotm.git
>>>
>>> It contains the following patches against 2.6.30-rc1:
>>
>>
>> drivers/mtd/mtdcore.c:51: error: invalid operands to binary *
>
> hrm. This, I suppose:

Yes, that builds cleanly. Thanks.

> From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>
> --- a/drivers/mtd/mtdcore.c~mtd-mtd-in-mtd_release-is-unused-without-config_mtd_char-fix
> +++ a/drivers/mtd/mtdcore.c
> @@ -48,7 +48,7 @@ static LIST_HEAD(mtd_notifiers);
> */
> static void mtd_release(struct device *dev)
> {
> - dev_t index = MTD_DEVT(dev_to_mtd(dev));
> + dev_t index = MTD_DEVT(dev_to_mtd(dev)->index);
>
> /* remove /dev/mtdXro node if needed */
> if (index)
> _
>


--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/