staging: bcm2835-camera: fix coding style issues
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 2 repliesSuperseded
Changes in v2 from the cover letter
-- Fix null dereference issue (ouch!)
-- Rebase from origin
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | staging: bcm2835-camera: add check to avoid null pointer dereferencedrivers/ | +8 | 0 replies | |
| 2/3 | staging: bcm2835-camera: replace kmalloc with kzallocdrivers/ | +3 | 0 replies | |
| 3/3 | staging: bcm2835-camera: use kernel preferred style for handling errorsdrivers/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] staging: bcm2835-camera: fix coding style issues
This patchset fixes the following issues:
[1] Added null check after memory allocation to avoid a possible null pointer dereference
[2] Replaced instances of kmalloc and memset with a kzalloc
[3] Replaced null error return values with kernel preferred error return values i.e. return ERR_PTR(-ENOMEM) instead of NULL
Changes in v2:
-- Fix null dereference issue (ouch!)
-- Rebase from origin
Aishwarya Pant (3):
staging: bcm2835-camera: add check to avoid null pointer dereference
staging: bcm2835-camera: replace kmalloc with kzalloc
staging: bcm2835-camera: use kernel preferred style for handling
errors
.../vc04_services/bcm2835-camera/mmal-vchiq.c | 24 +++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-)
Signature · 1 line
2.7.4