Message ID | 20180409001936.162706-135-alexander.levin@microsoft.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp641850ljb; Sun, 8 Apr 2018 17:26:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+750tDhvQG/tvIQD5H6aC03UI1KfZw0qn6jdxj+FCgScvF7VGdJq7oZ+i6HMjOOmnqzkx1 X-Received: by 2002:a17:902:5581:: with SMTP id g1-v6mr5862816pli.351.1523233581330; Sun, 08 Apr 2018 17:26:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523233581; cv=none; d=google.com; s=arc-20160816; b=owZ7aJDGomboEtBZKD4SOOMOASlxbAth545mV1SACZnp3U+rG9FFb08LBDLi4wDcBo Qk7EPlXRx1UAuzwlxafviA6x/w6gufbVs00E+5Yvk/n9ofTRnSnwzPauttBFRUqZiqXb g8YQX3S9gTGIHNgRiooynv2g3SOU4MCYo/NdQWUpV0iVDNva2qK3ikN9gecenn4c8kOn YuA5xJSuLAPtyeRRi5+RuHn3BN6ed3u+X+yCLzM0DKHA4ULEXWwXNa24RL7zHzPem39W 78USbKwWwtjdWm512FXAsmqZNZPZmm/qrObtzKxMwBVXTTOdEaP6YUDgC3PGId+omZje pwcg== 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=jwTrDEUwQwK1l6z/kU1UHJN1IbnmyRmCoCrlAq3EQCRjz7wxSrhurKBZaW0VOMqnQ1 vs39BBkj2FBz9s31gCFRmJyIUKs1G9cMmKu5etVSWjWC6sxiUZUgJHNqlfytIrHcnVjJ xmsyi4Pk91cen7UCKa44+qP9rvhYeCv4jJ8QGnofx2PQ/HGauaL4Ug0vWeh5tJsm5lPz xu5USFMJYfAS0gr+rLq4gdo7k51g3bPIU9pKzKS8neXs9e/YwC3uk7voBSw7okhtBlCY D0qv3vz1N7NHSHQtl+/zbpkxUWcKftjy3/LPXsDm4CiDoGSuwCNScNwMszM4u5SKhd1s kCxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=kWS1rpxt; 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 k1-v6si13101351pld.267.2018.04.08.17.26.21; Sun, 08 Apr 2018 17:26:21 -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=kWS1rpxt; 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 S1755304AbeDIA0S (ORCPT <rfc822;ramon.fried@linaro.org> + 29 others); Sun, 8 Apr 2018 20:26:18 -0400 Received: from mail-bn3nam01on0132.outbound.protection.outlook.com ([104.47.33.132]:42561 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755262AbeDIAZt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 8 Apr 2018 20:25:49 -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=kWS1rpxtO3Pil/21SDKrspLou2+Y5pCjXVhhWj2aNY1UGpwaHL7vCwjYmapEA9INMz2mq1+j0wYNoHmT+JHTgnf4a/xgczhcn6R8W1ClZF4pXruEbXFLoXN1hmdPkbTqkczxirHU3Z227fVOyBG97bU/3619ZhmVShW3UT8H9E4= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1013.namprd21.prod.outlook.com (52.132.133.35) 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:25:40 +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:25:40 +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.14 135/161] cifs: silence compiler warnings showing up with gcc-8.0.0 Thread-Topic: [PATCH AUTOSEL for 4.14 135/161] cifs: silence compiler warnings showing up with gcc-8.0.0 Thread-Index: AQHTz5i9G1xFGP1bU0qf/biXd0eR6w== Date: Mon, 9 Apr 2018 00:21:43 +0000 Message-ID: <20180409001936.162706-135-alexander.levin@microsoft.com> References: <20180409001936.162706-1-alexander.levin@microsoft.com> In-Reply-To: <20180409001936.162706-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; DM5PR2101MB1013; 7:agcs5cjZrIZRBWhey2G+ilXRQ4UKGT9D38ecx3CDfFClk5H1Ge5BSt3B4a5+DDFJTmsqd/sI3dDwxHIzzZ9CgIwI7vSpdjtxtLxZTb+t8PAhq61V/yX32Ijl2vDKtoRp0prMdmAvwOS4rNLHo+G8ENWqkkMoq1TEgPpyP/YmNfBnuWFwDqYbcIleKyTMQUqSNk5Ed5GNJbUIjvFfHkbqx9hcebDwCCtscRhkgNChn4HPJ+ZHBgWZpVSFEzGbrc4s; 20:a8fHW5Z8rRCB46eRBEz+6mCKRguoxVYoATOFhXZ0k7iJv4CxfjpMTWa1PlhqhJIfFRtWKXjek3tXzV+5JkM4lFMzAem5SwgO4/WcOZPIf5Wgbip80Mp4DdFlTYlNHhKk1SPa3/dV16BE6jBmjHh3QTUqRR0kPiUuwfighQstqAE= X-MS-Office365-Filtering-Correlation-Id: cdb78d27-07df-40b6-3094-08d59db06c62 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:DM5PR2101MB1013; x-ms-traffictypediagnostic: DM5PR2101MB1013: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: <DM5PR2101MB10132E555D06374A10390F20FBBF0@DM5PR2101MB1013.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)(3231221)(944501327)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR2101MB1013; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB1013; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(366004)(376002)(396003)(39860400002)(39380400002)(189003)(199004)(3280700002)(2616005)(8936002)(7736002)(476003)(446003)(11346002)(53936002)(3660700001)(86362001)(86612001)(81156014)(2906002)(186003)(81166006)(105586002)(1076002)(8676002)(26005)(97736004)(25786009)(6512007)(3846002)(68736007)(72206003)(106356001)(5660300001)(6486002)(6116002)(14454004)(4326008)(305945005)(6436002)(2501003)(5250100002)(10290500003)(478600001)(2900100001)(22452003)(110136005)(39060400002)(316002)(99286004)(66066001)(10090500001)(107886003)(76176011)(102836004)(54906003)(6506007)(36756003)(486006)(22906009)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB1013; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: x4CETqKwm/b88bAjVh5bKSxs86rbDaAyDRbKS0Zc/eX3sfEFegR0t7ieKzZ+0Sh7LhnmVuFuVJS4rYi/P3h1PPKeztxQMPpmdQW2Zwj9H5Lfzu+uT4+ucq9V63YVRUOcQdNw/dzK6QiqCnz+Yoh8yHAuUm0F7ZixAREFLcZnDPUyTYryrUQpvwWBRTjcCAI3x4OK6zB1Kn0Dm8PWZ6RFrGOYWNLU6VOwEtmcD9Upaip9AV/qxed4kKEEdQh9rMi1qNx4oekOWylimMkvKwYkJ4kRBdMrrZiGW0hplWnplOmur934TJtTbVNLkdfZin2tmsyeijJwKpfq6n/gm/hlFY8KleivhZB6etkmwmggR1h+TVOl1sKHCJpRjNgYRGkj78/omSi52WHEPkqXRyT7QSv6cMHrmtWP7SfFeFU9x7A= 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: cdb78d27-07df-40b6-3094-08d59db06c62 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:21:43.8936 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1013 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;