Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1173488ybg; Wed, 29 Jul 2020 07:37:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+7ymGBXZyk+2kUbs+YxJK5oi1fBvWZXmh3clBe4w3nJD6ZMhAD8AJeYWDxem/RrC70tV8 X-Received: by 2002:aa7:d410:: with SMTP id z16mr6436221edq.287.1596033478202; Wed, 29 Jul 2020 07:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596033478; cv=none; d=google.com; s=arc-20160816; b=wTIsyVtDT9pvu+xJ8n2Oz/MLlgcKZ8ko/8ILLauhnAO0mBNLBPIXnyq8jcMQRW5Pf/ Vb6j/GlEfry+qwKblN1FUvtxPCW6/7yl40g2dz5rR1NtLHhYgnCJO8Lmj7dhkeaNiI7+ uQiof+iOhOhSNrcvp6q8mmWJCKaigL6dccZGjaiyfalWEhXUVyub+SAdnMOzgBWpqrST xqPpFS9sxrgvkpuI4gbR5gSbfXe+eNpI9MKmj/mxzKMJL2OodzUttY8aWDumplefz1Zl u7DuLpTsWu+5FP+egIb/vv1KlH0GHAzS8L9qlVoT8VfZjiL7FjBKAQVpC32EMedaApuy LaMQ== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:dkim-signature :dkim-signature:date; bh=c6nr+L+ClkATOfG91T0QQ7+b87skFpVeKNStBsr2yIc=; b=bQDV2l6wU60C5vzW79K6RPCo8su6CfWrP8/G2GYJ21VBv+5QCBOgw4p3GLTlnIk5Z5 Fi6IV290Mw23BXe3b9kNo1/A7JzGlm4ht03WoB2fVgrEMZsxuOhY9trvdUrZlrSj1b6c w/c8B7RqtbeKUwXCkpkc8VtXnrOThicSz/S0fi+8FfMg6KWu8NrOtxY5G4I/zTeB/Ccg w75Wr98V1RN9/BRRU4EeqW1grVJjQyEUczbkWeW5Yz/0uESzHJqIPdyEsQG0HArONFKk uDtQZGOgVtVtzd0kkdu8AzeIz7ctJpz4NBrqP2hT9c4VpBONQO6+OCt6xP9rKgUfTdqb L5Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=V8InLXok; dkim=neutral (no key) header.i=@vger.kernel.org; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si1310880eds.470.2020.07.29.07.37.36; Wed, 29 Jul 2020 07:37:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=V8InLXok; dkim=neutral (no key) header.i=@vger.kernel.org; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726790AbgG2Oec (ORCPT + 99 others); Wed, 29 Jul 2020 10:34:32 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:42918 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727044AbgG2Odj (ORCPT ); Wed, 29 Jul 2020 10:33:39 -0400 Date: Wed, 29 Jul 2020 14:33:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1596033217; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c6nr+L+ClkATOfG91T0QQ7+b87skFpVeKNStBsr2yIc=; b=V8InLXokdP+MS3zVeSs3VaOx3qA65JY6bMoK0gj2yiEP1ta9k5Epn0tjy2f92LpwUy7Ih2 5kpyIV4Xbc++ZII3PJM1LdhzFstB60fqGZ1ftyzf0tcC/IqGcqoN1l3Wo6MLuOPtcKWEIe VNKG+FiHmfEerx9WDkwfCbfJcsP17KJUX6eNtZtOgQqt8oLe3MZcebZXRkL8bW+Ng2PvWd 2zOA5ZtHvweucrhBS1D2xnDgrF16gZCdEOKBbNvAN+MT0zAYRsSPCA9ffNU9Smz1jAFdii IOTw2EBp4GiQBY/bHcXNU8HLcvdJKGu3/o86saNEPiqnAeLN4e4BUBggB8HDxA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1596033217; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c6nr+L+ClkATOfG91T0QQ7+b87skFpVeKNStBsr2yIc=; b=njGUaeuUjYn3geBzj4IjXrLbW3ivzMsXhwVE2Uh4U+grM/qc1mdHjth2u+sbWUch5THorL nwPAkim3RS7JT9Bg== From: "tip-bot2 for Ahmed S. Darwish" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] seqlock: Align multi-line macros newline escapes at 72 columns Cc: "Ahmed S. Darwish" , "Peter Zijlstra (Intel)" , x86 , LKML In-Reply-To: <20200720155530.1173732-11-a.darwish@linutronix.de> References: <20200720155530.1173732-11-a.darwish@linutronix.de> MIME-Version: 1.0 Message-ID: <159603321659.4006.12710822667162605079.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the locking/core branch of tip: Commit-ID: ec8702da570ebb59f38471007bf71359c51b027b Gitweb: https://git.kernel.org/tip/ec8702da570ebb59f38471007bf71359c51b027b Author: Ahmed S. Darwish AuthorDate: Mon, 20 Jul 2020 17:55:16 +02:00 Committer: Peter Zijlstra CommitterDate: Wed, 29 Jul 2020 16:14:25 +02:00 seqlock: Align multi-line macros newline escapes at 72 columns Parent commit, "seqlock: Extend seqcount API with associated locks", introduced a big number of multi-line macros that are newline-escaped at 72 columns. For overall cohesion, align the earlier-existing macros similarly. Signed-off-by: Ahmed S. Darwish Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20200720155530.1173732-11-a.darwish@linutronix.de --- include/linux/seqlock.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h index 8c16a49..b487299 100644 --- a/include/linux/seqlock.h +++ b/include/linux/seqlock.h @@ -80,17 +80,18 @@ static inline void __seqcount_init(seqcount_t *s, const char *name, } #ifdef CONFIG_DEBUG_LOCK_ALLOC -# define SEQCOUNT_DEP_MAP_INIT(lockname) \ - .dep_map = { .name = #lockname } \ + +# define SEQCOUNT_DEP_MAP_INIT(lockname) \ + .dep_map = { .name = #lockname } /** * seqcount_init() - runtime initializer for seqcount_t * @s: Pointer to the seqcount_t instance */ -# define seqcount_init(s) \ - do { \ - static struct lock_class_key __key; \ - __seqcount_init((s), #s, &__key); \ +# define seqcount_init(s) \ + do { \ + static struct lock_class_key __key; \ + __seqcount_init((s), #s, &__key); \ } while (0) static inline void seqcount_lockdep_reader_access(const seqcount_t *s) @@ -842,20 +843,20 @@ typedef struct { spinlock_t lock; } seqlock_t; -#define __SEQLOCK_UNLOCKED(lockname) \ - { \ - .seqcount = SEQCNT_ZERO(lockname), \ - .lock = __SPIN_LOCK_UNLOCKED(lockname) \ +#define __SEQLOCK_UNLOCKED(lockname) \ + { \ + .seqcount = SEQCNT_ZERO(lockname), \ + .lock = __SPIN_LOCK_UNLOCKED(lockname) \ } /** * seqlock_init() - dynamic initializer for seqlock_t * @sl: Pointer to the seqlock_t instance */ -#define seqlock_init(sl) \ - do { \ - seqcount_init(&(sl)->seqcount); \ - spin_lock_init(&(sl)->lock); \ +#define seqlock_init(sl) \ + do { \ + seqcount_init(&(sl)->seqcount); \ + spin_lock_init(&(sl)->lock); \ } while (0) /**