From: Tejun Heo <tj@kernel.org>
To: Jaya Kumar <jayakumar.lkml@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH RESEND] fb_defio: don't use flush_scheduled_work()
Date: Mon, 24 Jan 2011 16:05:00 +0100 [thread overview]
Message-ID: <20110124150500.GI11404@htj.dyndns.org> (raw)
flush_scheduled_work() scheduled for deprecation. Sync cancel
info->deferred_work directly instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jaya Kumar <jayakumar.lkml@gmail.com>
---
Resent because email address jayalk@intworks.biz from MAINTAINERS
failed. Jaya, please update the MAINTAINERS entry. Thank you.
drivers/video/fb_defio.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: work/drivers/video/fb_defio.c
===================================================================
--- work.orig/drivers/video/fb_defio.c
+++ work/drivers/video/fb_defio.c
@@ -216,8 +216,7 @@ void fb_deferred_io_cleanup(struct fb_in
int i;
BUG_ON(!fbdefio);
- cancel_delayed_work(&info->deferred_work);
- flush_scheduled_work();
+ cancel_delayed_work_sync(&info->deferred_work);
/* clear out the mapping that we setup */
for (i = 0 ; i < info->fix.smem_len; i += PAGE_SIZE) {
reply other threads:[~2011-01-24 15:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110124150500.GI11404@htj.dyndns.org \
--to=tj@kernel.org \
--cc=jayakumar.lkml@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®