Received: by 10.223.164.202 with SMTP id h10csp2363633wrb; Sat, 18 Nov 2017 20:18:48 -0800 (PST) X-Google-Smtp-Source: AGs4zMbqSdQvTzpeNg+ZCkjcLBeSb0PpqFDBv78+BUynE4PNMSCATlvSODRrEz+srgL38Kvo+o+8 X-Received: by 10.84.168.227 with SMTP id f90mr9795732plb.320.1511065128340; Sat, 18 Nov 2017 20:18:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511065128; cv=none; d=google.com; s=arc-20160816; b=ND2UXpalq9g2sVz16eYGTjHrTNmTsNi8nonbFHPuopd2yH+MaKzlYBD/oAika7/EJW M4jzHxydfED8YVPr1bOArigWq6deOr6a7jHGMXoMQgh0Nu8HpYXj+5shlMvyNnxKaZRE +PKHqJ1ZLZ46e+mt98RS5REnHzebmm0JrX5ETRgnFo2AusvJO1hTlwNGDMbA84zk8az4 +kEIS+BydCah4qX9djjoWaXzr/p8osjSi8NeQXwiRVL+gPzT70STmiA3P5qe9FeuMAdr HBimS6xqk7baRCoaQHxYwjpUnvltJBcT4wskn9//G9hTTF0Rt23HUncYIV0vkgk3zFGD +liw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=1qRXQp28WuwoXy6E1OlN4ZLY9yhD2z+tBl51FqqSxhk=; b=kQ2RttzBMLdYnhrqwO304pscLovgfXsvtwxlC6Plb/SsMXSxDN5q0V0vxk3K30DGAs Zvh85/oOX2omqhe3zr9yeM/6WLhsSXQYiWA8vqcCQE+hq+uALWWQG5MkFrQB75hyl/F+ ghnUSXKarRo04A6Pm9pwm766XJJnEwY2/AsNtq8g+pUMXujbCaAsug9C47D+2XgR8lQr i0sawny77UFLQQMhw0HYnkz/gLmihMecmgYVH879EzumJ/J1ISCH/PLYieZPiVS1Pu6K Sp6okR7KxdpCrl+Zz7ggYjqKmnUCmdTeHKMi7o88kw2fvl+8kEomh0IY0SwMoeHh4B6i 8amQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si5450990pgn.367.2017.11.18.20.18.35; Sat, 18 Nov 2017 20:18:48 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423369AbdKRSc0 (ORCPT + 92 others); Sat, 18 Nov 2017 13:32:26 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:34377 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423317AbdKRScS (ORCPT ); Sat, 18 Nov 2017 13:32:18 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAIIWBcN025060 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 18 Nov 2017 18:32:12 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vAIIWBxL027844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 18 Nov 2017 18:32:11 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vAIIWAiK005929; Sat, 18 Nov 2017 18:32:10 GMT Received: from [10.39.244.8] (/10.39.244.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 18 Nov 2017 10:32:10 -0800 Subject: Re: Commit fcd8843c40 breaks old compilers To: Trond Myklebust , "Anna.Schumaker@Netapp.com" Cc: "linux-kernel@vger.kernel.org" , "linux-nfs@vger.kernel.org" References: <09a3d9ca-d191-5899-613d-8d0dbe0b68ea@oracle.com> <1511026783.10238.2.camel@primarydata.com> <49fec52f-229a-4657-a80d-d1a40a9d38e4@oracle.com> <1511028750.14386.1.camel@primarydata.com> From: Boris Ostrovsky Message-ID: Date: Sat, 18 Nov 2017 13:32:09 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1511028750.14386.1.camel@primarydata.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/18/2017 01:12 PM, Trond Myklebust wrote: > > Sigh.... OK, how about something like the following then: > > { .data = { 0xff, 0xff, 0xff, 0xff, 0 }, } > Yes, this does build. diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 54fd56d..daa6085 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c @@ -71,8 +71,7 @@ }; const nfs4_stateid invalid_stateid = { { - .seqid = cpu_to_be32(0xffffffffU), - .other = { 0 }, + .data = { 0xff, 0xff, 0xff, 0xff, 0 }, }, .type = NFS4_INVALID_STATEID_TYPE, }; -boris From 1584466552241743672@xxx Sun Nov 19 04:17:36 +0000 2017 X-GM-THRID: 1584466461486741253 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread