RFC staging: media: atomisp: Refactor bit logic helpers in vmem.c
Get series with b4
b4 am [email protected]Versions newest first
- v2 RFC Latest2 patches 3 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | staging: media: atomisp: Change name to better follow its behaviordrivers/ | +8 | 2 replies | |
| 2/2 | staging: media: atomisp: Simplify logic in vmem.cdrivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/2] staging: media: atomisp: Refactor bit logic helpers in vmem.c
Refactor proposition for bit operation in vmem.c.
* Previous name for function "inv_subword()" for me is not telling what function acctualy does - it clears bit specified by subword, so renamed to clear_subword()
* Added a helper to create a proper bitmask for a subword, without using GENMASK(end-1, start) which was claimed to be unsafe
* Simplified subword() and clear_subword() to be more readable.
Continuation of https://lore.kernel.org/linux-staging/[email protected]/
Adrian Barnaś (2):
staging: media: atomisp: Change name to better follow its behavior
staging: media: atomisp: Simplify logic in vmem.c
.../pci/hive_isp_css_common/host/vmem.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-)
Signature · 1 line
2.51.0.355.g5224444f11-goog