From patchwork Tue Oct 30 20:28:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 149757 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5946689ljp; Tue, 30 Oct 2018 13:28:15 -0700 (PDT) X-Google-Smtp-Source: AJdET5fNB5E314Dh4+8H0+JPspkbX5boWutWkgPUXeDgBfAq2vJK5hVk9uOB01GgxrbV7Zb0eA6M X-Received: by 2002:a63:1066:: with SMTP id 38-v6mr215032pgq.254.1540931295170; Tue, 30 Oct 2018 13:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540931295; cv=none; d=google.com; s=arc-20160816; b=XDbyIUYoxzV299WzXTHzXnnIK8pvTuVGpxELQ/rz4513nYqRzl10cxxqJhZlxjD17S aKj7NNHiAhiDEyM6L9LalZ+Lr7aE0Rj+nn/LjIWtSsBK1QloJ9/wwzHduRQ47ASliOu7 snE0KdRAX/O5Fn6xvOtcx5a3vzHffR31cPQy/Z2VRhKdWjtpZsM3dYYb9txyr50y1LLI 4B4B1yV3CUYQF1mGnPhfcIaZNutwH7if+Y4rMnLoCl6wckZeX//W1UJ8BwaeX009eexK HVu/in8KpV0oBZAVshg9x5rxH3z4wYT9pMFcFk5iPLZw4J/H06t8dBLTfK985xnKi05G gaJA== 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=UIW1UYQw4eKeTZv5sBJ9BCIRK6s/SbrfrZFiIpToa6s=; b=c4K0KgQ4+6bxKOC3Kub2rhzr942zhkfb40J4GfccY6uyiFxH1KYV5OvpD3fcdqaNmU /VO7EeDBgF9rJzOm35O/WrXCvKWmVXAtEG2nYOm0GwLFlC7ZX6T2DJ/sadGgfXY+YM78 GWoVnAzFC+rLHl/vuPtWCxLGVHpt+03Rli9N7AXlGCNDbVKG4N2c02F3mMj3KZG7iCIl s5ThA/mBaEmoZuSNt8FdD9IXi4D15ybuCXi2vDhtU9qNcAndJf/ySDYSjKIkfcFXOtKm 5xlf4z3veSC8yUAW96uLriEYVBz+SrsH5GwNpzLKy31C4V6vhaOfNn44oNEPHIF3nl37 OCmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bOeaD2YD; 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 cf14-v6si24582786plb.422.2018.10.30.13.28.14; Tue, 30 Oct 2018 13:28:15 -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=bOeaD2YD; 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 S1727664AbeJaFXL (ORCPT + 32 others); Wed, 31 Oct 2018 01:23:11 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:34144 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725931AbeJaFXL (ORCPT ); Wed, 31 Oct 2018 01:23:11 -0400 Received: by mail-lf1-f67.google.com with SMTP id n26-v6so9970015lfl.1 for ; Tue, 30 Oct 2018 13:28:11 -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=UIW1UYQw4eKeTZv5sBJ9BCIRK6s/SbrfrZFiIpToa6s=; b=bOeaD2YDMx+BPaoXbX6DUOsR8Wd71ECXKNBYUH90AzQCBYioqxQhSPexpnHGOGrfr3 Un17H3pQ7Bqb/3IlQMPYWzwOap8U+PCF8O+2igRyvDeXqkVTDmKriYpNXvQIKzC13NHO vNkwqW54ZFpKrs/F+VD1AAx2bCXV+u4f62fnU= 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=UIW1UYQw4eKeTZv5sBJ9BCIRK6s/SbrfrZFiIpToa6s=; b=jND5XaJYlfKiNDDJLhmTYNDQwxR+0ophqh+cbc8skWhhgXR4H/BkxG9iX0RfnDNC/H De1zARI3im8kAmS4y3kC+T02wknIys1fgtvE4nGBskoAaocVwtiYt2Tv8WkBKnqgHP/m fbAcftJZw0VYumw5ig8TEHYzqQkZG8uDcrJhmpBCKKUjRZEaL2S48rLphUX9e7TA25SQ EPWIx/kXH3hwylpzGp8/px4laTlrYD8l9TwTH3TYoGRJ9Z7OXwqiG63MN+cw/CLtlQja 86ypSrW6ClGmXxvU8V6YmyRw4OYzYuu5vyVB5r6/wNgHBtnx01ULGg/gJFSyOVwb08N3 HQJA== X-Gm-Message-State: AGRZ1gJeq10jDmn4zkKQWpMDbGhkc8FfEa3Be4a9Yy3ImEZUHWI1q6oh XI+xgPiPc8vefGkzY68tTg+Iaw== X-Received: by 2002:a19:9844:: with SMTP id a65-v6mr118404lfe.63.1540931290586; Tue, 30 Oct 2018 13:28:10 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id a9sm1312322lfi.57.2018.10.30.13.28.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Oct 2018 13:28:09 -0700 (PDT) From: Sam Protsenko To: Andrew Morton , kernel-janitors@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Andy Shevchenko Subject: [PATCH v2] kernel/SRCU: Fix ctags Date: Tue, 30 Oct 2018 22:28:08 +0200 Message-Id: <20181030202808.28027-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 expansion. 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. Fixes: 9c80172b902d ("kernel/SRCU: provide a static initializer") Cc: Andy Shevchenko 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)