Re: [PATCH V2 5/9] platform/x86: intel_pmc_core: Get LPM requirements for Tiger Lake
by kernel test robot
Hi "David,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on 823b31517ad3196324322804ee365d5fcff704d6]
url: https://github.com/0day-ci/linux/commits/David-E-Box/intel_pmc_core-Add-s...
base: 823b31517ad3196324322804ee365d5fcff704d6
config: i386-randconfig-a012-20210416 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/703038f16e99686bf2538222cee482f82...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review David-E-Box/intel_pmc_core-Add-sub-state-requirements-and-mode/20210417-111530
git checkout 703038f16e99686bf2538222cee482f823bfa60f
# save the attached .config to linux build tree
make W=1 W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/platform/x86/intel_pmc_core.c: In function 'pmc_core_get_tgl_lpm_reqs':
>> <command-line>: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
drivers/platform/x86/intel_pmc_core.c:12:21: note: in expansion of macro 'KBUILD_MODNAME'
12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
| ^~~~~~~~~~~~~~
include/linux/dynamic_debug.h:129:15: note: in expansion of macro 'pr_fmt'
129 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call'
147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/acpi.h:1067:2: note: in expansion of macro '_dynamic_func_call'
1067 | _dynamic_func_call(fmt, __acpi_handle_debug, \
| ^~~~~~~~~~~~~~~~~~
drivers/platform/x86/intel_pmc_core.c:620:4: note: in expansion of macro 'acpi_handle_debug'
620 | acpi_handle_debug(adev->handle,
| ^~~~~~~~~~~~~~~~~
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH v6] lib: add basic KUnit test for lib/math
by kernel test robot
Hi Daniel,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on 7e25f40eab52c57ff6772d27d2aef3640a3237d7]
url: https://github.com/0day-ci/linux/commits/Daniel-Latypov/lib-add-basic-KUn...
base: 7e25f40eab52c57ff6772d27d2aef3640a3237d7
config: powerpc-randconfig-c004-20210416 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/0f1888ffeaa6baa1bc2a99eac8ba7d1df...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Daniel-Latypov/lib-add-basic-KUnit-test-for-lib-math/20210417-020619
git checkout 0f1888ffeaa6baa1bc2a99eac8ba7d1df29c8450
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
lib/math/math_kunit.c: In function 'abs_test':
>> lib/math/math_kunit.c:41:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
41 | }
| ^
vim +41 lib/math/math_kunit.c
14
15 static void abs_test(struct kunit *test)
16 {
17 KUNIT_EXPECT_EQ(test, abs((char)0), (char)0);
18 KUNIT_EXPECT_EQ(test, abs((char)42), (char)42);
19 KUNIT_EXPECT_EQ(test, abs((char)-42), (char)42);
20
21 /* The expression in the macro is actually promoted to an int. */
22 KUNIT_EXPECT_EQ(test, abs((short)0), 0);
23 KUNIT_EXPECT_EQ(test, abs((short)42), 42);
24 KUNIT_EXPECT_EQ(test, abs((short)-42), 42);
25
26 KUNIT_EXPECT_EQ(test, abs(0), 0);
27 KUNIT_EXPECT_EQ(test, abs(42), 42);
28 KUNIT_EXPECT_EQ(test, abs(-42), 42);
29
30 KUNIT_EXPECT_EQ(test, abs(0L), 0L);
31 KUNIT_EXPECT_EQ(test, abs(42L), 42L);
32 KUNIT_EXPECT_EQ(test, abs(-42L), 42L);
33
34 KUNIT_EXPECT_EQ(test, abs(0LL), 0LL);
35 KUNIT_EXPECT_EQ(test, abs(42LL), 42LL);
36 KUNIT_EXPECT_EQ(test, abs(-42LL), 42LL);
37
38 /* Unsigned types get casted to signed. */
39 KUNIT_EXPECT_EQ(test, abs(0ULL), 0LL);
40 KUNIT_EXPECT_EQ(test, abs(42ULL), 42LL);
> 41 }
42
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH V2 5/9] platform/x86: intel_pmc_core: Get LPM requirements for Tiger Lake
by kernel test robot
Hi "David,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on 823b31517ad3196324322804ee365d5fcff704d6]
url: https://github.com/0day-ci/linux/commits/David-E-Box/intel_pmc_core-Add-s...
base: 823b31517ad3196324322804ee365d5fcff704d6
config: i386-randconfig-a001-20210417 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/703038f16e99686bf2538222cee482f82...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review David-E-Box/intel_pmc_core-Add-sub-state-requirements-and-mode/20210417-111530
git checkout 703038f16e99686bf2538222cee482f823bfa60f
# save the attached .config to linux build tree
make W=1 W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/platform/x86/intel_pmc_core.c:14:
drivers/platform/x86/intel_pmc_core.c: In function 'pmc_core_get_tgl_lpm_reqs':
>> drivers/platform/x86/intel_pmc_core.c:621:5: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
621 | "_DSM returned unexpected buffer size,"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
622 | " have %d, expect %ld\n", size, lpm_size);
| ~~~~~~~~
| |
| size_t {aka unsigned int}
include/linux/acpi.h:1073:42: note: in definition of macro 'acpi_handle_debug'
1073 | acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__); \
| ^~~
drivers/platform/x86/intel_pmc_core.c:622:25: note: format string is defined here
622 | " have %d, expect %ld\n", size, lpm_size);
| ~~^
| |
| long int
| %d
vim +621 drivers/platform/x86/intel_pmc_core.c
597
598 static void pmc_core_get_tgl_lpm_reqs(struct platform_device *pdev)
599 {
600 struct pmc_dev *pmcdev = platform_get_drvdata(pdev);
601 const int num_maps = pmcdev->map->lpm_num_maps;
602 size_t lpm_size = LPM_MAX_NUM_MODES * num_maps * 4;
603 union acpi_object *out_obj;
604 struct acpi_device *adev;
605 guid_t s0ix_dsm_guid;
606 u32 *lpm_req_regs, *addr;
607
608 adev = ACPI_COMPANION(&pdev->dev);
609 if (!adev)
610 return;
611
612 guid_parse(ACPI_S0IX_DSM_UUID, &s0ix_dsm_guid);
613
614 out_obj = acpi_evaluate_dsm(adev->handle, &s0ix_dsm_guid, 0,
615 ACPI_GET_LOW_MODE_REGISTERS, NULL);
616 if (out_obj && out_obj->type == ACPI_TYPE_BUFFER) {
617 int size = out_obj->buffer.length;
618
619 if (size != lpm_size) {
620 acpi_handle_debug(adev->handle,
> 621 "_DSM returned unexpected buffer size,"
622 " have %d, expect %ld\n", size, lpm_size);
623 goto free_acpi_obj;
624 }
625 } else {
626 acpi_handle_debug(adev->handle,
627 "_DSM function 0 evaluation failed\n");
628 goto free_acpi_obj;
629 }
630
631 addr = (u32 *)out_obj->buffer.pointer;
632
633 lpm_req_regs = devm_kzalloc(&pdev->dev, lpm_size * sizeof(u32),
634 GFP_KERNEL);
635 if (!lpm_req_regs)
636 goto free_acpi_obj;
637
638 memcpy(lpm_req_regs, addr, lpm_size);
639 pmcdev->lpm_req_regs = lpm_req_regs;
640
641 free_acpi_obj:
642 ACPI_FREE(out_obj);
643 }
644
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[trace:ftrace/fgraph-multi 31/40] kernel/trace/fgraph.c:647:24: error: incompatible function pointer types initializing 'trace_func_graph_ret_t' (aka 'void (*)(struct ftrace_graph_ret *, struct fgraph_ops *)') with an expression of type 'void (struct ftrace_graph_ret *)'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/fgraph-multi
head: 978dc256bd4d08df876d58b4fa01ba4cb3926242
commit: a436705d3d66255f8e32aa715dca3fcabe9cb0a9 [31/40] ftrace/function_graph: Pass fgraph_ops to function graph callbacks
config: riscv-randconfig-r032-20210416 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 6a18cc23efad410db48a3ccfc233d215de7d4cb9)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git/c...
git remote add trace https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
git fetch --no-tags trace ftrace/fgraph-multi
git checkout a436705d3d66255f8e32aa715dca3fcabe9cb0a9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/trace/fgraph.c:491:15: warning: no previous prototype for function 'ftrace_return_to_handler' [-Wmissing-prototypes]
unsigned long ftrace_return_to_handler(unsigned long frame_pointer)
^
kernel/trace/fgraph.c:491:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned long ftrace_return_to_handler(unsigned long frame_pointer)
^
static
kernel/trace/fgraph.c:635:6: warning: no previous prototype for function 'ftrace_graph_sleep_time_control' [-Wmissing-prototypes]
void ftrace_graph_sleep_time_control(bool enable)
^
kernel/trace/fgraph.c:635:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void ftrace_graph_sleep_time_control(bool enable)
^
static
>> kernel/trace/fgraph.c:647:24: error: incompatible function pointer types initializing 'trace_func_graph_ret_t' (aka 'void (*)(struct ftrace_graph_ret *, struct fgraph_ops *)') with an expression of type 'void (struct ftrace_graph_ret *)' [-Werror,-Wincompatible-function-pointer-types]
trace_func_graph_ret_t ftrace_graph_return = ftrace_stub_graph;
^ ~~~~~~~~~~~~~~~~~
>> kernel/trace/fgraph.c:909:23: error: incompatible function pointer types assigning to 'trace_func_graph_ret_t' (aka 'void (*)(struct ftrace_graph_ret *, struct fgraph_ops *)') from 'void (struct ftrace_graph_ret *)' [-Werror,-Wincompatible-function-pointer-types]
ftrace_graph_return = ftrace_stub_graph;
^ ~~~~~~~~~~~~~~~~~
2 warnings and 2 errors generated.
vim +647 kernel/trace/fgraph.c
b83b43ffc6e4b5 Steven Rostedt (VMware 2019-10-15 645)
e73e679f656e67 Steven Rostedt (VMware 2018-11-15 646) /* The callbacks that hook a function */
46f9469247c6f4 Steven Rostedt (VMware 2019-11-18 @647) trace_func_graph_ret_t ftrace_graph_return = ftrace_stub_graph;
e73e679f656e67 Steven Rostedt (VMware 2018-11-15 648) trace_func_graph_ent_t ftrace_graph_entry = ftrace_graph_entry_stub;
e73e679f656e67 Steven Rostedt (VMware 2018-11-15 649)
:::::: The code at line 647 was first introduced by commit
:::::: 46f9469247c6f4697cbbf37e4b3961120bf07f29 ftrace: Rename ftrace_graph_stub to ftrace_stub_graph
:::::: TO: Steven Rostedt (VMware) <rostedt(a)goodmis.org>
:::::: CC: Steven Rostedt (VMware) <rostedt(a)goodmis.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH v7 6/6] w1: ds2438: support for writing to offset register
by kernel test robot
Hi Luiz,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.12-rc7 next-20210416]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Luiz-Sampaio/w1-ds2438-fixed-a-c...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 151501160401e2dc669ea7dac2c599b53f220c33
config: csky-randconfig-m031-20210416 (attached as .config)
compiler: csky-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
smatch warnings:
drivers/w1/slaves/w1_ds2438.c:218 w1_ds2438_change_offset_register() warn: inconsistent indenting
vim +218 drivers/w1/slaves/w1_ds2438.c
195
196 static int w1_ds2438_change_offset_register(struct w1_slave *sl, u8 *value)
197 {
198 unsigned int retries = W1_DS2438_RETRIES;
199 u8 w1_buf[9];
200 u8 w1_page1_buf[DS2438_PAGE_SIZE + 1 /*for CRC*/];
201
202 if (w1_ds2438_get_page(sl, 1, w1_page1_buf) == 0) {
203 memcpy(&w1_buf[2], w1_page1_buf, DS2438_PAGE_SIZE - 1); /* last register reserved */
204 w1_buf[7] = value[0]; /* change only offset register */
205 w1_buf[8] = value[1];
206 while (retries--) {
207 if (w1_reset_select_slave(sl))
208 continue;
209 w1_buf[0] = W1_DS2438_WRITE_SCRATCH;
210 w1_buf[1] = 0x01; /* write to page 1 */
211 w1_write_block(sl->master, w1_buf, 9);
212
213 if (w1_reset_select_slave(sl))
214 continue;
215 w1_buf[0] = W1_DS2438_COPY_SCRATCH;
216 w1_buf[1] = 0x01;
217 w1_write_block(sl->master, w1_buf, 2);
> 218 return 0;
219 }
220 }
221 return -1;
222 }
223
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[peterz-queue:sched/debug 11/12] kernel/sched/topology.c:17:2: error: 'sched_debug_verbose' undeclared; did you mean 'sched_debug_setup'?
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/debug
head: 0a791a581b083ec45638bbc879f9d5ce568316f6
commit: 3c1a268482238e27b473bfefbd2e27241726110e [11/12] sched/debug: Rename the sched_debug parameter to sched_verbose
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/debug
git checkout 3c1a268482238e27b473bfefbd2e27241726110e
# save the attached .config to linux build tree
make W=1 W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/sched/topology.c: In function 'sched_debug_setup':
>> kernel/sched/topology.c:17:2: error: 'sched_debug_verbose' undeclared (first use in this function); did you mean 'sched_debug_setup'?
17 | sched_debug_verbose = true;
| ^~~~~~~~~~~~~~~~~~~
| sched_debug_setup
kernel/sched/topology.c:17:2: note: each undeclared identifier is reported only once for each function it appears in
kernel/sched/topology.c: In function 'sched_debug':
kernel/sched/topology.c:25:9: error: 'sched_debug_verbose' undeclared (first use in this function); did you mean 'sched_debug_setup'?
25 | return sched_debug_verbose;
| ^~~~~~~~~~~~~~~~~~~
| sched_debug_setup
kernel/sched/topology.c: In function 'sched_domain_debug':
kernel/sched/topology.c:134:7: error: 'sched_debug_verbose' undeclared (first use in this function); did you mean 'sched_debug_setup'?
134 | if (!sched_debug_verbose)
| ^~~~~~~~~~~~~~~~~~~
| sched_debug_setup
kernel/sched/topology.c: In function 'build_sched_domains':
kernel/sched/topology.c:2144:12: error: 'sched_debug_verbose' undeclared (first use in this function); did you mean 'sched_debug_setup'?
2144 | if (rq && sched_debug_verbose) {
| ^~~~~~~~~~~~~~~~~~~
| sched_debug_setup
kernel/sched/topology.c: In function 'sched_debug':
kernel/sched/topology.c:26:1: error: control reaches end of non-void function [-Werror=return-type]
26 | }
| ^
cc1: some warnings being treated as errors
vim +17 kernel/sched/topology.c
14
15 static int __init sched_debug_setup(char *str)
16 {
> 17 sched_debug_verbose = true;
18
19 return 0;
20 }
21 early_param("sched_verbose", sched_debug_setup);
22
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
hppa64-linux-ld: lib/zstd/entropy_common.o(.text+0x1c): cannot reach _mcount
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9cdbf6467424045617cd6e79dcaad06bb8efa31c
commit: 8ef7ca75120a39167def40f41daefee013c4b5af lockdep/selftest: Add more recursive read related test cases
date: 8 months ago
config: parisc-randconfig-r006-20210416 (attached as .config)
compiler: hppa64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 8ef7ca75120a39167def40f41daefee013c4b5af
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> hppa64-linux-ld: lib/zstd/entropy_common.o(.text+0x1c): cannot reach _mcount
lib/zstd/entropy_common.o: in function `FSE_versionNumber':
(.text+0x1c): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/entropy_common.o(.text+0x64): cannot reach _mcount
lib/zstd/entropy_common.o: in function `FSE_isError':
(.text+0x64): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/entropy_common.o(.text+0xbc): cannot reach _mcount
lib/zstd/entropy_common.o: in function `HUF_isError':
(.text+0xbc): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/entropy_common.o(.text+0x160): cannot reach _mcount
lib/zstd/entropy_common.o: in function `FSE_readNCount':
(.text+0x160): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/entropy_common.o(.text+0xb3c): cannot reach _mcount
lib/zstd/entropy_common.o: in function `HUF_readStats_wksp':
(.text+0xb3c): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/fse_decompress.o(.text+0x70): cannot reach _mcount
lib/zstd/fse_decompress.o: in function `FSE_buildDTable_wksp':
(.text+0x70): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/fse_decompress.o(.text+0x3d4): cannot reach _mcount
lib/zstd/fse_decompress.o: in function `FSE_buildDTable_rle':
(.text+0x3d4): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/fse_decompress.o(.text+0x440): cannot reach _mcount
lib/zstd/fse_decompress.o: in function `FSE_buildDTable_raw':
(.text+0x440): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/fse_decompress.o(.text+0x564): cannot reach _mcount
lib/zstd/fse_decompress.o: in function `FSE_decompress_usingDTable':
(.text+0x564): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/fse_decompress.o(.text+0x347c): cannot reach _mcount
lib/zstd/fse_decompress.o: in function `FSE_decompress_wksp':
(.text+0x347c): relocation truncated to fit: R_PARISC_PCREL22F against symbol `_mcount' defined in .text.hot section in arch/parisc/kernel/entry.o
hppa64-linux-ld: lib/zstd/zstd_common.o(.text+0x2c): cannot reach _mcount
lib/zstd/zstd_common.o: in function `ZSTD_stackAlloc':
(.text+0x2c): additional relocation overflows omitted from the output
hppa64-linux-ld: lib/zstd/zstd_common.o(.text+0x8c): cannot reach _mcount
hppa64-linux-ld: lib/zstd/zstd_common.o(.text+0xe0): cannot reach _mcount
hppa64-linux-ld: lib/zstd/zstd_common.o(.text+0x1c4): cannot reach _mcount
hppa64-linux-ld: lib/zstd/zstd_common.o(.text+0x25c): cannot reach _mcount
hppa64-linux-ld: lib/zstd/zstd_common.o(.text+0x2dc): cannot reach _mcount
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Formación Bonificable para empleados en activo o ERTE
by info18@foescocurso.com
Buenos días
Desde FOESCO (Formación Estatal Continua) estamos informando a todas las empresas españolas acerca de los Cursos Bonificables disponibles para empleados en activo o en situación de ERTE.
Todos los cursos impartidos son bonificables con cargo al Crédito de Formación 2021.
Rogamos nos respondan a este mismo correo electrónico eligiendo una de las opciones que a continuación indicamos:
1 - Precisamos información para la PRESENTE convocatoria ABRIL 2021.
2 - Precisamos información para la convocatoria del mes de JUNIO 2021.
3 - Precisamos información para la convocatoria del mes de SEPTIEMBRE 2021.
4 - Precisamos información para la ÚLTIMA convocatoria NOVIEMBRE 2021.
5 - Precisamos información para el año 2022.
6 - No precisamos ninguna información BAJA (AVISO: Indicando esta opción tenga en cuenta que no volverá a recibir ninguna información en un futuro)
Recordamos que el Crédito de Formación únicamente puede utilizarse en el mismo año en curso.
Quedamos a la espera de su respuesta.
Un cordial saludo.
Alex Pons.
Director FOESCO.
FOESCO Formación Estatal Continua
e-mail: cursos(a)foesco.net
Tel.: 91 032 37 94
(Horario de 9h a 14h y de 16:30h a 21h de Lunes a Viernes)
FOESCO ofrece formación a empresas y trabajadores en activo a través de cursos bonificables por la Fundación Estatal para la Formación en el Empleo (antiguo FORCEM) que gestiona las acciones formativas de FORMACIÓN CONTINUA para trabajadores y se rige por la ley 30/2015 de 9 de Septiembre.
Antes de imprimir este e-mail piense bien si es necesario hacerlo. Before printing this e-mail please think twice if you really need it. FOESCO Tfno: 910 382 880 Email: cursos(a)foesco.com. La información transmitida en este mensaje está dirigida solamente a las personas o entidades que figuran en el encabezamiento y contiene información confidencial, por lo que, si usted lo recibiera por error, por favor destrúyalo sin copiarlo, usarlo ni distribuirlo, comunicándolo inmediatamente al emisor del mensaje. De conformidad con lo dispuesto en el Reglamento Europeo del 2016/679, del 27 de Abril de 2016, FOESCO le informa que los datos por usted suministrados serán tratados con las medidas de seguridad conformes a la normativa vigente que se requiere. Dichos datos serán empleados con fines de gestión. Para el ejercicio de sus derechos de transparencia, información, acceso, rectificación, supresión o derecho al olvido, limitación del tratamiento , portabilidad de datos y oposición de sus datos de carácter personal deberá dirigirse a la dirección del Responsable del tratamiento a C/ LAGUNA DEL MARQUESADO Nº10, 28021, MADRID, "PULSANDO AQUI" <mailto:bajas@foesco.com?Subject=BAJA%20CORREOS> y "ENVIAR" o a través de la dirección de correo electrónico: bajas(a)foesco.com <mailto:bajas@foesco.com?Subject=BAJA%20CORREOS>
1 year, 5 months
[abelloni:rtc-next 15/17] drivers/rtc/rtc-tps6586x.c:273:20: error: 'IRQF_NO_AUTOEN' undeclared; did you mean 'IRQ_NOAUTOEN'?
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
head: ef062a45ec9c2b6d15ddd9f76f897219334c7cd2
commit: 44db35cb9bf31163d17bee2c9748e1570b81be26 [15/17] rtc: tps6586x: move to use request_irq by IRQF_NO_AUTOEN flag
config: arm64-randconfig-r022-20210416 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit...
git remote add abelloni https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git
git fetch --no-tags abelloni rtc-next
git checkout 44db35cb9bf31163d17bee2c9748e1570b81be26
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/rtc/rtc-tps6586x.c: In function 'tps6586x_rtc_probe':
>> drivers/rtc/rtc-tps6586x.c:273:20: error: 'IRQF_NO_AUTOEN' undeclared (first use in this function); did you mean 'IRQ_NOAUTOEN'?
273 | IRQF_ONESHOT | IRQF_NO_AUTOEN,
| ^~~~~~~~~~~~~~
| IRQ_NOAUTOEN
drivers/rtc/rtc-tps6586x.c:273:20: note: each undeclared identifier is reported only once for each function it appears in
vim +273 drivers/rtc/rtc-tps6586x.c
233
234 static int tps6586x_rtc_probe(struct platform_device *pdev)
235 {
236 struct device *tps_dev = to_tps6586x_dev(&pdev->dev);
237 struct tps6586x_rtc *rtc;
238 int ret;
239
240 rtc = devm_kzalloc(&pdev->dev, sizeof(*rtc), GFP_KERNEL);
241 if (!rtc)
242 return -ENOMEM;
243
244 rtc->dev = &pdev->dev;
245 rtc->irq = platform_get_irq(pdev, 0);
246
247 /* 1 kHz tick mode, enable tick counting */
248 ret = tps6586x_update(tps_dev, RTC_CTRL,
249 RTC_ENABLE | OSC_SRC_SEL |
250 ((TPS6586X_RTC_CL_SEL_1_5PF << CL_SEL_POS) & CL_SEL_MASK),
251 RTC_ENABLE | OSC_SRC_SEL | PRE_BYPASS | CL_SEL_MASK);
252 if (ret < 0) {
253 dev_err(&pdev->dev, "unable to start counter\n");
254 return ret;
255 }
256
257 device_init_wakeup(&pdev->dev, 1);
258
259 platform_set_drvdata(pdev, rtc);
260 rtc->rtc = devm_rtc_allocate_device(&pdev->dev);
261 if (IS_ERR(rtc->rtc)) {
262 ret = PTR_ERR(rtc->rtc);
263 goto fail_rtc_register;
264 }
265
266 rtc->rtc->ops = &tps6586x_rtc_ops;
267 rtc->rtc->range_max = (1ULL << 30) - 1; /* 30-bit seconds */
268 rtc->rtc->start_secs = mktime64(2009, 1, 1, 0, 0, 0);
269 rtc->rtc->set_start_time = true;
270
271 ret = devm_request_threaded_irq(&pdev->dev, rtc->irq, NULL,
272 tps6586x_rtc_irq,
> 273 IRQF_ONESHOT | IRQF_NO_AUTOEN,
274 dev_name(&pdev->dev), rtc);
275 if (ret < 0) {
276 dev_err(&pdev->dev, "request IRQ(%d) failed with ret %d\n",
277 rtc->irq, ret);
278 goto fail_rtc_register;
279 }
280
281 ret = devm_rtc_register_device(rtc->rtc);
282 if (ret)
283 goto fail_rtc_register;
284
285 return 0;
286
287 fail_rtc_register:
288 tps6586x_update(tps_dev, RTC_CTRL, 0,
289 RTC_ENABLE | OSC_SRC_SEL | PRE_BYPASS | CL_SEL_MASK);
290 return ret;
291 };
292
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[freescale-fslc:pr/312 8473/18196] drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types)
by kernel test robot
tree: https://github.com/Freescale/linux-fslc pr/312
head: 98ba4471da6187346dbcc17cdf31671fb5d28b91
commit: d74f8108dce77b0fb2496cfe92461de9766e060e [8473/18196] MLK-23677-4 usb: chipidea: add tracepoint support for udc
config: i386-randconfig-s032-20210416 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-280-g2cd6d34e-dirty
# https://github.com/Freescale/linux-fslc/commit/d74f8108dce77b0fb2496cfe92...
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc pr/312
git checkout d74f8108dce77b0fb2496cfe92461de9766e060e
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/usb/chipidea/trace.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, drivers/usb/chipidea/trace.h):
>> drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] next @@ got restricted __le32 [usertype] next @@
drivers/usb/chipidea/./trace.h:39:1: sparse: expected unsigned int [usertype] next
drivers/usb/chipidea/./trace.h:39:1: sparse: got restricted __le32 [usertype] next
>> drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] token @@ got restricted __le32 [usertype] token @@
drivers/usb/chipidea/./trace.h:39:1: sparse: expected unsigned int [usertype] token
drivers/usb/chipidea/./trace.h:39:1: sparse: got restricted __le32 [usertype] token
drivers/usb/chipidea/trace.c: note: in included file (through include/trace/perf.h, include/trace/define_trace.h, drivers/usb/chipidea/trace.h):
>> drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] next @@ got restricted __le32 [usertype] next @@
drivers/usb/chipidea/./trace.h:39:1: sparse: expected unsigned int [usertype] next
drivers/usb/chipidea/./trace.h:39:1: sparse: got restricted __le32 [usertype] next
>> drivers/usb/chipidea/./trace.h:39:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] token @@ got restricted __le32 [usertype] token @@
drivers/usb/chipidea/./trace.h:39:1: sparse: expected unsigned int [usertype] token
drivers/usb/chipidea/./trace.h:39:1: sparse: got restricted __le32 [usertype] token
vim +39 drivers/usb/chipidea/./trace.h
38
> 39 DECLARE_EVENT_CLASS(ci_log_trb,
40 TP_PROTO(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, struct td_node *td),
41 TP_ARGS(hwep, hwreq, td),
42 TP_STRUCT__entry(
43 __string(name, hwep->name)
44 __field(struct td_node *, td)
45 __field(struct usb_request *, req)
46 __field(dma_addr_t, dma)
47 __field(s32, td_remaining_size)
48 __field(u32, next)
49 __field(u32, token)
50 __field(u32, type)
51 ),
52 TP_fast_assign(
53 __assign_str(name, hwep->name);
54 __entry->req = &hwreq->req;
55 __entry->td = td;
56 __entry->dma = td->dma;
57 __entry->td_remaining_size = td->td_remaining_size;
58 __entry->next = td->ptr->next;
59 __entry->token = td->ptr->token;
60 __entry->type = usb_endpoint_type(hwep->ep.desc);
61 ),
62 TP_printk("%s: req: %p, td %p, td_dma_address: 0x%llx, remaining_size: %d,"
63 "next: 0x%x, total bytes: %d, status: 0x%lx",
64 __get_str(name), __entry->req, __entry->td, __entry->dma,
65 __entry->td_remaining_size, __entry->next,
66 (int)((__entry->token & TD_TOTAL_BYTES) >> __ffs(TD_TOTAL_BYTES)),
67 __entry->token & TD_STATUS
68 )
69 );
70
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months