Re: [PATCH] USB: serial: cp210x: Implement GPIO support for CP2102N

From: Karoly Pados
Date: Mon Jul 02 2018 - 15:17:48 EST


>> First of all I can't seem to find that code snippet on the wiki page it
>> does refer to, so I'm still not convinced.
>
> It was there in older versions of the article. See for example:
> https://en.wikipedia.org/w/index.php?title=Fletcher's_checksum&oldid=730327006
>
>> Second, this should have been high-lighted in your submission somehow.
>
> Definitely. All code has an original author who deserves credit. And if
> you cannot find the original author, then there is always a risk than
> someone along the line stole the code... Maybe long before it ended up
> in Wikipedia. But that doesn't matter.
>
> Doesn't seem worth the risk for a simple checksum algorithm which
> probably has lots of GPL implementations.
>

Sorry about not explicitly mentioning the source, I only cared about making
sure that there is no violation and I thought that'd be enough.
Next time something like this happens, I'll explicitly name the sources
even if the license does not require it.

And just to clear things up further, rest assured that fletcher function was
the only one copied from the Cypress knowledge base or from anywhere else.
Rest is by me, so there should be no other unclear origins.

On a different note, v2 patches are coming soon with the feedback from Johan
incorporated. Did not forget and I still intend to polish everything up
as requested to get these features into mainline.

Karoly