Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3414807ybi; Tue, 18 Jun 2019 00:01:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzPfrBe7QPX21cUvOedIoKT5eiX5EV9ejo2DqCF6+b1yxDsvv01JjjrfjYEDkHUo8Wrgeb X-Received: by 2002:a63:cd4d:: with SMTP id a13mr1255051pgj.341.1560841266351; Tue, 18 Jun 2019 00:01:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560841266; cv=none; d=google.com; s=arc-20160816; b=HOG4oQkD7qTKtIuHhymndfuFleAJP5rGDmdp7POFhImpGRwn1ku6buqfSKI5xRAEix u1bhIR2qd9047VVascc8k69uaIe7juq4YQLf5IVVsp7oi6LNN0qlbkDq0/nO7AtV/oLs 5JGcvnuhP639uxF5Cc5jpfytVOtMbU/USuumUrksArDoYTBOgLUysx73FHKVDMt1UDKi wz8NrKdXN/eEHwHkdcqi0bZzRmbDVshayYgkvqsf/c5mzXWOO13WJ/9R/e3c3TUfY5El 0B3iRgWM+G+Gq7/acZ5pmSj1EoOUGW8tLkPSVju7t0DO+5Dhxb17bdik9OOCGf+uuwcJ buRA== 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=hhqWgjBEP1JDDjQFjFNZlS8HG66TBGkF9/IRb4uAt24=; b=0AQHgKz5iGbqV3elfD5hYOhD0rzFGb8qXyjkfw/1J/GLfBxsMPDgAK+28FT8kBK5M/ gCvcAP0Ag9T5chRTmfT7MRKjltYzgz7yPRF9PTTcpYXeNRtMMiOUb6dYwL7MaeEg1HVP nbI1upZp88TPL1x0mRiV9D+tTOjWLi6CCITzHjOAu5Ih6sMsJLIdvnpjh1qHXqbuVYWW wdiBDh6jXV92bv98ipxpXhLtwzjemv9Wjy5hj4KqTwCBmQCiRhLShjCHoj7fGOS4+smg 35YOkAcd/qmS3kOxxrS6xwEUCS/eYMpMj6LWObRdzCL3JVoCXLM3Bm96vv8yCrt1ov2v TOhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=K8EHUHzJ; 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 c17si11952217plo.46.2019.06.18.00.00.50; Tue, 18 Jun 2019 00:01:06 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=K8EHUHzJ; 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 S1727874AbfFRG7Y (ORCPT + 99 others); Tue, 18 Jun 2019 02:59:24 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:54684 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbfFRG7X (ORCPT ); Tue, 18 Jun 2019 02:59:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hhqWgjBEP1JDDjQFjFNZlS8HG66TBGkF9/IRb4uAt24=; b=K8EHUHzJZc1WfxOIdvz1/7lTM BBR3nIrgl0dBPhs/f2TNf0c1983Sqje8gxyJw04tgBSm6BzbaoUh6AcxK5KRLJA1yLA5k7SQOvPV0 TmVz6SANdrHtJaBHV6/gjat1XWIcQnefeBfwjAsdk8F73Re606PTvbAKuz5gdJ0jEumgpDzjqZDRo 5vXG3+COcLnOI70oLFYT88rzBn8Bxmmbqf6sF6v6UEH0/htUp3DstaoukMTHTDBAcyEBS9xizmKtl 9LmZnXy38HXNaIpcPfxYjj0tsum/LZDx8yZ+m8nuDMkYkiAq2pA0YR0NVSxzjbF5FzARaWwSvyrRO iCg7kDg3A==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hd85Q-0004Yp-9c; Tue, 18 Jun 2019 06:59:20 +0000 Date: Mon, 17 Jun 2019 23:59:20 -0700 From: Christoph Hellwig To: Puranjay Mohan Cc: Shuah Khan , linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] fs: cramfs_fs.h: Fix shifting signed 32-bit value by 31 bits problem Message-ID: <20190618065920.GA3620@infradead.org> References: <20190618041257.5401-1-puranjay12@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190618041257.5401-1-puranjay12@gmail.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1 << 31) > +#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1U << 31) > #define CRAMFS_BLK_FLAG_DIRECT_PTR (1 << 30) Please use the unsigned constants for all flags, not just one.