# Re: \[PATCH net-next v2 5/6\] bnxt\_fwctl: Add bnxt fwctl device

- From: Pavan Chebbi \<pavan.chebbi@broadcom.com\>
- Date: 2025-09-26 04:00:28 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/09/11338481
- Thread: https://ratatoskr.run/netdev/2025/09/11338126/t.md

```text
On Thu, Sep 25, 2025 at 11:47 PM Dave Jiang [ref] wrote:
>
>
> Here's a potential template for doing it with scoped based cleanup. It applies on top of this current patch. I only compile tested. There probably will be errors in the conversion. Feel free to use it.

Thanks Dave. I will probably build on top of this.
BTW, I was wondering how could you use scoped free for response and
dma until I saw return no_free_ptr() for them :)
Anyway I will send the v3 as said previously and follow it up with
scoped cleanups later.
```

## Attachments

- [smime.p7s](https://ratatoskr.run/netdev/2025/09/11338481/attachment/0) (application/pkcs7-signature, 5469 bytes)
