lkml.org 
[lkml]   [2014]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: thunderbolt: Deletion of unnecessary checks before the function call "ring_free"
> Why not just make the static source code analysis aware of the problem?

This is also possible, of course.


> You can treat static functions differently that non-static ones.

I have added this detail to my ideas around the next fine-tuning
for the published semantic patch approach.


> There is no need to change the code.

Can name space prefixes help to make source code a bit safer eventually?

Regards,
Markus


\
 
 \ /
  Last update: 2014-11-23 20:41    [W:0.646 / U:1.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site