Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1590865rwi; Wed, 19 Oct 2022 12:38:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Uz6ic+qOqrZupf1Ll4u8tzQxaKWxTh0aiBGPcB3aGAIQpl+1fpSgo1KUoV5qtnJH7NEks X-Received: by 2002:a17:907:7e9e:b0:78d:f3b0:fc78 with SMTP id qb30-20020a1709077e9e00b0078df3b0fc78mr8201134ejc.478.1666208303015; Wed, 19 Oct 2022 12:38:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666208303; cv=none; d=google.com; s=arc-20160816; b=XhYi6L+Q9DouegAqupZI+OpKktrkYUVhafO2Ke/3bpdLKq2RKirUBm0m41Qy+bVcwe j6B1WkrxnhWert/pn59jnK9z4avg3gD6fu7MhPyaUNmJrEYMHfmgv5hYrlHfzIxOVaW4 w1jzlc39SztYAePJ40hKoXV0cdXu2IqmbZOrVtQH+FnJWsqY6OyP0JTiSk+eybVs0E+0 Uuhf5W9cSYRh2ge48bMPL4lnT3NExwV4xUQ4YKCHI+9G2TGl2e8xw2apGW/ZadOz3J6e zNaEEB/D8AX8SZ/gYiZijv+eca0qSBIBT/J4uJSKxx3Zvi8gVcmRirPMy5hQaT2T+DE1 5xfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VcH+tPxAkTSi7rx5Jg90GYVELJI0UfBxxvXlx1Zy5EA=; b=uko+kiwGObdKKVpH95e5E+yMIf+z9kT5NaTQA3mWTa1Lcvjaa+SAQVPF96uXAPsecc DcQAwobu6spWVUWO2PPyHCcJoQCTxE9ddBucwxtVc0GueOTjdQ1Y8QjOsYZDwK9sYJPj OIJwElaIpf+dUtqfkzzoruJof6Pbl8RObOgUuxJZ9kv+F4WpxLhgtVq8B1CRylgGQjO2 EF/s3rTiRyyyZpV9a5dfs/P3O1aiZuiX45CLQ4JsHTkSVQgRyAm7F/8wqaFyII1W7NxX UMKa3b4MaJ56TNnZZh1XecWRLCphCgT6l0Z0C3ay5gYgInkE6UBJoiw9Y1M18HqWKNep BKHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=naAaCCOf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd10-20020a1709069b8a00b0078d90768fcdsi18419970ejc.754.2022.10.19.12.37.57; Wed, 19 Oct 2022 12:38:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=naAaCCOf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230266AbiJSTXt (ORCPT + 99 others); Wed, 19 Oct 2022 15:23:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbiJSTXr (ORCPT ); Wed, 19 Oct 2022 15:23:47 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12E8C189C25; Wed, 19 Oct 2022 12:23:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666207427; x=1697743427; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TjWUFvFKsOIIbSlG12ow2qLmIR/bUPMunVi0DA5Do2M=; b=naAaCCOfUVckjESbS8fEGo2FrNvKHhXsSqsMbNvqQ1sjVFFRnj2TTkTA HLSRwoWkWEXpXmUon1iKS6gceCEXH14RNOzddox1nUFXvJSzCvnCZ+Q4D 5nQrmS7beiOlRh61gSbygSITaCpBgSRpGq4vspKTVC5qoLOwqpYchogr6 fYRyDiyF7lKDUL4m8tj9kXhH4RqLvpn4lIRkH2Pry3Ov6qDvbyNBJTffn Erc/gq9U76z5cYqc05P9b2NvdwFtBzWDp+VHrsDePwSTj3S5aMTYxMbbe mqsVPH/O//+d01V+RfLFbqBMedWIYdJH971dzQZYnyuXQnoilEMFmwZ1h w==; X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="286902847" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="286902847" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2022 12:23:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10505"; a="607247341" X-IronPort-AV: E=Sophos;i="5.95,196,1661842800"; d="scan'208";a="607247341" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga006.jf.intel.com with ESMTP; 19 Oct 2022 12:23:35 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1olEf7-00A4h6-00; Wed, 19 Oct 2022 22:23:33 +0300 Date: Wed, 19 Oct 2022 22:23:32 +0300 From: Andy Shevchenko To: Linus Torvalds Cc: Nick Desaulniers , Segher Boessenkool , "Jason A. Donenfeld" , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linux-toolchains@vger.kernel.org, Masahiro Yamada , Kees Cook , Andrew Morton , Greg Kroah-Hartman Subject: Re: [PATCH] kbuild: treat char as always signed Message-ID: References: <20221019162648.3557490-1-Jason@zx2c4.com> <20221019165455.GL25951@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 19, 2022 at 11:35:50AM -0700, Linus Torvalds wrote: > On Wed, Oct 19, 2022 at 11:10 AM Nick Desaulniers > wrote: ... > We do have a couple of signed bitfields in the kernel, but they are > unusual enough that it's actually a good thing that sparse just made > people be explicit about it. At least drivers/media/usb/msi2500/msi2500.c:289 can be converted to use sign_extend32() I believe. -- With Best Regards, Andy Shevchenko