public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Andreas Schwab <schwab@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Broken __get_unaligned from <asm-generic/unaligned.h>
Date: Thu, 10 Nov 2005 14:48:47 +0000	[thread overview]
Message-ID: <20051110144847.GA28700@flint.arm.linux.org.uk> (raw)
In-Reply-To: <jevez0h8ea.fsf@sykes.suse.de>

On Thu, Nov 10, 2005 at 03:42:05PM +0100, Andreas Schwab wrote:
> __get_unaligned can't cope with const-qualified types:
> 
> drivers/char/vc_screen.c: In function 'vcs_write':
> drivers/char/vc_screen.c:422: error: assignment of read-only variable 'val'
> drivers/char/vc_screen.c:422: error: assignment of read-only variable 'val'
> drivers/char/vc_screen.c:422: error: assignment of read-only variable 'val'
> drivers/char/vc_screen.c:422: error: assignment of read-only variable 'val'

What if get_unaligned is used with a u64 / long long type (which it is)?

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

  reply	other threads:[~2005-11-10 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-10 14:42 Broken __get_unaligned from <asm-generic/unaligned.h> Andreas Schwab
2005-11-10 14:48 ` Russell King [this message]
2005-11-10 16:20   ` Andreas Schwab

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=20051110144847.GA28700@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwab@suse.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