Re: [PATCH 1/1] sunrpc: Use "%*phN" to dprintk() a cookie
Chuck Lever <[email protected]>
| Newsgroups | gmane.linux.nfs,gmane.linux.kernel |
|---|---|
| Message-ID | <178096512225.86595.10611807401110857204.b4-ty@b4> |
From: Chuck Lever <[email protected]> On Mon, 08 Jun 2026 22:20:42 +0100, David Laight wrote: > Simplifies the code and removes a 'not obviously bounded' strcpy(). > > Delete the local function nlmdbg_cookie2a() that did the equivalent. > > There is no need to worry about cookie->len being more than > NLM_MAXCOOKIELEN (32), the buffer holding it is only that long. > The existing length checks must pre-date this code being added in 2.4.26. > > [...] Applied to nfsd-testing, thanks! [1/1] lockd: Use "%*phN" to dprintk() a cookie commit: 926ef0ef7994232faab29e6b13270d5c88b058f3 -- Chuck Lever <[email protected]>