> +@err depends on context || org || report@
> +statement S;
> +expression e;
> +position j0;
How do you think about to omit the number from this variable name?
> +@@
> +
> + e = devm_ioremap_resource(...);
> +* if (!e@j0) S
Are there any more functions to consider for such a source code
> +@err depends on context || org || report@
> +statement S;
> +expression e;
> +position j0;
How do you think about to omit the number from this variable name?
> +@@
> +
> + e = devm_ioremap_resource(...);
> +* if (!e@j0) S
Are there any more functions to consider for such a source code
This script detects cases which have incorrect error handling for
devm_ioremap_resource function, employing a NULL test instead of an
IS_ERR() test.
Acked-by: Julia Lawall
Signed-off-by: Amitoj Kaur Chawla
---
Changes in v2:
-Changed script to
This script detects cases which have incorrect error handling for
devm_ioremap_resource function, employing a NULL test instead of an
IS_ERR() test.
Acked-by: Julia Lawall
Signed-off-by: Amitoj Kaur Chawla
---
Changes in v2:
-Changed script to correct error handling instead of just
On Sat, 6 Aug 2016, SF Markus Elfring wrote:
> > +@err depends on context || org || report@
> > +statement S;
> > +expression e;
> > +position j0;
>
> How do you think about to omit the number from this variable name?
>
>
> > +@@
> > +
> > + e = devm_ioremap_resource(...);
> > +* if (!e@j0) S
On Sat, 6 Aug 2016, SF Markus Elfring wrote:
> > +@err depends on context || org || report@
> > +statement S;
> > +expression e;
> > +position j0;
>
> How do you think about to omit the number from this variable name?
>
>
> > +@@
> > +
> > + e = devm_ioremap_resource(...);
> > +* if (!e@j0) S
6 matches
Mail list logo