Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1689164
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Joe Perches <joe@perches.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH resend] checkpatch: Replace __init_refok by __refconst and __refdata |
| Date | Mon, 17 Jul 2017 17:10:02 +0200 |
| Message-ID | <u4fOO-6GU-31@gated-at.bofh.it> (permalink) |
| References | <u4ezo-5Kj-31@gated-at.bofh.it> |
| X-Session-Marker | 6A6F6540706572636865732E636F6D |
| X-Spam-Summary | 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:599:800:960:968:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2559:2562:2828:2895:3138:3139:3140:3141:3142:3352:3622:3653:3865:3866:3867:3870:3872:3874:4321:5007:7901:10004:10400:10848:11232:11658:11914:12043:12296:12346:12555:12679:12740:12760:12895:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080:21451:21627:30054:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:3,LUA_SUMMARY:none |
| X-He-Tag | jam02_65ef3ad673831 |
| X-Filterd-Recvd-Size | 1855 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| X-Mailer | Evolution 3.22.6-1ubuntu1 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 33 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Fabian Frederick <fabf@skynet.be>, linux-kernel@vger.kernel.org |
| X-Original-Date | Mon, 17 Jul 2017 08:01:38 -0700 |
| X-Original-Message-ID | <1500303698.25934.4.camel@perches.com> |
| X-Original-References | <1500298924-13694-1-git-send-email-geert+renesas@glider.be> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1689164 |
Show key headers only | View raw
On Mon, 2017-07-17 at 15:42 +0200, Geert Uytterhoeven wrote:
> As of commit bd721ea73e1f9655 ("treewide: replace obsolete _refok by
> __ref"), __init_refok no longer exists, so it can be removed.
> While at it, add the modern variants that were still missing.
Maybe nicer to add some phrase like "Update sparse keywords"
in the patch title
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> scripts/checkpatch.pl | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 2287a0bca863bf57..b88740bfe9d14e41 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -343,9 +343,10 @@ our $Sparse = qr{
> __force|
> __iomem|
> __must_check|
> - __init_refok|
> __kprobes|
> __ref|
> + __refconst|
> + __refdata|
> __rcu|
> __private
> }x;
Anyway:
Acked-by: Joe Perches <joe@perches.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH resend] checkpatch: Replace __init_refok by __refconst and __refdata Geert Uytterhoeven <geert+renesas@glider.be> - 2017-07-17 15:50 +0200 Re: [PATCH resend] checkpatch: Replace __init_refok by __refconst and __refdata Joe Perches <joe@perches.com> - 2017-07-17 17:10 +0200
csiph-web