[PATCH] mtd: sm_ftl: Remove unused kthread stuff

Artem Bityutskiy dedekind1 at gmail.com
Wed Nov 21 10:05:54 EST 2012


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.

[1] git://git.infradead.org/users/dedekind/maintaining.git
    git://git.infradead.org/users/dedekind/aiaiai.git

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20121121/dbc6fddd/attachment.sig>


More information about the linux-mtd mailing list