Re: [PATCH v1 1/1] serial: 8250: Preserve original value of DLF register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 28, 2023 at 11:21:37PM +0800, ruihongluo wrote:
> This commit is aimed at preserving the original value of the

"This commit is aimed at preserving the original..." -->
"Preserve the original..."

> DLF(Divisor Latch Fraction Register). When the DLF register is
> modified without preservation, it can disrupt the baudrate settings
> established by firmware or bootloader , leading to data corruption
> and the generation of unreadable or distorted characters.

You have From different to SoB. You need to fix this.
It can be done by setting corresponding values in the ~/.gitconfig
of your machine where you are making patches on.

Quick fix is to run

	git commit --amend --author="ruihongluo <luoruihong@xxxxxxxxxx>"

and resend as a v2.

Code wise looks good to me, thank you for fixing this.
Perhaps it needs a Fixes tag, as

Fixes: 701c5e73b296 ("serial: 8250_dw: add fractional divisor support")

added before your SoB line. (Again, use `git commit --amend` to address
this.)

> Signed-off-by: ruihongluo <luoruihong@xxxxxxxxxx>
> ---

Also don't forget to add a changelog here for v2 to describe your changes.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux