Fix 3.3 checkpatch warnings about min() and max() (merge r4172 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5032 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-10-05 16:58:22 +00:00
parent 83383a839a
commit d50c554e24
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3955,7 +3955,7 @@ int iscsi_threads_pool_get(const cpumask_t *cpu_mask,
INIT_LIST_HEAD(&p->threads_list);
if (cpu_mask == NULL)
count = max((int)num_online_cpus(), 2);
count = max_t(int, num_online_cpus(), 2);
else {
count = 0;
for_each_cpu(i, cpu_mask)