From: Eli Billauer <eli.billauer@gmail.com>
To: Geliang Tang <geliangtang@163.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/7] char: xillybus: use to_delayed_work
Date: Fri, 01 Jan 2016 21:47:08 +0200 [thread overview]
Message-ID: <5686D7BC.7060900@gmail.com> (raw)
In-Reply-To: <643e31066f3378b9521dd9cd8c569ccfcf185d61.1451659910.git.geliangtang@163.com>
Hello,
It's fine with me, but this patch needs to go to the char and misc
drivers maintainers (i.e. Arnd Bergmann and Greg Kroah-Hartman). I don't
have a repository of my own.
Thanks,
Eli
Acked-by: Eli Billauer <eli.billauer@gmail.com>
On 01/01/16 16:59, Geliang Tang wrote:
> Use to_delayed_work() instead of open-coding it.
>
> Signed-off-by: Geliang Tang<geliangtang@163.com>
> ---
> drivers/char/xillybus/xillybus_core.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/char/xillybus/xillybus_core.c b/drivers/char/xillybus/xillybus_core.c
> index 77d6c12..3bd36e0 100644
> --- a/drivers/char/xillybus/xillybus_core.c
> +++ b/drivers/char/xillybus/xillybus_core.c
> @@ -1164,8 +1164,7 @@ static int xillybus_flush(struct file *filp, fl_owner_t id)
>
> static void xillybus_autoflush(struct work_struct *work)
> {
> - struct delayed_work *workitem = container_of(
> - work, struct delayed_work, work);
> + struct delayed_work *workitem = to_delayed_work(work);
> struct xilly_channel *channel = container_of(
> workitem, struct xilly_channel, rd_workitem);
> int rc;
>
prev parent reply other threads:[~2016-01-01 20:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-01 14:59 [PATCH 1/7] char: xillybus: use to_delayed_work Geliang Tang
2016-01-01 14:59 ` [PATCH 2/7] edac: i5100_edac: " Geliang Tang
2016-01-01 17:35 ` Borislav Petkov
2016-01-01 14:59 ` [PATCH 3/7] input: touchscreen: " Geliang Tang
2016-01-03 5:07 ` Dmitry Torokhov
2016-01-01 14:59 ` [PATCH 4/7] mmc: sh_mmcif: " Geliang Tang
2016-01-27 14:15 ` Ulf Hansson
2016-01-01 14:59 ` [PATCH 5/7] mmc: usdhi6rol0: " Geliang Tang
2016-01-27 14:15 ` Ulf Hansson
2016-01-01 14:59 ` [PATCH 6/7] power: generic-adc-battery: " Geliang Tang
2016-01-01 14:59 ` [PATCH 7/7] mvsas: " Geliang Tang
2016-01-01 19:47 ` Eli Billauer [this message]
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=5686D7BC.7060900@gmail.com \
--to=eli.billauer@gmail.com \
--cc=geliangtang@163.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;
as well as URLs for NNTP newsgroup(s).