* drivers/media/dvb-frontends/mxl692.c:135:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
@ 2021-08-25 6:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-25 6:52 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3150 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Brad Love <brad@nextdimension.cc>
CC: Mauro Carvalho Chehab <mchehab@kernel.org>
CC: linux-media(a)vger.kernel.org
CC: Sean Young <sean@mess.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6e764bcd1cf72a2846c0e53d3975a09b242c04c9
commit: b53f2fa136b1b20f03184f4a98fea75eb2705eac media: mxl692: MaxLinear 692 ATSC demod/tuner driver
date: 7 months ago
:::::: branch date: 14 hours ago
:::::: commit date: 7 months ago
compiler: microblaze-linux-gcc (GCC) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/media/dvb-frontends/mxl692.c:135:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
buffer += convert_endian(2 * sizeof(u32), buffer);
^
drivers/media/dvb-frontends/mxl692.c:195:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
buffer += convert_endian(sizeof(u32), buffer);
^
vim +135 drivers/media/dvb-frontends/mxl692.c
b53f2fa136b1b20 Brad Love 2021-01-26 119
b53f2fa136b1b20 Brad Love 2021-01-26 120 static void mxl692_tx_swap(enum MXL_EAGLE_OPCODE_E opcode, u8 *buffer)
b53f2fa136b1b20 Brad Love 2021-01-26 121 {
b53f2fa136b1b20 Brad Love 2021-01-26 122 #ifdef __BIG_ENDIAN
b53f2fa136b1b20 Brad Love 2021-01-26 123 return;
b53f2fa136b1b20 Brad Love 2021-01-26 124 #endif
b53f2fa136b1b20 Brad Love 2021-01-26 125 buffer += MXL_EAGLE_HOST_MSG_HEADER_SIZE; /* skip API header */
b53f2fa136b1b20 Brad Love 2021-01-26 126
b53f2fa136b1b20 Brad Love 2021-01-26 127 switch (opcode) {
b53f2fa136b1b20 Brad Love 2021-01-26 128 case MXL_EAGLE_OPCODE_DEVICE_INTR_MASK_SET:
b53f2fa136b1b20 Brad Love 2021-01-26 129 case MXL_EAGLE_OPCODE_TUNER_CHANNEL_TUNE_SET:
b53f2fa136b1b20 Brad Love 2021-01-26 130 case MXL_EAGLE_OPCODE_SMA_TRANSMIT_SET:
b53f2fa136b1b20 Brad Love 2021-01-26 131 buffer += convert_endian(sizeof(u32), buffer);
b53f2fa136b1b20 Brad Love 2021-01-26 132 break;
b53f2fa136b1b20 Brad Love 2021-01-26 133 case MXL_EAGLE_OPCODE_QAM_PARAMS_SET:
b53f2fa136b1b20 Brad Love 2021-01-26 134 buffer += 5;
b53f2fa136b1b20 Brad Love 2021-01-26 @135 buffer += convert_endian(2 * sizeof(u32), buffer);
b53f2fa136b1b20 Brad Love 2021-01-26 136 break;
b53f2fa136b1b20 Brad Love 2021-01-26 137 default:
b53f2fa136b1b20 Brad Love 2021-01-26 138 /* no swapping - all get opcodes */
b53f2fa136b1b20 Brad Love 2021-01-26 139 /* ATSC/OOB no swapping */
b53f2fa136b1b20 Brad Love 2021-01-26 140 break;
b53f2fa136b1b20 Brad Love 2021-01-26 141 }
b53f2fa136b1b20 Brad Love 2021-01-26 142 }
b53f2fa136b1b20 Brad Love 2021-01-26 143
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-25 6:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 6:52 drivers/media/dvb-frontends/mxl692.c:135:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 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.