Message ID | 20180409001637.162453-159-alexander.levin@microsoft.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp759842ljb; Sun, 8 Apr 2018 20:34:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx49FpcwLHsjlu458m6KqgxI1ASAiKYA/gQVpTlxO0m1BG8zPAf0AAZoD2dL3CUOF8/EushxS X-Received: by 10.99.7.138 with SMTP id 132mr23923761pgh.45.1523244852835; Sun, 08 Apr 2018 20:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523244852; cv=none; d=google.com; s=arc-20160816; b=pOSjBWk6QjXgGck4JjQvjFbGiv+IvfyjEeHTKyurJTrfPHZaHzoMCKWnKTBNbdasIv KkhR/dUzaHTGnkeiaxnF5PQINhhS1s8EDpiMrxrQr3FhzvV1XPkJuvhP2stLRqxOvi3g haqSDRcyS/wPzGOgHmUU1JHB2+69q1ytyyaHj/qMoasksd7QOt1Hs3V19OHCdkADSftF KSUSwW1ut9nUhuefQhqQjt7c5g6+ld0Qc/MB4gQczU1gJ+3YafaqpgFmflTez6atqMzV ATx7KwevH00YTD0i7/5S+5Q5ZG67J4kbtykcBv6bXRGm9Cd78ounX1e6ES4XCfmsk8Sz 2OlQ== 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=1mmgCQVKYJ8unkZxMp+zJXj6A4XQ1G7IVwhrwBSjv8Y=; b=EbpJBhhHsBY6kGG23Ol57NN6bNSnjdRNF0kdG5mg6JMEp5Ju/P5S439NRBIrl3pLaP BSSGWEwNNOBtP4vYzzESVk1O0uMIgb3XgMY58UhZrX+izDobo6rD7CUMdbzJuCyd9Hho kbkkZYQw0Xk4JDYQI1q7XcsEFkNbR68JS3IboBcxAOeQ+cA6POgFEQbDcd0Cyxvms5wV +722AugKVdymkcA78CXF7qKJjR7OEK7+9Uz7KgXWzFxVqjN3haHrXa+P2tdZKMUTL79T ue7cFJnk1nqOWDdEEgzKotvMaEXRQ9ofkrtHCumzWlZbUhXGjGDkC44yHoRGTeTGepGt hW6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=J3wIFTqg; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1-v6si16057090plt.363.2018.04.08.20.34.12; Sun, 08 Apr 2018 20:34:12 -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=@microsoft.com header.s=selector1 header.b=J3wIFTqg; 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 S1754440AbeDIAVS (ORCPT <rfc822;ramon.fried@linaro.org> + 29 others); Sun, 8 Apr 2018 20:21:18 -0400 Received: from mail-sn1nam01on0114.outbound.protection.outlook.com ([104.47.32.114]:12752 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754377AbeDIAVI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 8 Apr 2018 20:21:08 -0400 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=1mmgCQVKYJ8unkZxMp+zJXj6A4XQ1G7IVwhrwBSjv8Y=; b=J3wIFTqgK5Gus52Dl3LPscQp9hTVL1fdU1/W/5g1OHXHomAG8zyIXdNlcfTtdGihCbcc9CMw3ZKvloVRXRISaTihtZHvJgzmgMWQqUIIbPEEFSIVyW0ZLdiiqK6sbJFMxWb/bTFJG7nDmUYom3FwYZpWWBpgAuWUsmOEcLxS5Po= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0920.namprd21.prod.outlook.com (52.132.132.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:21:03 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:21:03 +0000 From: Sasha Levin <Alexander.Levin@microsoft.com> To: "stable@vger.kernel.org" <stable@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> CC: Arnd Bergmann <arnd@arndb.de>, Steve French <smfrench@gmail.com>, Sasha Levin <Alexander.Levin@microsoft.com> Subject: [PATCH AUTOSEL for 4.15 159/189] cifs: silence compiler warnings showing up with gcc-8.0.0 Thread-Topic: [PATCH AUTOSEL for 4.15 159/189] cifs: silence compiler warnings showing up with gcc-8.0.0 Thread-Index: AQHTz5hYHpe4hC8FsUadgqu6qzkleA== Date: Mon, 9 Apr 2018 00:18:55 +0000 Message-ID: <20180409001637.162453-159-alexander.levin@microsoft.com> References: <20180409001637.162453-1-alexander.levin@microsoft.com> In-Reply-To: <20180409001637.162453-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; DM5PR2101MB0920; 7:hnHfhlcAon90pbvBsJEtOLN8lYyz5bocm7CLZImq++McFaHEREM/l5YX8vx/WgVhxK5VD6I17t+eMg5bRVzg5qkdJ5HmYgRa+WrfuOd2aickamUfedPAm5I6H1Q9XTR5epyNyHopnBkNEzrdkU34warHHFS3XQoh+4n9PxvrCHaa3FGuaRh9mQprSgzLIamyg6H7sM+9KuiLnKw/fsHAPG5iHIbOZaPz5Jf/mfxGossUW5VW3vM2aWWa2pwobg4d; 20:iCSPUSajuOjXeoW1BplAPRIfRSf1coMVHhWXJfZe8Y4Kt2/07zzwu+drlctbSiD9+Ryje0VRnEU++qEuZULba5op6BuMmPasSQc+gW7+/yjGlW0t5A36HfIToEAMU+larTAwN8vNkalnqT5sjcT4P7ndtR/uBOVVdpgvFxHlx04= X-MS-Office365-Filtering-Correlation-Id: 56aa3c62-77ee-4823-284f-08d59dafc75f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(48565401081)(2017052603328)(7193020); SRVR:DM5PR2101MB0920; x-ms-traffictypediagnostic: DM5PR2101MB0920: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: <DM5PR2101MB0920EF662B86616430648975FBBF0@DM5PR2101MB0920.namprd21.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(85827821059158); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:DM5PR2101MB0920; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0920; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(39380400002)(396003)(366004)(346002)(376002)(199004)(189003)(66066001)(86362001)(3660700001)(3280700002)(25786009)(76176011)(2900100001)(36756003)(6506007)(2906002)(99286004)(86612001)(6486002)(102836004)(305945005)(1076002)(7736002)(97736004)(2616005)(446003)(11346002)(476003)(486006)(26005)(39060400002)(6666003)(6512007)(4326008)(107886003)(5660300001)(478600001)(6436002)(105586002)(10290500003)(5250100002)(22452003)(316002)(186003)(8676002)(110136005)(81166006)(54906003)(6116002)(8936002)(72206003)(53936002)(2501003)(3846002)(68736007)(14454004)(81156014)(10090500001)(106356001)(22906009)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0920; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: AZzfJG4eXV98LwH7Wivx6I/ytChC/IyLmw1LgTef0W9xnuOQc8ndrAErG4QwFREKIjzRhVtEJL4XvMS72Ijl13Y/7A8/rI6u+5azdzIkEsQz17PVsiYycME+tFuuxCkVpuAEZ5DCK6UZ3WG9i5+uc6Byd28zfRmTtZLtqTnX/G1nn/NyMfHoEoSIqaUM9FQBzah/3CSq+keeOoi1ZiJo6c89lO9/FP7B1tt24KCvz2GVTOESyTJxd5p3PDXCtPevdufxofAE5mT9UaNssgZO0U5lcxTcij7baZ5Pghl160pYBfp3a+od8HCuEtc2FxqU08kn2/+nmC5qHR7yCSIOfGiOXhJnTsaHnWMGT1lPfZKdJyliaitUNncCmjyPDpWNGlXanweqlKi31i6Y2LnbErjMK4TXuj4ty6tHNkp8en0= 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: 56aa3c62-77ee-4823-284f-08d59dafc75f X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:18:55.9401 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0920 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 35dc5bf01ee2..7fd39ea6e22e 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -6331,9 +6331,7 @@ SetEARetry: pSMB->InformationLevel = cpu_to_le16(SMB_SET_FILE_EA); - parm_data = - (struct fealist *) (((char *) &pSMB->hdr.Protocol) + - offset); + parm_data = (void *)pSMB + offsetof(struct smb_hdr, Protocol) + offset; pSMB->ParameterOffset = cpu_to_le16(param_offset); pSMB->DataOffset = cpu_to_le16(offset); pSMB->SetupCount = 1;