[PATCH 0/5] [W/raspi2] Static analysis fixes

Paolo Pisati paolo.pisati at canonical.com
Thu Sep 10 10:17:23 UTC 2015


Some fixes that cking found using his tools, and that we are already shipping in
Vivid.

Colin Ian King (5):
  vchiq: fix NULL pointer deference when closing driver
  bcm2708_fb: remove redundant code as detected by static analysis
  bcm2708_fb: remove unnecessary initialization of result
  vcsm: increment res_stats MAP_FAIL stats before we potentially release
    the resource
  bcm2835: memcpy port data to m rather than rmsg

 drivers/char/broadcom/vc_sm/vmcs_sm.c                       | 2 +-
 drivers/media/platform/bcm2835/mmal-vchiq.c                 | 2 +-
 drivers/misc/vc04_services/interface/vchiq_arm/vchiq_util.c | 4 ++++
 drivers/misc/vc04_services/interface/vchiq_arm/vchiq_util.h | 1 +
 drivers/video/fbdev/bcm2708_fb.c                            | 8 +-------
 5 files changed, 8 insertions(+), 9 deletions(-)

-- 
2.1.4





More information about the kernel-team mailing list