From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbusch@kernel.org (Keith Busch) Date: Fri, 17 May 2019 09:09:25 -0600 Subject: [PATCH 1/2] nvme: add thermal zone infrastructure In-Reply-To: References: <1557933437-4693-1-git-send-email-akinobu.mita@gmail.com> <1557933437-4693-2-git-send-email-akinobu.mita@gmail.com> <2bf1e2cf-b922-d947-c939-375aba75994d@intel.com> Message-ID: <20190517150924.GA25006@localhost.localdomain> On Sat, May 18, 2019@12:01:57AM +0900, Akinobu Mita wrote: > > This is work_struct, not workqueue. So it can't be destroyed. > But I noticed that we should call flush_work for thermal_work at > unregistering thermal zone devices. Instead of creating yet-another-work_struct, let's append this event's action to the existing async_event_work.