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

Tim Gardner tim.gardner at canonical.com
Thu Sep 10 13:04:50 UTC 2015


On 09/10/2015 04:17 AM, Paolo Pisati wrote:
> 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(-)
> 

I assume these are all in the process of being upstreamed ? If so, then
they should be generally applicable to Wily master-next as SAUCE patches
(with an 'upstreamed' notation in the commit log). The raspi2 branch
would then pick them up on the next rebase to master.

rtg
-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list