DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Jun 2012 04:05:52 -0700 (PDT)

commit eea0ef500ffab5dac13e077746ce76e70184fd7c
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]