Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp523732pxx; Mon, 26 Oct 2020 14:11:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYhEgvjHPJYCNiI8S7guuYB1ENXFC7gA0Ov/cCO2ojqAvFbMufieEypCC2Wxrcr1ZhWBpX X-Received: by 2002:a50:be87:: with SMTP id b7mr18315018edk.185.1603746711242; Mon, 26 Oct 2020 14:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603746711; cv=none; d=google.com; s=arc-20160816; b=MLHI9NEBycMp12DUa7FndQ5YdMBylmRCCDq/fOybaQwpo6IH33jLai09n/YCph12hc H0AOcT7Z+Io94Af+rUlasuY/sWrDlxZcgS3nIlU1AFD7riaQFvrVt1B0TXgtnE6FUTLR dhN5p/bL/DImgGwMytGvhbW+WWokBZpTAIXqtmT5SLjiLTBTderitz27G3N0plykOOvv hK48vO6hBet7ZhI2On1gkc08FJs/UZXaThzOmGDGBgX+yPS5Bh1wSwIeoy8pk610x3+D Lhmf85e6SUuk7UWfzmdR98ifWMpb4kcCVBk7wZ/DRKwm9yNRqzF0tyDv/67BNCfPxvAc BvFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=g7ZDlSFp1K8nJJ5yEZ7nv8aeg8ogx9SZNWf5n9UWlFk=; b=buuYsWwNYgQXX3pdM4MQ5MdJM1WfjDF3riAhY3lPlDMlL9bYCdSoPLj9/L7AdswB5g z6cT2QORWbk4w7Z60cp0HpuoUAI/LexCIEWt8kmVbMNfo1tOHDHxKX+SmBPpDtzzZS+U xFP8advPh8cx4mPhIxuQIfH7g926oqpNH7qFfsrKyW+rkyLjqaWl3JJMAXGyVQ/bnxc6 diKNwcVxSrCdIW++WKXYYskhlK/8SRQG6RfiLHkdH6fs/zfrpCCgVDTYI1PmlEZqXjKN crjrF3vIg67Y/atXMe+N1F/7orDq1B3AyvtNo+1GRKAJOwE3jx4BuyqUNZzIp9JHMO94 B8gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si7351050eja.42.2020.10.26.14.11.28; Mon, 26 Oct 2020 14:11:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1786157AbgJZQhp convert rfc822-to-8bit (ORCPT + 99 others); Mon, 26 Oct 2020 12:37:45 -0400 Received: from mga06.intel.com ([134.134.136.31]:7429 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1786153AbgJZQhp (ORCPT ); Mon, 26 Oct 2020 12:37:45 -0400 IronPort-SDR: 2BUutrjpUZYrjtIqXN7m8pYfh5no8ZiKTmYJg8zF0QN0X9prirwFnruDyjVwvKCaSCPH6QVUkh vzO43wPSr47Q== X-IronPort-AV: E=McAfee;i="6000,8403,9786"; a="229584923" X-IronPort-AV: E=Sophos;i="5.77,420,1596524400"; d="scan'208";a="229584923" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2020 09:37:42 -0700 IronPort-SDR: YEOvthm1SG3Pc3p9RQCPYcX74GCP4R2l9yoqfGpTbKYoNbx2Po7VcReuHg5YmmDPaQAc99QEIe 1OapCFGUFlIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,420,1596524400"; d="scan'208";a="355241555" Received: from irsmsx606.ger.corp.intel.com ([163.33.146.139]) by fmsmga002.fm.intel.com with ESMTP; 26 Oct 2020 09:37:40 -0700 Received: from irsmsx601.ger.corp.intel.com (163.33.146.7) by IRSMSX606.ger.corp.intel.com (163.33.146.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 26 Oct 2020 16:37:39 +0000 Received: from irsmsx601.ger.corp.intel.com ([163.33.146.7]) by irsmsx601.ger.corp.intel.com ([163.33.146.7]) with mapi id 15.01.1713.004; Mon, 26 Oct 2020 16:37:39 +0000 From: "Rojewski, Cezary" To: Arnd Bergmann CC: Steven Rostedt , Ingo Molnar , "Jiri Kosina" , Petr Mladek , Arnd Bergmann , Piotr Maziarz , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] seq_buf: avoid type mismatch for seq_buf_init Thread-Topic: [PATCH] seq_buf: avoid type mismatch for seq_buf_init Thread-Index: AQHWq7KliO24+notLUCpY3Gs9snQi6mqFBIg Date: Mon, 26 Oct 2020 16:37:39 +0000 Message-ID: <0fb5bff4b99c40e5956b8af34d5c1483@intel.com> References: <20201026161108.3707783-1-arnd@kernel.org> In-Reply-To: <20201026161108.3707783-1-arnd@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 x-originating-ip: [163.33.253.164] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-10-26 5:10 PM, Arnd Bergmann wrote: > From: Arnd Bergmann > > Building with W=2 prints a number of warnings for one function that > has a pointer type mismatch: > > linux/seq_buf.h: In function 'seq_buf_init': > linux/seq_buf.h:35:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] > > Change the type in the function prototype according to the type in > the structure. > > Fixes: 9a7777935c34 ("tracing: Convert seq_buf fields to be like seq_file fields") > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Cezary Rojewski Thanks, Czarek