fpga: xilinx: Avoid using local intermediate buffer
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 2 Mar 2017 13:20:11 +0000 (18:50 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 2 Aug 2017 07:11:52 +0000 (09:11 +0200)
commitd863909f36cbe001510e47520886dbb4d1a6ba6c
tree9095378aa9d66e7efff0f655521fa75a3f85fbe4
parentcf772e96905b26d4bf057c09ed267729738634a0
fpga: xilinx: Avoid using local intermediate buffer

Dont use local temporary buffer for printing out the
info instead use directly from memroy. This fixes the
issue of stack corruprion due to local buffer overflow.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/fpga/xilinx.c