Re: [PATCH 2/8] fwctl: Basic ioctl dispatch for the character device

From
Randy Dunlap <rdunlap@infradead.org>
Date
2024-06-06 15:37:58
Also in
linux-cxl, linux-doc, linux-patches, linux-rdma
Reply to
Jonathan Cameron, 2024-06-06

On 6/6/24 6:34 AM, Jonathan Cameron wrote:
On Wed, 5 Jun 2024 15:27:26 -0300
Jason Gunthorpe [off-list ref] wrote:
quoted
On Wed, Jun 05, 2024 at 12:07:37PM +0100, Jonathan Cameron wrote:
quoted
quoted
I don't recall that dramatic conclusion in the discussion, but it does
make alot of sense to me.  
I'll be less lazy (and today found the search foo to track it down).

https://lore.kernel.org/all/CAHk-=wicfvWPuRVDG5R1mZSxD8Xg=-0nLOiHay2T_UJ0yDX42g@mail.gmail.com/ (local)  
Oh that is a bit different discussion than I was thinking of.. I fixed
all the cases to follow this advise and checked that all the free
functions are proper pairs of whatever is being allocated.
Yes. I think we are approaching the point where maybe we need
a 'best practice guide' somewhere. It is sort of coding style, but
it is perhaps rather complex perhaps to put in that doc.

I'm happy to help review such changes, but it would be too far down
my todo list if I took on writing one.

Maybe there is one I've missed?

There is not a published one that I know of, other than one that I pasted into
an email in Dec-2023, in this post:

https://lore.kernel.org/lkml/34e27c57-fc18-4918-bf44-4f8a53825361@infradead.org/ (local)


-- 
#Randy
https://people.kernel.org/tglx/notes-about-netiquette
https://subspace.kernel.org/etiquette.html
Thread (73 messages) 73 messages, 14 authors, last reply 2024-06-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help