Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1533283ybl; Tue, 13 Aug 2019 14:26:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4HOiNXIflvJqajrsECC/80aRNcjQ0QSipKcvzNXUTjMeeIvo/EAWOztUCaxqh7hnbPT5H X-Received: by 2002:a17:90a:feb:: with SMTP id 98mr3838822pjz.55.1565731583136; Tue, 13 Aug 2019 14:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565731583; cv=none; d=google.com; s=arc-20160816; b=wq+yJojRXvLJH8SX99RDN3bLeDlPGko/kmxFQ51Vs84aKbJxNyaBpNvJz5f0KyLo1Q Xy9SZnCfqEtauqcTVuxvngbRbBK8CK9f7IwaLZV4TDbk8IXYRLF4WnqTuAPQCmbz0+Lo bXSng7nTSIpf2tqzfVVrFAX7Pi7RoUglXEal/kaZGWdlKo4CMxSA7HquXwA56yRqDXRu fQxDgVrzy+KGvISl1mR3qafYEcrmiMk6JBgaI7Ddm2fR1N99Hu0/XxVw2qem/RYlc9F6 tXjgC7wftqdrTeiQa2wM5tXGtwI38W+LWkfIACQSfnEMCTYxm1zT424JKOtlo7zmtTYi iTAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from; bh=fxEfdCE4B3q8KmGeeNiY1dNt5z7dGrmiu6G74PBKQrQ=; b=he+yfX7E8gTTWveeOsn68hrgLiXmrhNPUALMNwlUOFyIbJcbfxrUdPhZMBCpyZizK+ 7VCW7e7GrXKgdwAVoBMLqqBvzx2ncplMjPnNBxpOaJd3tiDSztmfDlTtjic2VEYrZ8WB w/2aQlMIHB9/gDxJtJ29V6OkZvKHC9w2B/Xm74wG4Ay/CIoStZTLUT2j6LfQfyoSinRN 9loWgakByOwSZ39rngLzX6KRpd4Tf22vTEC+Rl1lhSwnceNW7935F4O9I84cK5Lt1Jg/ 5q7EP2BnrrJTpJs05f4popFqR9tr6ufVecgqyxg5IraM4e76UnTGNJqDkACxFMHMuK9H Hn/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si35547604pgs.322.2019.08.13.14.25.52; Tue, 13 Aug 2019 14:26:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-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-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726066AbfHMVZf convert rfc822-to-8bit (ORCPT + 99 others); Tue, 13 Aug 2019 17:25:35 -0400 Received: from mga18.intel.com ([134.134.136.126]:34911 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbfHMVZe (ORCPT ); Tue, 13 Aug 2019 17:25:34 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Aug 2019 14:25:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,382,1559545200"; d="scan'208";a="167181654" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga007.jf.intel.com with ESMTP; 13 Aug 2019 14:25:34 -0700 Received: from orsmsx153.amr.corp.intel.com (10.22.226.247) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 13 Aug 2019 14:25:34 -0700 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.157]) by ORSMSX153.amr.corp.intel.com ([169.254.12.225]) with mapi id 14.03.0439.000; Tue, 13 Aug 2019 14:25:33 -0700 From: "Gix, Brian" To: Rafal Gajda , "linux-bluetooth@vger.kernel.org" Subject: RE: [PATCH BlueZ] mesh: Remove double initialisation and fix typo in log Thread-Topic: [PATCH BlueZ] mesh: Remove double initialisation and fix typo in log Thread-Index: AQHVUQaHevUThiNqWkK12yerPp9wFKb5mSLA Date: Tue, 13 Aug 2019 21:25:33 +0000 Message-ID: References: <20190812120656.29494-1-rafal.gajda@silvair.com> In-Reply-To: <20190812120656.29494-1-rafal.gajda@silvair.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGI0NzJjNTktY2QwNi00ZTUxLWIzMWYtZmI1MzY1MTYxNjdhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaXR0Y3NcLzkxXC9qZm9seVRFM1hCbnlNWUlabW1keXRvdTZlZ2VNVlwvVlZPMlVhT2lOc3lVVk5LanpSXC8wSlhRMjgifQ== x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Your two patches applied.... Thanks > -----Original Message----- > From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth- > owner@vger.kernel.org] On Behalf Of Rafal Gajda > Sent: Monday, August 12, 2019 5:07 AM > To: linux-bluetooth@vger.kernel.org > Subject: [PATCH BlueZ] mesh: Remove double initialisation and fix typo in log > > --- > mesh/node.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/mesh/node.c b/mesh/node.c > index e7e58d9a7..f8b1099e9 100644 > --- a/mesh/node.c > +++ b/mesh/node.c > @@ -475,7 +475,6 @@ static bool init_from_storage(struct mesh_config_node > *db_node, > node->lpn = db_node->modes.lpn; > > node->proxy = db_node->modes.proxy; > - node->lpn = db_node->modes.lpn; > node->friend = db_node->modes.friend; > node->relay.mode = db_node->modes.relay.state; > node->relay.cnt = db_node->modes.relay.cnt; @@ -483,7 +482,7 @@ > static bool init_from_storage(struct mesh_config_node *db_node, > node->beacon = db_node->modes.beacon; > > l_debug("relay %2.2x, proxy %2.2x, lpn %2.2x, friend %2.2x", > - node->relay.mode, node->proxy, node->friend, node- > >lpn); > + node->relay.mode, node->proxy, node->lpn, node- > >friend); > node->ttl = db_node->ttl; > node->seq_number = db_node->seq_number; > > -- > 2.22.0