RE: [PATCH v2 tty/serial 1/2] serial: fsl_lpuart: fix the typo: UARTCR1_PE -> UARTCTRL_PE

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

 



From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Sent: 2018年10月16日 14:01
> On Tue, Oct 16, 2018 at 02:47:33AM +0000, Andy Duan wrote:
> > Fix the typo: UARTCR1_PE -> UARTCTRL_PE
> 
> It seems that the first is for lpuart and the latter for lpuart32. Given that
> the register set is different, I wonder if there is a better reason than "both
> are called lpuart" for being supported in the same driver.
> 
> The only functions they share are:
> 
> 	.type (this is bad IMHO)
> 	.request_port (just a "return 0", can be dropped I think)
> 	.release_port (noop, can also be dropped)
> 	.config_port (inherits from .type being identical -> bad)
> 	.verify_port (nothing lpuart{,32} specific in it)
> 	.flush_buffer (just stopps DMA which happens to use struct
> lpuart_port)
> 

It is old history that integrate lpuart and lpuart32 in one driver. 
Lpuart and lpuart32 IP function/features are similar, I guess the original owner think so.

> > There have no function impacted since the macro define value is the
> > same.
> >
> > Cc: Uwe Kleine-K枚nig <u.kleine-koenig@xxxxxxxxxxxxxx>
> 
> Wow, that's a creative mistyping of my name that I never saw before.
> (If you're interested in the details, I suggest looking at the output of
> 
> 	git log --format=fuller | grep -o 'Kleine-K[^ ]*nig' | sort | uniq -c
> 
> :-)

That should be encoding type for format-patch is gbk, and git send-email transfer encoding is utf-8.

MIME-Version: 1.0
Content-Type: text/plain; charset=gbk
Content-Transfer-Encoding: 8bit

I will use utf-8 format-patch and re-send the V2 patch.

Andy




[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