From: Markus Elfring <Markus.Elfring@web.de>
To: Kefeng Wang <wangkefeng.wang@huawei.com>,
kernel-janitors@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Ingo Molnar <mingo@kernel.org>
Subject: Re: [PATCH 1/3] seq_file: Introduce DEFINE_SEQ_ATTRIBUTE() helper macro
Date: Sat, 9 May 2020 13:35:36 +0200 [thread overview]
Message-ID: <050ec4c0-1bf0-3880-e368-41d9dc7a3f7f@web.de> (raw)
…
> +++ b/include/linux/seq_file.h
> @@ -145,6 +145,25 @@ void *__seq_open_private(struct file *, const struct seq_operations *, int);
> int seq_open_private(struct file *, const struct seq_operations *, int);
> int seq_release_private(struct inode *, struct file *);
>
> +#define DEFINE_SEQ_ATTRIBUTE(__name) \
> +static int __name ## _open(struct inode *inode, struct file *file) \
…
Can such a macro work also with an identifier which does not contain
double underscores?
Regards,
Markus
next reply other threads:[~2020-05-09 11:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-09 11:35 Markus Elfring [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-09 6:40 [PATCH 0/3] " Kefeng Wang
2020-05-09 6:40 ` [PATCH 1/3] " Kefeng Wang
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=050ec4c0-1bf0-3880-e368-41d9dc7a3f7f@web.de \
--to=markus.elfring@web.de \
--cc=akpm@linux-foundation.org \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=wangkefeng.wang@huawei.com \
/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®