From: Matthew Wilcox Date: Wed, 29 Jan 2014 14:33:52 +0000 (-0500) Subject: NVMe: Correct uses of INIT_WORK X-Git-Tag: v3.14-rc2~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdfd70fde389412be60f7e8aaed5732dc26fc8ac;p=pandora-kernel.git NVMe: Correct uses of INIT_WORK We need to initialise the work_struct when we initialise the rest of the struct nvme_dev, otherwise we'll hit a lockdep warning when we remove the device. Use PREPARE_WORK to change the function pointer instead of INIT_WORK. Signed-off-by: Matthew Wilcox --- Reading git-diff-tree failed