* [xilinx-xlnx:master 1000/1123] drivers/gpu/drm/xlnx/hdcp/xlnx_hdcp2x_crypt.c:147:1: warning: the frame size of 1536 bytes is larger than 1024 bytes
@ 2023-10-19 17:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-19 17:41 UTC (permalink / raw)
To: Lakshmi Prasanna Eachuri; +Cc: oe-kbuild-all, git, Michal Simek, Vishal Sagar
tree: https://github.com/Xilinx/linux-xlnx master
head: cb1f2dbc7e487361688257fccf78bf3f3ce0e9ed
commit: f5e31866859a5b682c6668e40f17b5f760dca9c1 [1000/1123] drm: xlnx: Add HDCP2X TX support
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20231020/202310200100.hbreEaMs-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231020/202310200100.hbreEaMs-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310200100.hbreEaMs-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/xlnx/hdcp/xlnx_hdcp2x_crypt.c: In function 'xlnx_hdcp2x_tx_rsa_encrypt':
>> drivers/gpu/drm/xlnx/hdcp/xlnx_hdcp2x_crypt.c:147:1: warning: the frame size of 1536 bytes is larger than 1024 bytes [-Wframe-larger-than=]
147 | }
| ^
vim +147 drivers/gpu/drm/xlnx/hdcp/xlnx_hdcp2x_crypt.c
127
128 static int xlnx_hdcp2x_tx_rsa_encrypt(const u8 *rsa_public_key, int public_key_size,
129 const u8 *exponent_key, int exponent_key_size,
130 const u8 *msg, int msg_size, u8 *encrypted_msg)
131 {
132 unsigned int n[BD_MAX_MOD_SIZE], e[BD_MAX_MOD_SIZE],
133 m[BD_MAX_MOD_SIZE], s[BD_MAX_MOD_SIZE];
134 unsigned int mod_size = public_key_size / sizeof(unsigned int);
135
136 if (msg_size != public_key_size)
137 return -EINVAL;
138
139 mp_conv_from_octets(n, mod_size, rsa_public_key, public_key_size);
140 mp_conv_from_octets(e, mod_size, exponent_key, exponent_key_size);
141
142 mp_conv_from_octets(m, mod_size, msg, msg_size);
143 mp_mod_exp(s, m, e, n, mod_size);
144 mp_conv_to_octets(s, mod_size, encrypted_msg, msg_size);
145
146 return 0;
> 147 }
148
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-19 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-19 17:41 [xilinx-xlnx:master 1000/1123] drivers/gpu/drm/xlnx/hdcp/xlnx_hdcp2x_crypt.c:147:1: warning: the frame size of 1536 bytes is larger than 1024 bytes kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.