Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3310736imu; Sun, 11 Nov 2018 12:06:56 -0800 (PST) X-Google-Smtp-Source: AJdET5cXgHmsaZbFJn5Lad1yG2kORnEsQXnXuVpUVsufW6Cw7vUWSGOnQjSc883rIuK/6XuES3kP X-Received: by 2002:a17:902:5a89:: with SMTP id r9-v6mr6085671pli.305.1541966816694; Sun, 11 Nov 2018 12:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541966816; cv=none; d=google.com; s=arc-20160816; b=PsXbb7797XdyCqGrvKnKWOQVK+vWWsiHX/7VKIVrHoja8mz9zRjggGf8+tkGGWRo+a hmMy9LlMkZTeAJevwfWu5ak8n7u4MZsonA0/pAzjHJ4RAvKhaGlLesS35HazXy7mBKud lHE5+QWKlbT650/3fG26y8E+6xId8fWCiXkClm2n3Bkr479stsBPnAqZNjU3UKvg8Baq tB14OFaf2qcl+5ov4sHJghLAHHMx5CfhtEzzMf6rqd9FDlHtDp48EmzKbTvztFmUk2cr v+lzEDTgkLCOqeJrtJAe1STZ4FFYZXtzjKRKZoWzGZqzbHneyNWjHp0YTVtQkZLhFCVR dv4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=oFP9mcD+yJlevkBvk4KuG52iSu3hRQWbRhC8zd8a89M=; b=AIa0pdRa/BXe3hJXekjQ3ZcdPbkObx9xNZL26vWD32c6gcNxhn2TSwz6NJttHxFPtI H83rZ+tClebF2vicNFIjCSugdHF2Vk9ZlmBmWytWuK+5vyuazpqfTBnnzZaVcaZxOlJK s/00duLHxgzfttfe55NfTZABZ03zJZn8K2enE4LR7GliZtE5GsnOW+8Bp2WrcLJx6dOj udb3m2diZyB1P+Tsze0VhdionwLrviV0eL4/TsuHGtOI78jpP1VrVTeDvGb0d1Zbv2DD Eze0H/we8H8Noz6nIkjfS/+fAOOizxQc5d93Rs/KANEWBLmen0bdcufOT3J941hP+0Qo 8Teg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16-v6si14294073pgd.555.2018.11.11.12.06.41; Sun, 11 Nov 2018 12:06:56 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731151AbeKLFyP (ORCPT + 99 others); Mon, 12 Nov 2018 00:54:15 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:51716 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726508AbeKLFyO (ORCPT ); Mon, 12 Nov 2018 00:54:14 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsy-0000l4-5D; Sun, 11 Nov 2018 19:59:08 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsU-0001cv-0j; Sun, 11 Nov 2018 19:58:38 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Antonio Quartulli" , "Marek Lindner" , "Simon Wunderlich" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 190/366] batman-adv: unify flags access style in tt global add In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Simon Wunderlich commit ad7e2c466d8b0a7056cd248e1df6bb7296e014f7 upstream. This should slightly improve readability Signed-off-by: Simon Wunderlich Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- net/batman-adv/translation-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -1435,7 +1435,7 @@ static bool batadv_tt_global_add(struct * TT_CLIENT_TEMP, therefore they have to be copied in the * client entry */ - tt_global_entry->common.flags |= flags & (~BATADV_TT_SYNC_MASK); + common->flags |= flags & (~BATADV_TT_SYNC_MASK); /* If there is the BATADV_TT_CLIENT_ROAM flag set, there is only * one originator left in the list and we previously received a