[PATCH v3] staging: vc04_services: Avoid NULL comparison

2019-10-08 Thread Nachammai Karuppiah
Remove NULL comparison. Issue found using checkpatch.pl Signed-off-by: Nachammai Karuppiah --- Changes in V2 - Remove all NULL comparisons in vc04_services/interface directory. --- changes in V3 - Fixed warnings. Reported-by: kbuild test robot --- Signed-off-by: Nachammai Karuppiah

[PATCH v2] staging: vc04_services: Avoid NULL comparison

2019-10-07 Thread Nachammai Karuppiah
Remove NULL comparison. Issue found using checkpatch.pl Signed-off-by: Nachammai Karuppiah --- Changes in V2 - Remove all NULL comparisons in vc04_services/interface directory. --- .../interface/vchiq_arm/vchiq_2835_arm.c | 4 ++-- .../vc04_services/interface/vchiq_arm

Re: [Outreachy kernel] [PATCH] staging: vc04_services: Avoid typedef

2019-10-04 Thread Nachammai Karuppiah
On Thu, Oct 3, 2019 at 5:04 PM Julia Lawall wrote: > > > > On Thu, 3 Oct 2019, Nachammai Karuppiah wrote: > > > Avoid typedefs to maintain kernel coding style. Issue found by > > checkpatch.pl > > > > Replace the enum typedef VCHIQ_REASON_T with vchiq_reas

[PATCH] staging: vc04_services: Avoid typedef

2019-10-03 Thread Nachammai Karuppiah
Avoid typedefs to maintain kernel coding style. Issue found by checkpatch.pl Replace the enum typedef VCHIQ_REASON_T with vchiq_reason. Signed-off-by: Nachammai Karuppiah --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 8 drivers/staging/vc04_services/interface