rtpengine: add patch fixing compilation warning for kernel module
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 17:41:14 +0000 (19:41 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 May 2023 17:42:31 +0000 (19:42 +0200)
commitf265a9399173dd9cf705c298652816e4fb948714
treef3e25996241832090aac737a8d3cd4a97a1bd90e
parent39ca113f84f45dc366df5b4b98c116309bfbf92b
rtpengine: add patch fixing compilation warning for kernel module

Add patch fixing compilation warning for kernel module.
Always dynamically allocate buffer for proc_control_read_write.
Fix compilation warning:
/builder/shared-workdir/build/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/rtpengine-no-transcode/rtpengine-mr10.5.2.6/kernel-module/xt_RTPENGINE.c: In function 'proc_control_read_write':
/builder/shared-workdir/build/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/rtpengine-no-transcode/rtpengine-mr10.5.2.6/kernel-module/xt_RTPENGINE.c:3573:1: error: the frame size of 1272 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
 3573 | }
      | ^

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
net/rtpengine/patches/07-always-dynamically-allocate-buffer-for-kernel-mod.patch [new file with mode: 0644]