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

Colin Ian King colin.king at canonical.com
Thu Sep 10 13:17:02 UTC 2015


On 10/09/15 14:04, Tim Gardner wrote:
> 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 ? 

Indeed so. https://github.com/raspberrypi/linux/pull/1123

> 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
> 





More information about the kernel-team mailing list