Tejun Heo b651d7c392 sched_ext: Swap argument positions in kcalloc() call to avoid compiler warning
alloc_exit_info() calls kcalloc() but puts in the size of the element as the
first argument which triggers the following gcc warning:

  kernel/sched/ext.c:3815:32: warning: ‘kmalloc_array_noprof’ sizes
  specified with ‘sizeof’ in the earlier argument and not in the later
  argument [-Wcalloc-transposed-args]

Fix it by swapping the positions of the first two arguments. No functional
changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Vishal Chourasia <vishalc@linux.ibm.com>
Link: http://lkml.kernel.org/r/ZoG6zreEtQhAUr_2@linux.ibm.com
2024-07-01 08:30:02 -10:00
..
2024-05-27 17:00:21 +02:00
2024-05-27 17:00:21 +02:00
2020-10-29 11:00:30 +01:00
2024-05-27 17:00:21 +02:00
2024-05-27 17:00:21 +02:00
2024-06-21 12:37:22 -10:00
2024-06-18 10:09:17 -10:00
2024-05-27 17:00:21 +02:00
2024-05-27 17:00:21 +02:00
2024-05-27 17:00:21 +02:00
2024-05-27 17:00:21 +02:00
2024-06-21 12:37:22 -10:00
2024-05-27 17:00:21 +02:00
2024-05-27 17:00:21 +02:00
2024-05-27 17:00:21 +02:00
2023-10-18 14:34:18 -07:00