From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFE0BC31E5B for ; Wed, 19 Jun 2019 17:53:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B7097215EA for ; Wed, 19 Jun 2019 17:53:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730121AbfFSRxj convert rfc822-to-8bit (ORCPT ); Wed, 19 Jun 2019 13:53:39 -0400 Received: from mga18.intel.com ([134.134.136.126]:28092 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbfFSRxj (ORCPT ); Wed, 19 Jun 2019 13:53:39 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jun 2019 10:53:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,393,1557212400"; d="scan'208";a="150675667" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga007.jf.intel.com with ESMTP; 19 Jun 2019 10:53:38 -0700 Received: from orsmsx114.amr.corp.intel.com ([169.254.8.32]) by ORSMSX104.amr.corp.intel.com ([169.254.4.70]) with mapi id 14.03.0439.000; Wed, 19 Jun 2019 10:53:37 -0700 From: "Prakhya, Sai Praneeth" To: Qian Cai , "bp@alien8.de" CC: "ard.biesheuvel@linaro.org" , "akpm@linux-foundation.org" , "dvhart@infradead.org" , "andy@infradead.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "linux-efi@vger.kernel.org" , "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2] x86/efi: fix a -Wtype-limits compilation warning Thread-Topic: [PATCH v2] x86/efi: fix a -Wtype-limits compilation warning Thread-Index: AQHVJscrIoiFrvq5WUaaeJ1Am5nx9KajQcjQ Date: Wed, 19 Jun 2019 17:53:37 +0000 Message-ID: References: <1560966464-27644-1-git-send-email-cai@lca.pw> In-Reply-To: <1560966464-27644-1-git-send-email-cai@lca.pw> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTllMWE0MzEtMGUxMi00NDE2LWFjOTktN2U2YmYxMTBmMWM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMHk2d0w4QnFPaXVtTVJUNFZpVTJHVERLWDhlTXJvcVUwdlFkc3FIZGtPYnlMOHNKUWFERkRJaXh5T0RwdTFNeSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Compiling a kernel with W=1 generates this warning, > > arch/x86/platform/efi/quirks.c:731:16: warning: comparison of unsigned > expression >= 0 is always true [-Wtype-limits] > > Fixes: 3425d934fc03 ("efi/x86: Handle page faults occurring while running EFI > runtime services") > Signed-off-by: Qian Cai > --- > > v2: Add a "Fixes" tag. Makes sense. Thanks for the fix Qian Cai. Regards, Sai