summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2024-07-01 21:30:02 +0300
committerTejun Heo <tj@kernel.org>2024-07-01 21:30:02 +0300
commitb651d7c39289850b5a0a2c67231dd36117340a2e (patch)
tree3b3fbaba7f5e5974763b80a1937015331fddf9b1 /net/lapb/lapb_subr.c
parentb5ba2e1a955417e78a6018fb736a14c03df0abcd (diff)
downloadlinux-b651d7c39289850b5a0a2c67231dd36117340a2e.tar.xz
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
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions