The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Rojewski, Cezary" <cezary.rojewski@intel.com>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	Ingo Molnar <mingo@redhat.com>, "Jiri Kosina" <jkosina@suse.cz>,
	Petr Mladek <pmladek@suse.cz>, Arnd Bergmann <arnd@arndb.de>,
	Piotr Maziarz <piotrx.maziarz@linux.intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] seq_buf: avoid type mismatch for seq_buf_init
Date: Mon, 26 Oct 2020 16:37:39 +0000	[thread overview]
Message-ID: <0fb5bff4b99c40e5956b8af34d5c1483@intel.com> (raw)
In-Reply-To: <20201026161108.3707783-1-arnd@kernel.org>

On 2020-10-26 5:10 PM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> 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 <arnd@arndb.de>
> ---

Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>

Thanks,
Czarek


  reply	other threads:[~2020-10-26 16:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-26 16:10 [PATCH] seq_buf: avoid type mismatch for seq_buf_init Arnd Bergmann
2020-10-26 16:37 ` Rojewski, Cezary [this message]
2020-10-26 17:23 ` Steven Rostedt
2020-10-26 19:07   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0fb5bff4b99c40e5956b8af34d5c1483@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=piotrx.maziarz@linux.intel.com \
    --cc=pmladek@suse.cz \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox