]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
radio-aimslab.c: Fix gcc 4.5+ bug
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 6 Jan 2011 10:16:04 +0000 (08:16 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:03 +0000 (15:14 -0800)
commitbdae1673e971255efe808d4fb4d980a85ec78a8b
tree91e992fccecc7dfb05178ca27a906bd5c2e1baa1
parent90e0a215116242010646915ecd0951307fcce45c
radio-aimslab.c: Fix gcc 4.5+ bug

commit e3c92215198cb6aa00ad38db2780faa6b72e0a3f upstream.

gcc 4.5+ doesn't properly evaluate some inlined expressions.
A previous patch were proposed by Andrew Morton using noinline.
However, the entire inlined function is bogus, so let's just
remove it and be happy.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/radio/radio-aimslab.c