From patchwork Mon Oct 29 20:09:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 149690 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4588558ljp; Mon, 29 Oct 2018 13:09:26 -0700 (PDT) X-Google-Smtp-Source: AJdET5eIy2A/SmOZ5CX5t7PQVivtcmmprjUpRxpq3JBQhdy0NF4CeBHwxACxASejn5TZ7hlQTe4e X-Received: by 2002:a63:8c0b:: with SMTP id m11-v6mr15221889pgd.422.1540843766685; Mon, 29 Oct 2018 13:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540843766; cv=none; d=google.com; s=arc-20160816; b=YhVULneLCik3fFnLuZn17y/6DHxT62WzhAVhzcffEfwQdLv5UH7v2rh1tEXoZPlLwf GARRxZxEdOstWu8zP3Mi2grrrdpxd/EkhIIqKRsKhJ3DqeiLbf1FgCq3UcgPnk8h7TdB aA4vLlA+2+G+Z6h5bDMSktbegFeks1VD3CA2UgMEQPkkYC7FwGxVdkTwBICGWmKKgx6z KBIXKLiDLAbbrrJGdiN1NunvKWCNOSk3X3NL0TQB+6Hc+3+sxiJmbHZeeYb1ekmRHTbv yeartTTp06iNhyuLhMPHJV6RUsDzUZB2vEbSw+9BXgnnvIawB148r+ngekZwMijrhM/B kVIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=QS6dZ87sS3U+xHgd+KUKlmFdyksLdCO58lGethbtJOA=; b=wLe7txggVNavV7iVJ6W6PzSQEaPbjuLnP7s9WQA5sTrzoB22qZsVAFVqNryGiz9Cml qXScUchzpfrGyFcDrwFeXvzJHcZpSdeWZM3emjPbz5HYLC/vWJ2PaFsqqRal+eHltiqf bPNum3FpzFYej5dykQsQ/rpNGMVRNgu9dcsKil3Gb237rrmkREwTZLoaT6rp/UCPKAmS cqtLl6U/XgWS/ylrhMpei67fZ13umt3VDIFc9RLYJ1U/eDmAnUHj/6setPKcumc6LZQ3 caKUfzYflasIaYOY25SHwXIux1cAQNaqYIJM6ztzkWwMYQOx5mpDUtbuTSO5EMPQ1HoC rSpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AjFo4+as; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5-v6si20492946pll.320.2018.10.29.13.09.26; Mon, 29 Oct 2018 13:09:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AjFo4+as; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729646AbeJ3E7h (ORCPT + 32 others); Tue, 30 Oct 2018 00:59:37 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:43827 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727387AbeJ3E7g (ORCPT ); Tue, 30 Oct 2018 00:59:36 -0400 Received: by mail-lf1-f68.google.com with SMTP id u18so7062764lff.10 for ; Mon, 29 Oct 2018 13:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QS6dZ87sS3U+xHgd+KUKlmFdyksLdCO58lGethbtJOA=; b=AjFo4+asqBnPn57OXLgcAUHeRkwLFyckPVV8/QACUpx2hb1BWqoEMs8m1spz9KGyzt QrDBusfofKPqiqWs50uAT5f5qwubP6X9upPYyzqkFS/r7hZWbcoN/J4kusl/vVf6ZZJU adb+p8RWqPXNJvflgRP1S3pUeccH2jHv7Clnc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=QS6dZ87sS3U+xHgd+KUKlmFdyksLdCO58lGethbtJOA=; b=CphmuYj2DgztKqNWKeGrXwf3hc+Cz6YtOPl3r8Z4tJCHjYRUvKsiR0r8ODHsIV3s8V AZF9uBueag0OrOX23pg0uwjNH5ibgFBLqzr9qxl+F3X6qqwbNOrQTbBDwJHwa0fi0bk8 e1ACWY3U208iK9ZtAqPppO7bKm43HASK8LYVXvINI0HJ3FisOE23ATNFK2E4r77Q1rwW ok2SZW7ZuR2OWP5zMGs0XbBsQfg2UF3mAFYqlj7k+FVdJm+uzrkQDcR/I9vF5vqVg+Vf UaudhjdfzFvWhzq16dDev2jbztbCoTL+Hp5jD4sPBTSZRdXWi8m5TfKh6SlXapM1CJG+ v4Fg== X-Gm-Message-State: AGRZ1gJkf7gADCb4FHaDGg+GhDBT9SmwawHk0x712bMtdanT3fCSoCjn qUjCaXJKIi+mlOipO6IxiCIufg== X-Received: by 2002:a19:d145:: with SMTP id i66mr85731lfg.97.1540843762571; Mon, 29 Oct 2018 13:09:22 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id t73-v6sm2894333lje.23.2018.10.29.13.09.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Oct 2018 13:09:21 -0700 (PDT) From: Sam Protsenko To: Greg KH Cc: linux-kernel@vger.kernel.org, Andy Shevchenko Subject: [PATCH v2] kernel/SRCU: Fix ctags Date: Mon, 29 Oct 2018 22:09:20 +0200 Message-Id: <20181029200920.28901-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ctags indexing ("make tags" command) throws this warning: ctags: Warning: include/linux/notifier.h:125: null expansion of name pattern "\1" This is the result of DEFINE_PER_CPU() macro exapansion. Fix that by getting rid of line break. Similar fix was already done in commit 25528213fe9f ("tags: Fix DEFINE_PER_CPU expansions"), but this one probably wasn't noticed. Signed-off-by: Sam Protsenko --- include/linux/notifier.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.19.1 diff --git a/include/linux/notifier.h b/include/linux/notifier.h index f35c7bf76143..0096a05395e3 100644 --- a/include/linux/notifier.h +++ b/include/linux/notifier.h @@ -122,8 +122,7 @@ extern void srcu_init_notifier_head(struct srcu_notifier_head *nh); #ifdef CONFIG_TREE_SRCU #define _SRCU_NOTIFIER_HEAD(name, mod) \ - static DEFINE_PER_CPU(struct srcu_data, \ - name##_head_srcu_data); \ + static DEFINE_PER_CPU(struct srcu_data, name##_head_srcu_data); \ mod struct srcu_notifier_head name = \ SRCU_NOTIFIER_INIT(name, name##_head_srcu_data)