Skip to content

security: apparmor: apparmorfs.c Checkpatch mods

Bjørn Mork kernelnewbies 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 7 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] security: apparmor: apparmorfs.c Checkpatch mods
Quoted 8 lines · Greg KH
Quoted 2 lines · Walt Feasel

So kernelnewbies is not to be used to learn about how to fix checkpatch type warning?

Maybe, but really, if you have a well-formed patch, just send it to the correct maintainers, it's up to them to accept it or not, that's their job :)

And I think the most important reason for doing that is because only they can answer the questions. You need to know what the code does to be able to answer things like "is it OK to replace BUG_ON with WARN_ON here?". Although that is preferable according to checkpatch, it's not necessarily a 1-to-1 replacement. The error path changes, and the existing code is likely not tested or developed with the new path in mind.

Nobody(?) in kernelnewbies knows anything about the apparmor code. It's not that we don't want to answer. We just can't.

Bj?rn