mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-29 19:25:54 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user