[patch] serial: stm32: fix a type issue
From: linux@armlinux.org.uk (Russell King - ARM Linux)
Date: 2016-10-12 08:52:39
Also in:
kernel-janitors, linux-serial
From: linux@armlinux.org.uk (Russell King - ARM Linux)
Date: 2016-10-12 08:52:39
Also in:
kernel-janitors, linux-serial
On Wed, Oct 12, 2016 at 09:21:03AM +0300, Dan Carpenter wrote:
We store UNDEF_REG in a u8. It causes a problem in functions like
stm32_tx_dma_complete() where we check "if (ofs->icr == UNDEF_REG)".
Fixes: 3489187204eb ('serial: stm32: adding dma support')
Correct form is:
Fixes: 12-digit-hash ("summary line")
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.