Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2762798yba; Mon, 22 Apr 2019 12:29:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnuTedX4+5hTnxbXUSZHZQxDPToKxDgRlMDdW0T4HXtqAZdpOI9wI1w9hRr9+iS9ESKnMD X-Received: by 2002:a62:a513:: with SMTP id v19mr22107149pfm.212.1555961376421; Mon, 22 Apr 2019 12:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555961376; cv=none; d=google.com; s=arc-20160816; b=IiTYPu27SF5jJUM+eYxkdUdSMdKA/TOxn2wGOu242VS4fgl4SEc1GpFWdRG+o2IcJD bEo3Q4WprA+ndScUSJqgoj9qfy7VxzNUSOFw5wOZAVUUH5kAJnUNZPN2ZY2DDNBXGVda 8eaF3Si4mF7vA2jxugyZirN469EGH2rIagiHISBY/t7TmwNip5LGoryw6HYQ+j3En0/+ zW+X0982MPT9L1Ocw6uKZfGggYvldBzm2oAFpBJjbw5XcvmpH+Bhsx0aZzDUxCfTvpJS 5AoOFKKetce0pdg1/FgFKomQ58srGfG7Xz8XGYbEADo9Lu15c7MedOp9LDTK5rXpAIS3 oG9g== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=/GYVb+MV+zh2SDnxNqrmhXBbjALp1N8vX7ENKDmXnGo=; b=g3Qe4YG49K4MtiwCuSwW1XFGtf9KnxFuOHQytpiTYBH7Ul+MFUmWMmB6vIRFslAHEb brvSnpFszWyUJcogho00zerKWdIoSXBYvn7Ojpa8aqe8LXLXRP7Ei4u5YkhgRHJT0zW0 usPeQ71081UQvd/ktA9x1yF5Lq+1RDxxKqqQJE3QzCeejuU0Eomgt67TNkH7ax8O0Mf2 JYr/SXp+upooCwIQWcJb2yDix9wbzsbetK3khE7Z1y4PzJ+JrAvJa+7RLoWfkteHiyMY j+YI6VIMBa2Llkvur9la59ZOk6POJFsRczkGCxqV8mCaMBgm/+czOuZt9nl9nm9jsFie tbrA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9si7179086pgf.159.2019.04.22.12.29.20; Mon, 22 Apr 2019 12:29:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727401AbfDVT1I (ORCPT + 99 others); Mon, 22 Apr 2019 15:27:08 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:53900 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726260AbfDVT1H (ORCPT ); Mon, 22 Apr 2019 15:27:07 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C0DBBE18; Mon, 22 Apr 2019 19:27:06 +0000 (UTC) Date: Mon, 22 Apr 2019 12:27:05 -0700 From: Andrew Morton To: Al Viro Cc: Bharath Vedartham , jannh@google.com, reiserfs-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] reiserfs: Force type conversion in xattr_hash Message-Id: <20190422122705.9df141f5c9b4e842e170e72a@linux-foundation.org> In-Reply-To: <20190421170235.GI2217@ZenIV.linux.org.uk> References: <20190417115200.GA10168@bharath12345-Inspiron-5559> <20190418155019.ab5189e4e317df2b36861012@linux-foundation.org> <20190421170235.GI2217@ZenIV.linux.org.uk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 21 Apr 2019 18:02:35 +0100 Al Viro wrote: > IOW, what sparse has caught here is a genuine endianness bug; images > created on little-endian host and mounted on big-endian (or vice > versa) will see csum mismatches when trying to fetch xattrs. OK, thanks. I'll drop the patch - we shouldn't hide that reminder of a bug. Perhaps someone could prepare a patch which adds a comment explaining these issues, so someone else doesn't try to "fix" the sparse warning.