Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3682784yba; Tue, 23 Apr 2019 07:56:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJ3fIMFvTDOu0U8QNhNJQsxbxBP3yj+qoQPU/RXqKTaYi2aZjJ89E5RUMVAKo7jPwXIj3z X-Received: by 2002:aa7:9193:: with SMTP id x19mr7615169pfa.108.1556031403886; Tue, 23 Apr 2019 07:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556031403; cv=none; d=google.com; s=arc-20160816; b=eKUFizh61Pum0zJpMvoJ+R/pg63zJvjfK0e+9QDK+kjtZ7v4L8t+VfxQ2DHhgebwr6 Q9RQ3ScqmRujdGrPTXsPCszCvcta384bTbh/NGesfvBiLjdl10MB+OgfMGRvQvHa0BFS qo8EN9l0U04vlw3Vzrd9r8oLtwepU5WrduKgB6fk7gaTWfYOJW0S7Db+RMFX9Lyg6UeH MIrfYW5x79mJ3wsRUlhak6NtxbtP5M+So2OADCDtxmrTci+mhUH196VgE6/mL8NAeU8j 6UvIpWHaWdGFF7USh/xRw6q6YQbEI8KO1OcWzTLZZfezIKnGjs6KL52SqORzHATnEYOY xILg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Y2qVkcnIUTAOloMt/bR+PD8mCA6y24Iai13NIuYAAx0=; b=HuuYCqKUn1QcXmMojKxeRFIvrQKtqXuvfD09qnS5MekLTMBcTS8IE4a7GqGV2DgsBk k1ALnQnJP51XNQJ81JimLMvufa4APE7Ds99fojjkkuPRU8Cy8VfTvYIbtTAAKoEFlNkB zhrJeTAINojaTuWqJwbD7rCyqN13/BR8g0o8g07473pkZG+jjiTdWVYo3HhRaP+h65Ph rTNntf2Pk8RBGHc7efD4MCE+JPa2t1mjRsomw0lPrU/aC8K2SFiBFnQEp2ouDwfb7LpE nKKnz9ulVyrpxpnpkLa23MZZQH71l2niEPRguSrejfDqWGmsYti6vK9+1LwrNMp6pWoI ISTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cSxP5So5; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si14109414pgq.50.2019.04.23.07.56.28; Tue, 23 Apr 2019 07:56:43 -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=@gmail.com header.s=20161025 header.b=cSxP5So5; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728326AbfDWOze (ORCPT + 99 others); Tue, 23 Apr 2019 10:55:34 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:35406 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727703AbfDWOzd (ORCPT ); Tue, 23 Apr 2019 10:55:33 -0400 Received: by mail-pg1-f196.google.com with SMTP id g8so7750559pgf.2; Tue, 23 Apr 2019 07:55:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Y2qVkcnIUTAOloMt/bR+PD8mCA6y24Iai13NIuYAAx0=; b=cSxP5So5UPVb4bYO41L1CXSjd3gFYSy5Zdqfmft6gpiY7zMBiSJG3D1hWOPtjwRa8q xV9bQi2egy/ecTiAq1oOwbrPbxvmcspZlpLqXk0Bgo3ah4DMidMn6vLgmWE2xwXi+hyQ D0ZuFNDtokw8r/Ae/U/U0dMf4ySFMoiuwL85EghyenjfpSsLFKP2gIUl9B5OWqqHCXtU XqF0h04byjZ40mbFx0tIu6VOHVqLRSLaZGkG5QJRIBxBXEaogvVsT+K5FNQf/Q7AhdqQ /H7YUFUc4uXKOi2dVsUdhrMegVRLJeNUZcVxTNriu3tvu8w9FYyf4tK3im18ZuRyWcdp 9MQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Y2qVkcnIUTAOloMt/bR+PD8mCA6y24Iai13NIuYAAx0=; b=Ki7w0nM1QKNKT0Wrx6FxXnMtQgbc08n2FEYkE1/pI7pjFuAcQkq4XvTpj0DqrsMIu6 TVtEF4tewpg51cOxcj30Phy/gYDl9zflQnZ7cb4VA/KE68Fn95NxChsYoYa6Jc5CmXab rvQnC7EzVvz+/7j6wuslWNS314SUKXB3PQuo3oD1ix6c0rVtwqRYhivNN+IyfL+pqXqC CTfXMvpPyJLpOZTyj1h2yRQkXObaxJadVsjkYErtMoucYDZt26h4vJZlnb1hn22xERv9 vE238MKdmyQpfa6L7jn4VmooJNtrfrXUqMZT7KQCZ03D0xNFfs/wzRTWYdwHDgA3oo/H ihBw== X-Gm-Message-State: APjAAAXLE7mKVTBNGATyhfwejxjhJi6NVwhmUhJOwlUPUcpD3D2QJ5X+ W/Sxke3GnvyJGy6XYVJb5kTvYL0o X-Received: by 2002:a62:b602:: with SMTP id j2mr27272264pff.68.1556031332071; Tue, 23 Apr 2019 07:55:32 -0700 (PDT) Received: from bharath12345-Inspiron-5559 ([103.110.42.32]) by smtp.gmail.com with ESMTPSA id f27sm3319300pfk.111.2019.04.23.07.55.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 07:55:31 -0700 (PDT) Date: Tue, 23 Apr 2019 20:25:21 +0530 From: Bharath Vedartham To: Andrew Morton Cc: Al Viro , 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: <20190423145521.GB3609@bharath12345-Inspiron-5559> References: <20190417115200.GA10168@bharath12345-Inspiron-5559> <20190418155019.ab5189e4e317df2b36861012@linux-foundation.org> <20190421170235.GI2217@ZenIV.linux.org.uk> <20190422122705.9df141f5c9b4e842e170e72a@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190422122705.9df141f5c9b4e842e170e72a@linux-foundation.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 22, 2019 at 12:27:05PM -0700, Andrew Morton wrote: > 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. > Hi Andrew, I will send a patch CCing Al to add a comment explaining these issues. Thanks Bharath