linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: Lukas Wunner <lukas@wunner.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: test case against union aliasing
Date: Tue, 27 Feb 2018 13:20:41 +0200	[thread overview]
Message-ID: <1519730441.10722.216.camel@linux.intel.com> (raw)

Hi!

It seems we have some code in kernel which utilizes (rightlessly for
now) union aliasing.

So, can we create a test case against such? (Three steps: a) replace
union by struct keyword in data type in question, b) compile, c) run in
Qemu with proper functional test)

Does it make any sense?

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

             reply	other threads:[~2018-02-27 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-27 11:20 Andy Shevchenko [this message]
2018-02-27 13:30 ` test case against union aliasing Julia Lawall

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=1519730441.10722.216.camel@linux.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=julia.lawall@lip6.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas@wunner.de \
    /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;
as well as URLs for NNTP newsgroup(s).