diff options
| author | Gulsah Kose <[email protected]> | 2014-10-30 03:03:46 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-10-30 12:20:16 -0700 |
| commit | 3fd511d98660cba235dfadf1f296a3246fbaea58 (patch) | |
| tree | 7e795ebe795990d575a8a56eef34a58e3131582c /tools/perf/scripts | |
| parent | 04947c5be5ca3824586f94352293549b899b2d89 (diff) | |
staging: rtl8188eu: os_dep: Used min_t instead of min
This patch fixes this checkpatch.pl warning:
WARNING: min() should probably be min_t(int, req->essid_len,
IW_ESSID_MAX_SIZE)
by using this coccinelle script:
@r@
identifier i;
expression e1, e2;
type t1, t2;
@@
t1 i =
- min((t2)e1, e2);
+ min_t(t2, e1, e2);
Signed-off-by: Gulsah Kose <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions