Bug 281155 - [PATCH] mfi: Correct a struct member name
Summary: [PATCH] mfi: Correct a struct member name
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Warner Losh
URL: https://sourceforge.net/p/mfiutil/cod...
Keywords:
Depends on:
Blocks: 281156
  Show dependency treegraph
 
Reported: 2024-08-31 10:16 UTC by WHR
Modified: 2024-09-20 22:40 UTC (History)
1 user (show)

See Also:


Attachments
proposed fix (341 bytes, patch)
2024-08-31 10:16 UTC, WHR
no flags Details | Diff
proposed fix (343 bytes, patch)
2024-08-31 11:19 UTC, WHR
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description WHR 2024-08-31 10:16:27 UTC
Created attachment 253202 [details]
proposed fix

This 'struct mfi_evt_pd' typed member should be named 'pd' instead of 'ld'.

I didn't found any use of the improper name, so this change shouldn't break anything.
Comment 1 WHR 2024-08-31 11:19:04 UTC
Created attachment 253210 [details]
proposed fix
Comment 2 WHR 2024-09-03 05:25:22 UTC
Included in https://github.com/freebsd/freebsd-src/pull/1402/
Comment 3 Warner Losh freebsd_committer freebsd_triage 2024-09-06 18:15:57 UTC
Taking to coordinate with pull requests.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-09-20 22:40:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=66efdefe78bb752de47bae49b72b76c1a79266ca

commit 66efdefe78bb752de47bae49b72b76c1a79266ca
Author:     WHR <whr@rivoreo.one>
AuthorDate: 2024-09-03 04:44:12 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-09-20 22:22:43 +0000

    mfi: Correct a struct member name

    This 'struct mfi_evt_pd' typed member should be named 'pd' instead of 'ld'.

    PR: 281155
    Reviewed by: imp, delphij
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1402

 sys/dev/mfi/mfireg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)