git: test/cocci: Add a patch that reports checks of variable/field addresses.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Jun 12 04:05:52 PDT 2012


commit eea0ef500ffab5dac13e077746ce76e70184fd7c
Author: Sascha Wildner <saw at online.de>
Date:   Tue Jun 12 13:05:17 2012 +0200

    test/cocci: Add a patch that reports checks of variable/field addresses.
    
    Like:
    
    int i;
    ...
    if (&i)
       ...
    
    Taken-from: Linux

Summary of changes:
 test/cocci/ifaddr.cocci |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 test/cocci/ifaddr.cocci

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eea0ef500ffab5dac13e077746ce76e70184fd7c


-- 
DragonFly BSD source repository





More information about the Commits mailing list