Received: by 10.223.176.5 with SMTP id f5csp783659wra; Sat, 3 Feb 2018 10:10:54 -0800 (PST) X-Google-Smtp-Source: AH8x226uwu7L1FUCQS2AwYqlcboLk4hakm2eyEyef0GguPYGMaOVmAoT4qLhFk0NNUfzhZAW1zpE X-Received: by 10.99.37.7 with SMTP id l7mr23793279pgl.311.1517681453964; Sat, 03 Feb 2018 10:10:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517681453; cv=none; d=google.com; s=arc-20160816; b=sQLhvmzt8davvykoIi6MjLnudm0/VTBP2yb5QpbUsFfzsbAGa/dHW0Lth/93n0VVbt ISOag47ldGWIVNOozjG+KYZYtPEg/EaJjYJt+MEe3TLbbtta8oRoifV6ZmVkia24Buht ek7zyY8SP78M0YBGl82w2QMJxAPXrL48+b31wWnB9SiyKvI/fDxGxuEndUbGNhnXGCNN PxzpM6jQOHkp5he7EmuEPGqeeCTjL0SndA2LFA5O2mceqNJr2c6IK7H4BFgcQeJ5pUFL dDoOl1qNia0hDfQRts2GA+EcyV2d9jzl1Vz3MCcTy01PCdLl89S75tPO1w27EGN+Cd7o 9eig== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=yaA4sl5GiFI09XH9X+/BMKNkUXMf8KMwkCyPhkt65yQ=; b=VrylAmxbo+cUTtKQfXzXgM1k8Kafi/FLfT+/QDvW2E5+nWDoZFAWyFG5LOf1KF10VK oKR57lpXZEyVMOmt0xzFNYs+Zc3Dr45FZ2DDaHFUTj86XF/nNuEGS8HA/UQGvY4ML3TF D9cjLtNOkQMD25gJ3fyGDAqN8eP4jcwBJ0J+hVBDIZUDaRRTRdWlu7llPcP8b1X00Ktt dg0K/2fFWQc/JKcyDbNO52Z10jBeAthcL3OlS6thE2KAQy2EFL3AyJltURfh5kUpcde0 7VFDBAlsk23H7Acz3WmoHHSQ3O9I/BtSjYphSny/9vjzrQWqZ40YZwJA8H2ff4j0zmXP rL6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Dsx6dAAB; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v37-v6si4136352plg.521.2018.02.03.10.10.39; Sat, 03 Feb 2018 10:10:53 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Dsx6dAAB; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753799AbeBCSJo (ORCPT + 99 others); Sat, 3 Feb 2018 13:09:44 -0500 Received: from mail-bl2nam02on0115.outbound.protection.outlook.com ([104.47.38.115]:21822 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753353AbeBCSFJ (ORCPT ); Sat, 3 Feb 2018 13:05:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yaA4sl5GiFI09XH9X+/BMKNkUXMf8KMwkCyPhkt65yQ=; b=Dsx6dAABlmBCICN+59kse//mYyunY1irCUyMD46ZciG/5sVvLMXOCTPhj/geK+87k/nUC3GqzXx4kqsRSfpf7FXyz78fMDHraTjM5p6JnDK60O/YCQEiFxTHRmIHohk9xALk7szt5leb5rDTThmLQvbNF8z+mV84+fuMeMsNYc0= Received: from BL0PR2101MB1027.namprd21.prod.outlook.com (52.132.20.161) by BL0PR2101MB1041.namprd21.prod.outlook.com (52.132.23.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.506.3; Sat, 3 Feb 2018 18:02:49 +0000 Received: from BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9]) by BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9%3]) with mapi id 15.20.0485.006; Sat, 3 Feb 2018 18:02:49 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: "Ewan D. Milne" , Christoph Hellwig , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 096/110] nvme-fabrics: initialize default host->id in nvmf_host_default() Thread-Topic: [PATCH AUTOSEL for 4.14 096/110] nvme-fabrics: initialize default host->id in nvmf_host_default() Thread-Index: AQHTnRkDISDYiIcGGkOSXfpHMOG9Aw== Date: Sat, 3 Feb 2018 18:01:29 +0000 Message-ID: <20180203180015.29073-96-alexander.levin@microsoft.com> References: <20180203180015.29073-1-alexander.levin@microsoft.com> In-Reply-To: <20180203180015.29073-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BL0PR2101MB1041;6:UTr0c39AHfEHG1iSTLld7OdHPamu8UHb+i+F1Azw/CfShVpEz6/2G/fYdu8J//dsD50LWm3J8X5mCJVXwJbWyPPkQZdPCW56DX2qQE4CzISZJbRUR3/kYIXUioIkd1Q9ekh5hSKiAmcoMtR5ZQjYQney3G0Ihxc0tBbLVhTOXmFD7XZR8zEUErvnqp68REebL2F1SCNfhBdQfIRkBjg2+3puNWhhQP0uB0fMpG9AjNcgK7ETFPrXJJzUDvOzlgjFde9m1raChOFjiXxKrgpUirgCiX1vsBPrO5+JjgzL/OJtE++ixzB3/vZ1MKpQ1C+E9c2oXe6ZoRQMNk/L5EExTFZAVCafIWD2KgH0cCN253o/numQ0TzYJmqf9TCq7hyJ;5:ndrhXttMfDyBjNC1Wka6QuOJ92kpX2W98FmjB+KlGiTRrRNCvRDKwBSZcUuf8SxJnaBUOUHd8uF7O6F5BFaXbUn+J02/NrMQzX7/jnAzYDlvhZZhTeOW6P9e8SerATeWQajQfWY3GqSRNmfntl+Z8N6yy4r76wwReTKPkG9l/7s=;24:xF9ygvHU598aKuVnsx+bKUh23e7Bb8l3qeix+JblGdwtr3fRxPmA4Us/lDtXfmo1ipyUF/U6DM10Plx17bjeVPHvtfhIJxpzFFEbfSWZULU=;7:BjY08m7lao92KWJbu/Hfs+jf/g7JW+XGh0mSI96Mixh0XHeB0QdWZSYVXAyIB/trqA5kjPVWjMLh+DTSza6AnlJqefIAhKtJZqfXF4BGxLQ5rBWTEYRdXQNpwBgSlu0afIqElC9SQJvYcdut7IziJ+vGG0PByJ/bhmIKk2m3QscyOMNDX0bch4UXvPNVcHDKQLwKUDHGNqpIghKjgnqfVwOCkRLLu9rAjruzPS6QlmMut5roXmuJxFLtbJp0XlT5 x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6498f20a-dbc8-4651-97c2-08d56b305635 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:BL0PR2101MB1041; x-ms-traffictypediagnostic: BL0PR2101MB1041: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(5005006)(8121501046)(3231101)(2400082)(944501161)(93006095)(93001095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(6072148)(201708071742011);SRVR:BL0PR2101MB1041;BCL:0;PCL:0;RULEID:;SRVR:BL0PR2101MB1041; x-forefront-prvs: 05724A8921 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(396003)(366004)(39860400002)(376002)(346002)(189003)(199004)(2501003)(305945005)(3660700001)(5250100002)(81156014)(99286004)(81166006)(36756003)(7736002)(10290500003)(106356001)(53936002)(5660300001)(316002)(22452003)(8936002)(54906003)(110136005)(3280700002)(478600001)(72206003)(4326008)(25786009)(107886003)(102836004)(97736004)(76176011)(6666003)(66066001)(6506007)(2950100002)(2900100001)(68736007)(8676002)(6116002)(3846002)(186003)(1076002)(6346003)(105586002)(26005)(10090500001)(2906002)(6512007)(86612001)(14454004)(86362001)(6436002)(6486002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL0PR2101MB1041;H:BL0PR2101MB1027.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: I1xjq5suoEnEsLuPQAcBx8BDWbfPRkmq3DHXgwgfoJrybTCUS50TAkr1EVwdosD/fIk2a30yqCgwmC/cxGwexQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6498f20a-dbc8-4651-97c2-08d56b305635 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2018 18:01:29.0815 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR2101MB1041 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Ewan D. Milne" [ Upstream commit 6b018235b4daabae96d855219fae59c3fb8be417 ] The field was uninitialized before use. Signed-off-by: Ewan D. Milne Signed-off-by: Christoph Hellwig Signed-off-by: Sasha Levin --- drivers/nvme/host/fabrics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvme/host/fabrics.c b/drivers/nvme/host/fabrics.c index 555c976cc2ee..8cd42544c90e 100644 --- a/drivers/nvme/host/fabrics.c +++ b/drivers/nvme/host/fabrics.c @@ -74,6 +74,7 @@ static struct nvmf_host *nvmf_host_default(void) return NULL; =20 kref_init(&host->ref); + uuid_gen(&host->id); snprintf(host->nqn, NVMF_NQN_SIZE, "nqn.2014-08.org.nvmexpress:uuid:%pUb", &host->id); =20 --=20 2.11.0