public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>,
	tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
	x86@kernel.org, linux-kernel@vger.kernel.org,
	linux@rasmusvillemoes.dk, dan.j.williams@intel.com
Subject: Re: [PATCH v5 1/2] x86: fix bitops.h warning with a moved cast
Date: Tue, 25 Feb 2020 13:50:30 +0100	[thread overview]
Message-ID: <20200225125030.GL18400@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <20200225103050.GD10400@smile.fi.intel.com>

On Tue, Feb 25, 2020 at 12:30:50PM +0200, Andy Shevchenko wrote:

> I think it is a C standard which dictates this, compiler just follows.

Correct, a semi readable explanation of this:

  https://stackoverflow.com/questions/46073295/implicit-type-promotion-rules

  parent reply	other threads:[~2020-02-25 12:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-24 22:50 [PATCH v5 1/2] x86: fix bitops.h warning with a moved cast Jesse Brandeburg
2020-02-24 22:50 ` [PATCH v5 2/2] lib: make a test module with set/clear bit Jesse Brandeburg
2020-02-25 10:30 ` [PATCH v5 1/2] x86: fix bitops.h warning with a moved cast Andy Shevchenko
2020-02-25 11:52   ` Andy Shevchenko
2020-02-25 12:50   ` Peter Zijlstra [this message]
2020-03-10 22:22     ` Jesse Brandeburg

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=20200225125030.GL18400@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=andriy.shevchenko@intel.com \
    --cc=bp@alien8.de \
    --cc=dan.j.williams@intel.com \
    --cc=jesse.brandeburg@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.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