lkml.org 
[lkml]   [2013]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] spi: Add helper functions for setting up transfers
    > +@r1@
    > +identifier fn;
    > +identifier xfers;
    > +@@
    > +fn(...)
    > +{
    > + ...
    > +(
    > + struct spi_transfer xfers[...];
    > +|
    > + struct spi_transfer xfers[];
    > +)
    > + ...
    > +}

    Can it happen that there would be more than one spi_transfer or spi_message
    variable per function? This semantic patch will only treat the case where
    there is only one, because the ... before an after the variable declaration
    won't match another declaration of the same form.

    julia


    \
     
     \ /
      Last update: 2013-01-10 10:43    [W:3.309 / U:1.208 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site