]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tty: rocket: fix incorrect forward declaration of 'rp_init()'
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 6 May 2019 18:28:23 +0000 (11:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:56:44 +0000 (09:56 +0200)
commit1ed8ed6d21197ebddaf50bb7223cc8fd00467155
treee52188518dcb7076b25e6c47e9320569ea5312da
parent986543fcf50c8a3681be44cac42dc498fe25ab34
tty: rocket: fix incorrect forward declaration of 'rp_init()'

[ Upstream commit 423ea3255424b954947d167681b71ded1b8fca53 ]

Make the forward declaration actually match the real function
definition, something that previous versions of gcc had just ignored.

This is another patch to fix new warnings from gcc-9 before I start the
merge window pulls.  I don't want to miss legitimate new warnings just
because my system update brought a new compiler with new warnings.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/rocket.c