Re: [PATCH 12/27] drivers/ieee1394: Use memdup_user

From: Andrew Morton
Date: Tue May 25 2010 - 18:33:46 EST


On Sat, 22 May 2010 11:25:47 +0200
Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx> wrote:

> Julia Lawall wrote:
> > Use memdup_user when user data is immediately copied into the
> > allocated region.
>
> Looks nice. We won't apply janitorial updates to drivers/ieee1394
> anymore though, since it is made obsolete by drivers/firewire and to be
> removed sooner than later. (I will post a proposed removal schedule
> today to make this better known.)

I don't see much point in declaring a moratorium against
drivers/ieee1394. Perhaps that removal will never happen. Perhaps
third parties will find reason to revert that removal and to continue
to maintain drivers/ieee1394. Perhaps people will take code snippets
from drivers/ieee1394 and will move them into drivers/firewire.

The bottom line is that the patch improves the code. And there ain't
nothing wrong with having better code.

--
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/