Skip to content
Commit 6d333b80 authored by Nishad Saraf's avatar Nishad Saraf Committed by Quanyang Wang
Browse files

misc: xilinx-ai-engine: Make direct writes to sysfs export buffers

commit 27a9b77ac59d575dc4226b9e58e99ef4b3e0e9fb from
https://github.com/Xilinx/linux-xlnx.git

 xlnx_rebase_v5.15

This patch fixes the below warnings by making direct writes to the sysfs
export buffers rather than allocating local stack buffers and then
copying them to the export buffers.

drivers/misc/xilinx-ai-engine/ai-engine-sysfs-event.c:126:1: error: the frame size of 2384 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
  126 | }
      | ^

Signed-off-by: default avatarNishad Saraf <nishads@amd.com>
State: pending
Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
parent 7f16cabb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment