summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-12-16 10:09:39 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-14 13:32:58 +0200
commitfea572d52e7db3107e3d50b4a14f96300e54a9f5 (patch)
treec8373601b9e4238b6bd1cdb5274ab378a21a5ecf /sound
parent785c19338f198f34fae1cdc480422463b31cd362 (diff)
downloadlinux-stable-fea572d52e7db3107e3d50b4a14f96300e54a9f5.tar.gz
linux-stable-fea572d52e7db3107e3d50b4a14f96300e54a9f5.tar.bz2
linux-stable-fea572d52e7db3107e3d50b4a14f96300e54a9f5.zip
staging: emxx_udc: remove incorrect __init annotations
commit 4f3445067d5f78fb8d1970b02610f85c2f377ea4 upstream. The probe function is not marked __init, but some other functions are. This leads to a warning on older compilers (e.g. gcc-4.3), and can cause executing freed memory when built with those compilers: WARNING: drivers/staging/emxx_udc/emxx_udc.o(.text+0x2d78): Section mismatch in reference from the function nbu2ss_drv_probe() to the function .init.text:nbu2ss_drv_contest_init() This removes the annotations. Fixes: 33aa8d45a4fe ("staging: emxx_udc: Add Emma Mobile USB Gadget driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions