From patchwork Tue Aug 28 15:44:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 145336 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1338613ljw; Tue, 28 Aug 2018 08:44:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYOLXV1Z1Oc+EDK5+MPz1N06E/YLOZlpzrye3WuzhQ6kEScFQ+pjx9ZMBdh8wevUHIELV0c X-Received: by 2002:a63:65c2:: with SMTP id z185-v6mr2110356pgb.276.1535471050362; Tue, 28 Aug 2018 08:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535471050; cv=none; d=google.com; s=arc-20160816; b=j0T7XKTKDnhOECcd7eC+nlUbWfOkYgmmC6yDmmxRfIm6M+Iw6GDTHYvwMsPPST4uAr cy4twmkk4OEaPAzxvl1Lba3blkYMn6WaGatYHzVzEZFSMg0h6cgLoKhlUCT7bkPVT5+x AKRdkufJTx+jUooAj3EmRDvGJZYid4guPqogx73nQpC58gNU0XDwBDcPxmha3ap/n6l5 52VCEKqk67ublpNNfJTMrxbiUVVrV3Ts6WVZT/J5IzTI/xfB89Ud6c56+d/duujIJozz uCuyTENIAlcbkaDNZc5e0uUpZVIWhL2YhHioGow9DFRT0qUM9bVCJetkMeE8Z2ZEsXAE bePg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=gbD1om2mYQoJhBmlemn6HuiD+4IymnviyedOr+tDlKQ=; b=uLPVpGLCcgP6S/bShikNOG+4FUmS7/sLZgVoACoSQQW4NMYXsfDjxUSojP82irPHTR Q49B8K+hZNTcb15Pzfl/dBe/DF8k6+YWJcGL52QW5WB70uoES9VWTiedMbG4BVnccq5q WISt5N2WhEVplO3ewAK5svgOHlXizULUduhZ/OtUXcZPBF04TnCJnpM5+6ynqIzgauqU 8lWYIKCHq6OLWHydEMlXToQofVzDxNb5xeohuSKPvcVZ2epWloNkR+lwP3NjFMEPf8l/ i3+HfStd+8AFlaEHwq7izUeVJZ0DkG5K9YNkYRwZN6Lr0qGsCbFuD/ULwmnluy5P1KMf FpjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HJkv5NHv; 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 e4-v6si1146885pfn.340.2018.08.28.08.44.10; Tue, 28 Aug 2018 08:44:10 -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=HJkv5NHv; 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 S1727216AbeH1TgW (ORCPT + 32 others); Tue, 28 Aug 2018 15:36:22 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:40044 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbeH1TgV (ORCPT ); Tue, 28 Aug 2018 15:36:21 -0400 Received: by mail-lj1-f193.google.com with SMTP id j19-v6so1816218ljc.7 for ; Tue, 28 Aug 2018 08:44:06 -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; bh=gbD1om2mYQoJhBmlemn6HuiD+4IymnviyedOr+tDlKQ=; b=HJkv5NHvYPut8QXc42yJC8XrGNbyRgnec0tlgBidpTte3hzDbmEwfhYmj9otJlPPTK 4rfCNy1Gx6MPIfV9AUNSuDTVH1sbRWBtIdbyd2Cb4o3bBtvaKd2q04TveQcG4luZC6D0 KwRw4e8ktv7JzgppjhGi7lIIgcx+y+2yT7DGw= 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; bh=gbD1om2mYQoJhBmlemn6HuiD+4IymnviyedOr+tDlKQ=; b=eVU1656df/sbm0Zesn+hKqSQ+ByrBV+QyaXhrG8evriwWNsb7Ew+B07DjX/8nS4OpY cEhKodq/amJ9cCsC7qmAsD8IRdO9Cg/ODOkbH1K4e4iq/9dDgNLT+OEElownIrWkcO18 dWWmSs/VEljaBBw6GsK47YAgbm/ZczkSc8PBVBtWcWpiR4+01RWYyleN9PWfzjCsZ5a5 ufrYx9pH8tZqNCWUZcpF1AshAgkyDxqE+fZAy+aLHpvtKTkRHeWM0c3qE16UdiRNU2K1 F0sC0vijgXxDyLnmytWnhWRFh/REK49V75OdVNd1JKR5SuQPQ7IfOo5BsviXKeS1Fovo q/uA== X-Gm-Message-State: APzg51BvYAJSZ61dggO/0peOAlVWec3+CrKDGMuEXAHlm8/DOvhjm2A6 BoummGgq7RSUTtIALj6U8XNySrbkloI= X-Received: by 2002:a2e:658a:: with SMTP id e10-v6mr1500350ljf.99.1535471045518; Tue, 28 Aug 2018 08:44:05 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id u84-v6sm266200lff.35.2018.08.28.08.44.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 08:44:04 -0700 (PDT) From: Sam Protsenko To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Peter Zijlstra , "David S . Miller" , "Rafael J . Wysocki" Subject: [PATCH] kernel/SRCU: Fix ctags Date: Tue, 28 Aug 2018 18:44:03 +0300 Message-Id: <20180828154403.9207-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.18.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.18.0 diff --git a/include/linux/notifier.h b/include/linux/notifier.h index f35c7bf76143..2c6ff4cde938 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)