[PATCH] mtd: sm_ftl: Remove unused kthread stuff

Ezequiel Garcia elezegarcia at gmail.com
Thu Nov 22 18:02:26 EST 2012


On Wed, Nov 21, 2012 at 12:05 PM, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> On Sat, 2012-11-10 at 13:35 -0300, Ezequiel Garcia wrote:
>> This driver uses workqueues, not kthreads.
>> Remove kthread header and thread related comment.
>>
>> Cc: Maxim Levitsky <maximlevitsky at gmail.com>
>> Signed-off-by: Ezequiel Garcia <elezegarcia at gmail.com>
>
> Aiaiai [1]!
>
> Aiaiai found out that this breaks the build!
>
> drivers/mtd/sm_ftl.c:1025:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration]
> drivers/mtd/sm_ftl.c:1026:3: error: implicit declaration of function 'PTR_ERR' [-Werror=implicit-function-declaration]
>
> Include <linux/err.h> instead, I guess.

I can do that. But I can't get that error here :-(

Mind me posting your config?

    Ezequiel



More information about the linux-mtd mailing list