[linux-platform-drivers-x86:review-hans 60/78] arch/x86/include/asm/intel_scu_ipc.h:64: undefined reference to `intel_scu_ipc_dev_command_with_size'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x8... review-hans
head: b1341d3e93b26a85bb765f7eddd717d409bc1ef8
commit: 05c8d91f374b5dceeb322221eca48077005b1686 [60/78] platform/x86: intel_scu: Move to intel sub-directory
config: i386-randconfig-m021-20210819 (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/pdx86/platform-drivers-x8...
git remote add linux-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x8...
git fetch --no-tags linux-platform-drivers-x86 review-hans
git checkout 05c8d91f374b5dceeb322221eca48077005b1686
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
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 >>):
ld: drivers/mfd/intel_pmc_bxt.o: in function `simplecmd_store':
drivers/mfd/intel_pmc_bxt.c:181: undefined reference to `intel_scu_ipc_dev_simple_command'
ld: drivers/mfd/intel_pmc_bxt.o: in function `northpeak_store':
drivers/mfd/intel_pmc_bxt.c:221: undefined reference to `intel_scu_ipc_dev_simple_command'
ld: drivers/mfd/intel_pmc_bxt.o: in function `intel_pmc_probe':
drivers/mfd/intel_pmc_bxt.c:442: undefined reference to `__devm_intel_scu_ipc_register'
ld: drivers/mfd/intel_soc_pmic_bxtwc.o: in function `intel_scu_ipc_dev_command':
>> arch/x86/include/asm/intel_scu_ipc.h:64: undefined reference to `intel_scu_ipc_dev_command_with_size'
>> ld: arch/x86/include/asm/intel_scu_ipc.h:64: undefined reference to `intel_scu_ipc_dev_command_with_size'
ld: drivers/mfd/intel_soc_pmic_bxtwc.o: in function `bxtwc_probe':
>> drivers/mfd/intel_soc_pmic_bxtwc.c:456: undefined reference to `devm_intel_scu_ipc_dev_get'
vim +64 arch/x86/include/asm/intel_scu_ipc.h
f57fa18583f538 Mika Westerberg 2020-04-16 41
f57fa18583f538 Mika Westerberg 2020-04-16 42 int intel_scu_ipc_dev_ioread8(struct intel_scu_ipc_dev *scu, u16 addr,
f57fa18583f538 Mika Westerberg 2020-04-16 43 u8 *data);
f57fa18583f538 Mika Westerberg 2020-04-16 44 int intel_scu_ipc_dev_iowrite8(struct intel_scu_ipc_dev *scu, u16 addr,
f57fa18583f538 Mika Westerberg 2020-04-16 45 u8 data);
f57fa18583f538 Mika Westerberg 2020-04-16 46 int intel_scu_ipc_dev_readv(struct intel_scu_ipc_dev *scu, u16 *addr,
f57fa18583f538 Mika Westerberg 2020-04-16 47 u8 *data, size_t len);
f57fa18583f538 Mika Westerberg 2020-04-16 48 int intel_scu_ipc_dev_writev(struct intel_scu_ipc_dev *scu, u16 *addr,
f57fa18583f538 Mika Westerberg 2020-04-16 49 u8 *data, size_t len);
f57fa18583f538 Mika Westerberg 2020-04-16 50
f57fa18583f538 Mika Westerberg 2020-04-16 51 int intel_scu_ipc_dev_update(struct intel_scu_ipc_dev *scu, u16 addr,
f57fa18583f538 Mika Westerberg 2020-04-16 52 u8 data, u8 mask);
f57fa18583f538 Mika Westerberg 2020-04-16 53
f57fa18583f538 Mika Westerberg 2020-04-16 54 int intel_scu_ipc_dev_simple_command(struct intel_scu_ipc_dev *scu, int cmd,
f57fa18583f538 Mika Westerberg 2020-04-16 55 int sub);
f57fa18583f538 Mika Westerberg 2020-04-16 56 int intel_scu_ipc_dev_command_with_size(struct intel_scu_ipc_dev *scu, int cmd,
f57fa18583f538 Mika Westerberg 2020-04-16 57 int sub, const void *in, size_t inlen,
f57fa18583f538 Mika Westerberg 2020-04-16 58 size_t size, void *out, size_t outlen);
f57fa18583f538 Mika Westerberg 2020-04-16 59
f57fa18583f538 Mika Westerberg 2020-04-16 60 static inline int intel_scu_ipc_dev_command(struct intel_scu_ipc_dev *scu, int cmd,
f57fa18583f538 Mika Westerberg 2020-04-16 61 int sub, const void *in, size_t inlen,
f57fa18583f538 Mika Westerberg 2020-04-16 62 void *out, size_t outlen)
f57fa18583f538 Mika Westerberg 2020-04-16 63 {
f57fa18583f538 Mika Westerberg 2020-04-16 @64 return intel_scu_ipc_dev_command_with_size(scu, cmd, sub, in, inlen,
f57fa18583f538 Mika Westerberg 2020-04-16 65 inlen, out, outlen);
f57fa18583f538 Mika Westerberg 2020-04-16 66 }
54b34aa0a7295c Mika Westerberg 2020-04-16 67
:::::: The code at line 64 was first introduced by commit
:::::: f57fa18583f538786b66a045446617f5638f032a platform/x86: intel_scu_ipc: Introduce new SCU IPC API
:::::: TO: Mika Westerberg <mika.westerberg(a)linux.intel.com>
:::::: CC: Lee Jones <lee.jones(a)linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[android-common:android12-5.10-m2107 3711/10686] include/linux/mm.h:1788:22: warning: unused parameter 'flags'
by kernel test robot
tree: https://android.googlesource.com/kernel/common android12-5.10-m2107
head: 8924937542055a16cdee42c835c8326d8d531564
commit: 1c5371744061fcce2cc93540fa30ac104db13db7 [3711/10686] FROMLIST: mm: provide speculative fault infrastructure
config: i386-randconfig-r021-20210816 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2c6448cdc2f68f8c28fd0bd9404182b81306e6e6)
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
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10-m2107
git checkout 1c5371744061fcce2cc93540fa30ac104db13db7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>):
static inline bool is_zone_device_page(const struct page *page)
^
include/linux/mm.h:1156:56: warning: unused parameter 'page' [-Wunused-parameter]
static inline bool page_is_devmap_managed(struct page *page)
^
include/linux/mm.h:1161:57: warning: unused parameter 'page' [-Wunused-parameter]
static inline void put_devmap_managed_page(struct page *page)
^
include/linux/mm.h:1401:64: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline int page_cpupid_xchg_last(struct page *page, int cpupid)
^
include/linux/mm.h:1411:37: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline int cpupid_to_nid(int cpupid)
^
include/linux/mm.h:1416:37: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline int cpupid_to_pid(int cpupid)
^
include/linux/mm.h:1421:37: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline int cpupid_to_cpu(int cpupid)
^
include/linux/mm.h:1426:41: warning: unused parameter 'nid' [-Wunused-parameter]
static inline int cpu_pid_to_cpupid(int nid, int pid)
^
include/linux/mm.h:1426:50: warning: unused parameter 'pid' [-Wunused-parameter]
static inline int cpu_pid_to_cpupid(int nid, int pid)
^
include/linux/mm.h:1431:41: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline bool cpupid_pid_unset(int cpupid)
^
include/linux/mm.h:1436:56: warning: unused parameter 'page' [-Wunused-parameter]
static inline void page_cpupid_reset_last(struct page *page)
^
include/linux/mm.h:1440:57: warning: unused parameter 'task' [-Wunused-parameter]
static inline bool cpupid_match_pid(struct task_struct *task, int cpupid)
^
include/linux/mm.h:1440:67: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline bool cpupid_match_pid(struct task_struct *task, int cpupid)
^
include/linux/mm.h:1471:52: warning: unused parameter 'page' [-Wunused-parameter]
static inline u8 page_kasan_tag(const struct page *page)
^
include/linux/mm.h:1476:52: warning: unused parameter 'page' [-Wunused-parameter]
static inline void page_kasan_tag_set(struct page *page, u8 tag) { }
^
include/linux/mm.h:1476:61: warning: unused parameter 'tag' [-Wunused-parameter]
static inline void page_kasan_tag_set(struct page *page, u8 tag) { }
^
include/linux/mm.h:1477:54: warning: unused parameter 'page' [-Wunused-parameter]
static inline void page_kasan_tag_reset(struct page *page) { }
^
include/linux/mm.h:1486:56: warning: unused parameter 'page' [-Wunused-parameter]
static inline pg_data_t *page_pgdat(const struct page *page)
^
include/linux/mm.h:1517:36: warning: unused parameter 'pfn' [-Wunused-parameter]
unsigned long node, unsigned long pfn)
^
include/linux/mm.h:1537:58: warning: unused parameter 'page' [-Wunused-parameter]
static inline struct mem_cgroup *page_memcg(struct page *page)
^
include/linux/mm.h:1541:62: warning: unused parameter 'page' [-Wunused-parameter]
static inline struct mem_cgroup *page_memcg_rcu(struct page *page)
^
In file included from drivers/gpu/drm/i915/i915_drv.c:32:
In file included from include/linux/oom.h:11:
In file included from include/linux/mm.h:1551:
include/linux/vmstat.h:392:42: warning: unused parameter 'cpu' [-Wunused-parameter]
static inline void cpu_vm_stats_fold(int cpu) { }
^
include/linux/vmstat.h:395:48: warning: unused parameter 'zone' [-Wunused-parameter]
static inline void drain_zonestat(struct zone *zone,
^
include/linux/vmstat.h:396:28: warning: unused parameter 'pset' [-Wunused-parameter]
struct per_cpu_pageset *pset) { }
^
In file included from drivers/gpu/drm/i915/i915_drv.c:32:
In file included from include/linux/oom.h:11:
include/linux/mm.h:1736:58: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_write_begin(struct vm_area_struct *vma)
^
include/linux/mm.h:1739:65: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_write_begin_nested(struct vm_area_struct *vma,
^
include/linux/mm.h:1740:11: warning: unused parameter 'subclass' [-Wunused-parameter]
int subclass)
^
include/linux/mm.h:1743:56: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_write_end(struct vm_area_struct *vma)
^
include/linux/mm.h:1746:62: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_raw_write_begin(struct vm_area_struct *vma)
^
include/linux/mm.h:1749:60: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_raw_write_end(struct vm_area_struct *vma)
^
include/linux/mm.h:1786:62: warning: unused parameter 'mm' [-Wunused-parameter]
static inline int handle_speculative_fault(struct mm_struct *mm,
^
include/linux/mm.h:1787:23: warning: unused parameter 'address' [-Wunused-parameter]
unsigned long address,
^
>> include/linux/mm.h:1788:22: warning: unused parameter 'flags' [-Wunused-parameter]
unsigned int flags)
^
include/linux/mm.h:2084:50: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void sync_mm_rss(struct mm_struct *mm)
^
include/linux/mm.h:2102:36: warning: unused parameter 'pte' [-Wunused-parameter]
static inline int pte_devmap(pte_t pte)
^
include/linux/mm.h:2121:49: warning: unused parameter 'mm' [-Wunused-parameter]
static inline int __p4d_alloc(struct mm_struct *mm, pgd_t *pgd,
^
include/linux/mm.h:2121:60: warning: unused parameter 'pgd' [-Wunused-parameter]
static inline int __p4d_alloc(struct mm_struct *mm, pgd_t *pgd,
^
include/linux/mm.h:2122:21: warning: unused parameter 'address' [-Wunused-parameter]
unsigned long address)
^
include/linux/mm.h:2131:49: warning: unused parameter 'mm' [-Wunused-parameter]
static inline int __pud_alloc(struct mm_struct *mm, p4d_t *p4d,
^
include/linux/mm.h:2131:60: warning: unused parameter 'p4d' [-Wunused-parameter]
static inline int __pud_alloc(struct mm_struct *mm, p4d_t *p4d,
^
include/linux/mm.h:2132:21: warning: unused parameter 'address' [-Wunused-parameter]
unsigned long address)
^
include/linux/mm.h:2136:53: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void mm_inc_nr_puds(struct mm_struct *mm) {}
^
include/linux/mm.h:2137:53: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void mm_dec_nr_puds(struct mm_struct *mm) {}
^
include/linux/mm.h:2298:68: warning: unused parameter 'pmd' [-Wunused-parameter]
static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd)
^
include/linux/mm.h:2303:45: warning: unused parameter 'page' [-Wunused-parameter]
static inline bool ptlock_init(struct page *page) { return true; }
^
include/linux/mm.h:2304:45: warning: unused parameter 'page' [-Wunused-parameter]
static inline void ptlock_free(struct page *page) {}
^
include/linux/mm.h:2389:68: warning: unused parameter 'pmd' [-Wunused-parameter]
static inline spinlock_t *pmd_lockptr(struct mm_struct *mm, pmd_t *pmd)
^
include/linux/mm.h:2394:49: warning: unused parameter 'page' [-Wunused-parameter]
static inline bool pmd_ptlock_init(struct page *page) { return true; }
^
include/linux/mm.h:2395:49: warning: unused parameter 'page' [-Wunused-parameter]
static inline void pmd_ptlock_free(struct page *page) {}
^
include/linux/mm.h:2430:68: warning: unused parameter 'pud' [-Wunused-parameter]
static inline spinlock_t *pud_lockptr(struct mm_struct *mm, pud_t *pud)
^
include/linux/mm.h:2541:50: warning: unused parameter 'pfn' [-Wunused-parameter]
static inline int early_pfn_to_nid(unsigned long pfn)
^
include/linux/mm.h:3090:69: warning: unused parameter 'mm' [-Wunused-parameter]
static inline struct vm_area_struct *get_gate_vma(struct mm_struct *mm)
^
include/linux/mm.h:3094:52: warning: unused parameter 'addr' [-Wunused-parameter]
static inline int in_gate_area_no_mm(unsigned long addr) { return 0; }
^
include/linux/mm.h:3095:50: warning: unused parameter 'mm' [-Wunused-parameter]
static inline int in_gate_area(struct mm_struct *mm, unsigned long addr)
^
include/linux/mm.h:3095:68: warning: unused parameter 'addr' [-Wunused-parameter]
static inline int in_gate_area(struct mm_struct *mm, unsigned long addr)
^
include/linux/mm.h:3261:47: warning: unused parameter 'page' [-Wunused-parameter]
static inline bool page_is_guard(struct page *page) { return false; }
^
In file included from drivers/gpu/drm/i915/i915_drv.c:34:
In file included from include/linux/pci.h:38:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:5:
include/linux/context_tracking_state.h:51:53: warning: unused parameter 'cpu' [-Wunused-parameter]
static inline bool context_tracking_enabled_cpu(int cpu) { return false; }
^
In file included from drivers/gpu/drm/i915/i915_drv.c:34:
In file included from include/linux/pci.h:38:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:9:
include/linux/vtime.h:54:53: warning: unused parameter 'cpu' [-Wunused-parameter]
static inline bool vtime_accounting_enabled_cpu(int cpu) {return false; }
^
include/linux/vtime.h:56:58: warning: unused parameter 'prev' [-Wunused-parameter]
static inline void vtime_task_switch(struct task_struct *prev) { }
^
include/linux/vtime.h:67:61: warning: unused parameter 'tsk' [-Wunused-parameter]
static inline void vtime_account_kernel(struct task_struct *tsk) { }
^
include/linux/vtime.h:78:57: warning: unused parameter 'tsk' [-Wunused-parameter]
static inline void vtime_user_enter(struct task_struct *tsk) { }
^
include/linux/vtime.h:79:56: warning: unused parameter 'tsk' [-Wunused-parameter]
static inline void vtime_user_exit(struct task_struct *tsk) { }
^
include/linux/vtime.h:80:58: warning: unused parameter 'tsk' [-Wunused-parameter]
static inline void vtime_guest_enter(struct task_struct *tsk) { }
^
--
^
include/linux/mm.h:1161:57: warning: unused parameter 'page' [-Wunused-parameter]
static inline void put_devmap_managed_page(struct page *page)
^
include/linux/mm.h:1401:64: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline int page_cpupid_xchg_last(struct page *page, int cpupid)
^
include/linux/mm.h:1411:37: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline int cpupid_to_nid(int cpupid)
^
include/linux/mm.h:1416:37: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline int cpupid_to_pid(int cpupid)
^
include/linux/mm.h:1421:37: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline int cpupid_to_cpu(int cpupid)
^
include/linux/mm.h:1426:41: warning: unused parameter 'nid' [-Wunused-parameter]
static inline int cpu_pid_to_cpupid(int nid, int pid)
^
include/linux/mm.h:1426:50: warning: unused parameter 'pid' [-Wunused-parameter]
static inline int cpu_pid_to_cpupid(int nid, int pid)
^
include/linux/mm.h:1431:41: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline bool cpupid_pid_unset(int cpupid)
^
include/linux/mm.h:1436:56: warning: unused parameter 'page' [-Wunused-parameter]
static inline void page_cpupid_reset_last(struct page *page)
^
include/linux/mm.h:1440:57: warning: unused parameter 'task' [-Wunused-parameter]
static inline bool cpupid_match_pid(struct task_struct *task, int cpupid)
^
include/linux/mm.h:1440:67: warning: unused parameter 'cpupid' [-Wunused-parameter]
static inline bool cpupid_match_pid(struct task_struct *task, int cpupid)
^
include/linux/mm.h:1471:52: warning: unused parameter 'page' [-Wunused-parameter]
static inline u8 page_kasan_tag(const struct page *page)
^
include/linux/mm.h:1476:52: warning: unused parameter 'page' [-Wunused-parameter]
static inline void page_kasan_tag_set(struct page *page, u8 tag) { }
^
include/linux/mm.h:1476:61: warning: unused parameter 'tag' [-Wunused-parameter]
static inline void page_kasan_tag_set(struct page *page, u8 tag) { }
^
include/linux/mm.h:1477:54: warning: unused parameter 'page' [-Wunused-parameter]
static inline void page_kasan_tag_reset(struct page *page) { }
^
include/linux/mm.h:1486:56: warning: unused parameter 'page' [-Wunused-parameter]
static inline pg_data_t *page_pgdat(const struct page *page)
^
include/linux/mm.h:1517:36: warning: unused parameter 'pfn' [-Wunused-parameter]
unsigned long node, unsigned long pfn)
^
include/linux/mm.h:1537:58: warning: unused parameter 'page' [-Wunused-parameter]
static inline struct mem_cgroup *page_memcg(struct page *page)
^
include/linux/mm.h:1541:62: warning: unused parameter 'page' [-Wunused-parameter]
static inline struct mem_cgroup *page_memcg_rcu(struct page *page)
^
In file included from drivers/gpu/drm/i915/i915_config.c:6:
In file included from drivers/gpu/drm/i915/i915_drv.h:38:
In file included from include/linux/io-mapping.h:33:
In file included from arch/x86/include/asm/iomap.h:10:
In file included from include/linux/mm.h:1551:
include/linux/vmstat.h:392:42: warning: unused parameter 'cpu' [-Wunused-parameter]
static inline void cpu_vm_stats_fold(int cpu) { }
^
include/linux/vmstat.h:395:48: warning: unused parameter 'zone' [-Wunused-parameter]
static inline void drain_zonestat(struct zone *zone,
^
include/linux/vmstat.h:396:28: warning: unused parameter 'pset' [-Wunused-parameter]
struct per_cpu_pageset *pset) { }
^
In file included from drivers/gpu/drm/i915/i915_config.c:6:
In file included from drivers/gpu/drm/i915/i915_drv.h:38:
In file included from include/linux/io-mapping.h:33:
In file included from arch/x86/include/asm/iomap.h:10:
include/linux/mm.h:1736:58: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_write_begin(struct vm_area_struct *vma)
^
include/linux/mm.h:1739:65: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_write_begin_nested(struct vm_area_struct *vma,
^
include/linux/mm.h:1740:11: warning: unused parameter 'subclass' [-Wunused-parameter]
int subclass)
^
include/linux/mm.h:1743:56: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_write_end(struct vm_area_struct *vma)
^
include/linux/mm.h:1746:62: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_raw_write_begin(struct vm_area_struct *vma)
^
include/linux/mm.h:1749:60: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void vm_raw_write_end(struct vm_area_struct *vma)
^
include/linux/mm.h:1786:62: warning: unused parameter 'mm' [-Wunused-parameter]
static inline int handle_speculative_fault(struct mm_struct *mm,
^
include/linux/mm.h:1787:23: warning: unused parameter 'address' [-Wunused-parameter]
unsigned long address,
^
>> include/linux/mm.h:1788:22: warning: unused parameter 'flags' [-Wunused-parameter]
unsigned int flags)
^
include/linux/mm.h:2084:50: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void sync_mm_rss(struct mm_struct *mm)
^
include/linux/mm.h:2102:36: warning: unused parameter 'pte' [-Wunused-parameter]
static inline int pte_devmap(pte_t pte)
^
include/linux/mm.h:2121:49: warning: unused parameter 'mm' [-Wunused-parameter]
static inline int __p4d_alloc(struct mm_struct *mm, pgd_t *pgd,
^
include/linux/mm.h:2121:60: warning: unused parameter 'pgd' [-Wunused-parameter]
static inline int __p4d_alloc(struct mm_struct *mm, pgd_t *pgd,
^
include/linux/mm.h:2122:21: warning: unused parameter 'address' [-Wunused-parameter]
unsigned long address)
^
include/linux/mm.h:2131:49: warning: unused parameter 'mm' [-Wunused-parameter]
static inline int __pud_alloc(struct mm_struct *mm, p4d_t *p4d,
^
include/linux/mm.h:2131:60: warning: unused parameter 'p4d' [-Wunused-parameter]
static inline int __pud_alloc(struct mm_struct *mm, p4d_t *p4d,
^
include/linux/mm.h:2132:21: warning: unused parameter 'address' [-Wunused-parameter]
unsigned long address)
^
include/linux/mm.h:2136:53: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void mm_inc_nr_puds(struct mm_struct *mm) {}
^
include/linux/mm.h:2137:53: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void mm_dec_nr_puds(struct mm_struct *mm) {}
^
include/linux/mm.h:2298:68: warning: unused parameter 'pmd' [-Wunused-parameter]
static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd)
^
include/linux/mm.h:2303:45: warning: unused parameter 'page' [-Wunused-parameter]
static inline bool ptlock_init(struct page *page) { return true; }
^
include/linux/mm.h:2304:45: warning: unused parameter 'page' [-Wunused-parameter]
static inline void ptlock_free(struct page *page) {}
^
include/linux/mm.h:2389:68: warning: unused parameter 'pmd' [-Wunused-parameter]
static inline spinlock_t *pmd_lockptr(struct mm_struct *mm, pmd_t *pmd)
^
include/linux/mm.h:2394:49: warning: unused parameter 'page' [-Wunused-parameter]
static inline bool pmd_ptlock_init(struct page *page) { return true; }
^
include/linux/mm.h:2395:49: warning: unused parameter 'page' [-Wunused-parameter]
static inline void pmd_ptlock_free(struct page *page) {}
^
include/linux/mm.h:2430:68: warning: unused parameter 'pud' [-Wunused-parameter]
static inline spinlock_t *pud_lockptr(struct mm_struct *mm, pud_t *pud)
^
include/linux/mm.h:2541:50: warning: unused parameter 'pfn' [-Wunused-parameter]
static inline int early_pfn_to_nid(unsigned long pfn)
^
include/linux/mm.h:3090:69: warning: unused parameter 'mm' [-Wunused-parameter]
static inline struct vm_area_struct *get_gate_vma(struct mm_struct *mm)
^
include/linux/mm.h:3094:52: warning: unused parameter 'addr' [-Wunused-parameter]
static inline int in_gate_area_no_mm(unsigned long addr) { return 0; }
^
include/linux/mm.h:3095:50: warning: unused parameter 'mm' [-Wunused-parameter]
static inline int in_gate_area(struct mm_struct *mm, unsigned long addr)
^
include/linux/mm.h:3095:68: warning: unused parameter 'addr' [-Wunused-parameter]
static inline int in_gate_area(struct mm_struct *mm, unsigned long addr)
^
include/linux/mm.h:3261:47: warning: unused parameter 'page' [-Wunused-parameter]
static inline bool page_is_guard(struct page *page) { return false; }
^
In file included from drivers/gpu/drm/i915/i915_config.c:6:
In file included from drivers/gpu/drm/i915/i915_drv.h:38:
In file included from include/linux/io-mapping.h:33:
In file included from arch/x86/include/asm/iomap.h:12:
In file included from arch/x86/include/asm/cacheflush.h:8:
include/asm-generic/cacheflush.h:21:53: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void flush_cache_mm(struct mm_struct *mm)
^
include/asm-generic/cacheflush.h:27:57: warning: unused parameter 'mm' [-Wunused-parameter]
static inline void flush_cache_dup_mm(struct mm_struct *mm)
^
include/asm-generic/cacheflush.h:33:61: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void flush_cache_range(struct vm_area_struct *vma,
^
include/asm-generic/cacheflush.h:34:24: warning: unused parameter 'start' [-Wunused-parameter]
unsigned long start,
^
include/asm-generic/cacheflush.h:35:24: warning: unused parameter 'end' [-Wunused-parameter]
unsigned long end)
^
include/asm-generic/cacheflush.h:41:60: warning: unused parameter 'vma' [-Wunused-parameter]
static inline void flush_cache_page(struct vm_area_struct *vma,
^
include/asm-generic/cacheflush.h:42:23: warning: unused parameter 'vmaddr' [-Wunused-parameter]
unsigned long vmaddr,
^
include/asm-generic/cacheflush.h:43:23: warning: unused parameter 'pfn' [-Wunused-parameter]
unsigned long pfn)
^
..
vim +/flags +1788 include/linux/mm.h
1698
1699 void free_pgd_range(struct mmu_gather *tlb, unsigned long addr,
1700 unsigned long end, unsigned long floor, unsigned long ceiling);
1701 int
1702 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma);
1703 int follow_pte_pmd(struct mm_struct *mm, unsigned long address,
1704 struct mmu_notifier_range *range,
1705 pte_t **ptepp, pmd_t **pmdpp, spinlock_t **ptlp);
1706 int follow_pfn(struct vm_area_struct *vma, unsigned long address,
1707 unsigned long *pfn);
1708 int follow_phys(struct vm_area_struct *vma, unsigned long address,
1709 unsigned int flags, unsigned long *prot, resource_size_t *phys);
1710 int generic_access_phys(struct vm_area_struct *vma, unsigned long addr,
1711 void *buf, int len, int write);
1712
1713 #ifdef CONFIG_SPECULATIVE_PAGE_FAULT
1714 static inline void vm_write_begin(struct vm_area_struct *vma)
1715 {
1716 write_seqcount_begin(&vma->vm_sequence);
1717 }
1718 static inline void vm_write_begin_nested(struct vm_area_struct *vma,
1719 int subclass)
1720 {
1721 write_seqcount_begin_nested(&vma->vm_sequence, subclass);
1722 }
1723 static inline void vm_write_end(struct vm_area_struct *vma)
1724 {
1725 write_seqcount_end(&vma->vm_sequence);
1726 }
1727 static inline void vm_raw_write_begin(struct vm_area_struct *vma)
1728 {
1729 raw_write_seqcount_begin(&vma->vm_sequence);
1730 }
1731 static inline void vm_raw_write_end(struct vm_area_struct *vma)
1732 {
1733 raw_write_seqcount_end(&vma->vm_sequence);
1734 }
1735 #else
1736 static inline void vm_write_begin(struct vm_area_struct *vma)
1737 {
1738 }
1739 static inline void vm_write_begin_nested(struct vm_area_struct *vma,
1740 int subclass)
1741 {
1742 }
1743 static inline void vm_write_end(struct vm_area_struct *vma)
1744 {
1745 }
1746 static inline void vm_raw_write_begin(struct vm_area_struct *vma)
1747 {
1748 }
> 1749 static inline void vm_raw_write_end(struct vm_area_struct *vma)
1750 {
1751 }
1752 #endif /* CONFIG_SPECULATIVE_PAGE_FAULT */
1753
1754 extern void truncate_pagecache(struct inode *inode, loff_t new);
1755 extern void truncate_setsize(struct inode *inode, loff_t newsize);
1756 void pagecache_isize_extended(struct inode *inode, loff_t from, loff_t to);
1757 void truncate_pagecache_range(struct inode *inode, loff_t offset, loff_t end);
1758 int truncate_inode_page(struct address_space *mapping, struct page *page);
1759 int generic_error_remove_page(struct address_space *mapping, struct page *page);
1760 int invalidate_inode_page(struct page *page);
1761
1762 #ifdef CONFIG_MMU
1763 extern vm_fault_t handle_mm_fault(struct vm_area_struct *vma,
1764 unsigned long address, unsigned int flags,
1765 struct pt_regs *regs);
1766 extern int fixup_user_fault(struct mm_struct *mm,
1767 unsigned long address, unsigned int fault_flags,
1768 bool *unlocked);
1769
1770 #ifdef CONFIG_SPECULATIVE_PAGE_FAULT
1771 extern int __handle_speculative_fault(struct mm_struct *mm,
1772 unsigned long address,
1773 unsigned int flags);
1774 static inline int handle_speculative_fault(struct mm_struct *mm,
1775 unsigned long address,
1776 unsigned int flags)
1777 {
1778 /*
1779 * Try speculative page fault for multithreaded user space task only.
1780 */
1781 if (!(flags & FAULT_FLAG_USER) || atomic_read(&mm->mm_users) == 1)
1782 return VM_FAULT_RETRY;
1783 return __handle_speculative_fault(mm, address, flags);
1784 }
1785 #else
1786 static inline int handle_speculative_fault(struct mm_struct *mm,
1787 unsigned long address,
> 1788 unsigned int flags)
1789 {
1790 return VM_FAULT_RETRY;
1791 }
1792 #endif /* CONFIG_SPECULATIVE_PAGE_FAULT */
1793
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[dhowells-fs:netfs-folio-regions 12/28] fs/afs/internal.h:671:32: error: 'struct netfs_i_context' has no member named 'cache'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git netfs-folio-regions
head: 215a4ee495a95cc73256ed76f91cb78bcabd6b8e
commit: 9a65a2d5943a07874ad5431d9bf677b5bdc7b682 [12/28] netfs: Add a netfs inode context
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 11.2.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/dhowells/linux-fs.git/com...
git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs netfs-folio-regions
git checkout 9a65a2d5943a07874ad5431d9bf677b5bdc7b682
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash fs/afs/ fs/netfs/
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 >>):
In file included from fs/afs/cache.c:9:
fs/afs/internal.h: In function 'afs_vnode_cache':
>> fs/afs/internal.h:671:32: error: 'struct netfs_i_context' has no member named 'cache'
671 | return vnode->netfs_ctx.cache;
| ^
fs/afs/internal.h: In function 'afs_vnode_set_cache':
fs/afs/internal.h:681:25: error: 'struct netfs_i_context' has no member named 'cache'
681 | vnode->netfs_ctx.cache = cookie;
| ^
--
In file included from fs/afs/file.c:18:
fs/afs/internal.h: In function 'afs_vnode_cache':
>> fs/afs/internal.h:671:32: error: 'struct netfs_i_context' has no member named 'cache'
671 | return vnode->netfs_ctx.cache;
| ^
fs/afs/internal.h: In function 'afs_vnode_set_cache':
fs/afs/internal.h:681:25: error: 'struct netfs_i_context' has no member named 'cache'
681 | vnode->netfs_ctx.cache = cookie;
| ^
fs/afs/internal.h: In function 'afs_vnode_cache':
fs/afs/internal.h:675:1: error: control reaches end of non-void function [-Werror=return-type]
675 | }
| ^
cc1: some warnings being treated as errors
--
In file included from fs/afs/inode.c:25:
fs/afs/internal.h: In function 'afs_vnode_cache':
>> fs/afs/internal.h:671:32: error: 'struct netfs_i_context' has no member named 'cache'
671 | return vnode->netfs_ctx.cache;
| ^
fs/afs/internal.h: In function 'afs_vnode_set_cache':
fs/afs/internal.h:681:25: error: 'struct netfs_i_context' has no member named 'cache'
681 | vnode->netfs_ctx.cache = cookie;
| ^
fs/afs/inode.c: In function 'afs_get_inode_cache':
>> fs/afs/inode.c:433:33: error: 'struct netfs_i_context' has no member named 'cache'
433 | vnode->netfs_ctx.cache = NULL;
| ^
In file included from fs/afs/inode.c:25:
fs/afs/internal.h: In function 'afs_vnode_cache':
fs/afs/internal.h:675:1: error: control reaches end of non-void function [-Werror=return-type]
675 | }
| ^
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
vim +671 fs/afs/internal.h
667
668 static inline struct fscache_cookie *afs_vnode_cache(struct afs_vnode *vnode)
669 {
670 #ifdef CONFIG_AFS_FSCACHE
> 671 return vnode->netfs_ctx.cache;
672 #else
673 return NULL;
674 #endif
675 }
676
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[dhowells-fs:netfs-folio-regions 12/28] fs/ceph/addr.c:311:35: warning: initialized field overwritten
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git netfs-folio-regions
head: 215a4ee495a95cc73256ed76f91cb78bcabd6b8e
commit: 9a65a2d5943a07874ad5431d9bf677b5bdc7b682 [12/28] netfs: Add a netfs inode context
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.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/dhowells/linux-fs.git/com...
git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs netfs-folio-regions
git checkout 9a65a2d5943a07874ad5431d9bf677b5bdc7b682
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=xtensa
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 >>):
fs/ceph/addr.c:310:10: error: 'const struct netfs_request_ops' has no member named 'is_cache_enabled'
310 | .is_cache_enabled = ceph_is_cache_enabled,
| ^~~~~~~~~~~~~~~~
fs/ceph/addr.c:310:35: error: initialization of 'int (*)(struct netfs_read_request *)' from incompatible pointer type 'bool (*)(struct inode *)' {aka '_Bool (*)(struct inode *)'} [-Werror=incompatible-pointer-types]
310 | .is_cache_enabled = ceph_is_cache_enabled,
| ^~~~~~~~~~~~~~~~~~~~~
fs/ceph/addr.c:310:35: note: (near initialization for 'ceph_netfs_read_ops.begin_cache_operation')
>> fs/ceph/addr.c:311:35: warning: initialized field overwritten [-Woverride-init]
311 | .begin_cache_operation = ceph_begin_cache_operation,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/ceph/addr.c:311:35: note: (near initialization for 'ceph_netfs_read_ops.begin_cache_operation')
fs/ceph/addr.c: In function 'ceph_readpage':
fs/ceph/addr.c:347:37: error: passing argument 2 of 'netfs_readpage' from incompatible pointer type [-Werror=incompatible-pointer-types]
347 | return netfs_readpage(file, folio, &ceph_netfs_read_ops, NULL);
| ^~~~~
| |
| struct folio *
In file included from fs/ceph/addr.c:15:
include/linux/netfs.h:254:42: note: expected 'struct page *' but argument is of type 'struct folio *'
254 | extern int netfs_readpage(struct file *, struct page *);
| ^~~~~~~~~~~~~
fs/ceph/addr.c:347:16: error: too many arguments to function 'netfs_readpage'
347 | return netfs_readpage(file, folio, &ceph_netfs_read_ops, NULL);
| ^~~~~~~~~~~~~~
In file included from fs/ceph/addr.c:15:
include/linux/netfs.h:254:12: note: declared here
254 | extern int netfs_readpage(struct file *, struct page *);
| ^~~~~~~~~~~~~~
fs/ceph/addr.c: In function 'ceph_readahead':
fs/ceph/addr.c:378:9: error: too many arguments to function 'netfs_readahead'
378 | netfs_readahead(ractl, &ceph_netfs_read_ops, (void *)(uintptr_t)got);
| ^~~~~~~~~~~~~~~
In file included from fs/ceph/addr.c:15:
include/linux/netfs.h:253:13: note: declared here
253 | extern void netfs_readahead(struct readahead_control *);
| ^~~~~~~~~~~~~~~
fs/ceph/addr.c: In function 'ceph_write_begin':
fs/ceph/addr.c:1260:13: error: too many arguments to function 'netfs_write_begin'
1260 | r = netfs_write_begin(file, inode->i_mapping, pos, len, 0, &folio, NULL,
| ^~~~~~~~~~~~~~~~~
In file included from fs/ceph/addr.c:15:
include/linux/netfs.h:255:12: note: declared here
255 | extern int netfs_write_begin(struct file *, struct address_space *,
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +311 fs/ceph/addr.c
49870056005ca9 Jeff Layton 2020-07-09 307
9a65a2d5943a07 David Howells 2021-06-29 308 static const struct netfs_request_ops ceph_netfs_read_ops = {
f0702876e152f0 Jeff Layton 2020-06-01 309 .init_rreq = ceph_init_rreq,
f0702876e152f0 Jeff Layton 2020-06-01 310 .is_cache_enabled = ceph_is_cache_enabled,
f0702876e152f0 Jeff Layton 2020-06-01 @311 .begin_cache_operation = ceph_begin_cache_operation,
f0702876e152f0 Jeff Layton 2020-06-01 312 .issue_op = ceph_netfs_issue_op,
f0702876e152f0 Jeff Layton 2020-06-01 313 .expand_readahead = ceph_netfs_expand_readahead,
f0702876e152f0 Jeff Layton 2020-06-01 314 .clamp_length = ceph_netfs_clamp_length,
d801327d9500c7 Jeff Layton 2020-06-05 315 .check_write_begin = ceph_netfs_check_write_begin,
49870056005ca9 Jeff Layton 2020-07-09 316 .cleanup = ceph_readahead_cleanup,
f0702876e152f0 Jeff Layton 2020-06-01 317 };
f0702876e152f0 Jeff Layton 2020-06-01 318
:::::: The code at line 311 was first introduced by commit
:::::: f0702876e152f0443911514aec8b2bf563a2432b ceph: convert ceph_readpage to netfs_readpage
:::::: TO: Jeff Layton <jlayton(a)kernel.org>
:::::: CC: Ilya Dryomov <idryomov(a)gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [PATCH v6 5/5] media: platform: mtk-mdp3: Add Mediatek MDP3 driver
by kernel test robot
Hi Moudy,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on robh/for-next linus/master mediatek/for-next v5.14-rc6 next-20210819]
[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/Moudy-Ho/media-mediatek-support-...
base: git://linuxtv.org/media_tree.git master
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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/6e61c65aed8f518d32d648e1cbda294c1...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Moudy-Ho/media-mediatek-support-mdp3-on-mt8183-platform/20210819-151256
git checkout 6e61c65aed8f518d32d648e1cbda294c13be2a20
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
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/media/platform/mtk-mdp3/mtk-mdp3-regs.c:171:35: error: 'V4L2_PIX_FMT_MM21' undeclared here (not in a function); did you mean 'V4L2_PIX_FMT_MT21C'?
171 | .pixelformat = V4L2_PIX_FMT_MM21,
| ^~~~~~~~~~~~~~~~~
| V4L2_PIX_FMT_MT21C
--
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c: In function 'mdp_path_config_subfrm':
>> drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:26:48: error: expected identifier before '(' token
26 | ((ctx)->comp->ops && (ctx)->comp->ops->(op))
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:10: note: in expansion of macro 'has_op'
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:255:23: note: in expansion of macro 'call_op'
255 | ret = call_op(ctx, config_subfrm, cmd, count);
| ^~~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:46: error: expected identifier before '(' token
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:255:23: note: in expansion of macro 'call_op'
255 | ret = call_op(ctx, config_subfrm, cmd, count);
| ^~~~~~~
>> drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:26:48: error: expected identifier before '(' token
26 | ((ctx)->comp->ops && (ctx)->comp->ops->(op))
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:10: note: in expansion of macro 'has_op'
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:268:23: note: in expansion of macro 'call_op'
268 | ret = call_op(ctx, wait_comp_event, cmd);
| ^~~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:46: error: expected identifier before '(' token
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:268:23: note: in expansion of macro 'call_op'
268 | ret = call_op(ctx, wait_comp_event, cmd);
| ^~~~~~~
>> drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:26:48: error: expected identifier before '(' token
26 | ((ctx)->comp->ops && (ctx)->comp->ops->(op))
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:10: note: in expansion of macro 'has_op'
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:275:23: note: in expansion of macro 'call_op'
275 | ret = call_op(ctx, advance_subfrm, cmd, count);
| ^~~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:46: error: expected identifier before '(' token
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:275:23: note: in expansion of macro 'call_op'
275 | ret = call_op(ctx, advance_subfrm, cmd, count);
| ^~~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c: In function 'mdp_path_config':
>> drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:26:48: error: expected identifier before '(' token
26 | ((ctx)->comp->ops && (ctx)->comp->ops->(op))
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:10: note: in expansion of macro 'has_op'
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:298:23: note: in expansion of macro 'call_op'
298 | ret = call_op(ctx, init_comp, cmd);
| ^~~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:46: error: expected identifier before '(' token
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:298:23: note: in expansion of macro 'call_op'
298 | ret = call_op(ctx, init_comp, cmd);
| ^~~~~~~
>> drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:26:48: error: expected identifier before '(' token
26 | ((ctx)->comp->ops && (ctx)->comp->ops->(op))
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:10: note: in expansion of macro 'has_op'
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:308:23: note: in expansion of macro 'call_op'
308 | ret = call_op(ctx, config_frame, cmd, compose);
| ^~~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:46: error: expected identifier before '(' token
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:308:23: note: in expansion of macro 'call_op'
308 | ret = call_op(ctx, config_frame, cmd, compose);
| ^~~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:304:41: warning: unused variable 'compose' [-Wunused-variable]
304 | const struct v4l2_rect *compose =
| ^~~~~~~
>> drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:26:48: error: expected identifier before '(' token
26 | ((ctx)->comp->ops && (ctx)->comp->ops->(op))
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:10: note: in expansion of macro 'has_op'
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:322:23: note: in expansion of macro 'call_op'
322 | ret = call_op(ctx, post_process, cmd);
| ^~~~~~~
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:28:46: error: expected identifier before '(' token
28 | (has_op(ctx, op) ? (ctx)->comp->ops->(op)(ctx, ##__VA_ARGS__) : 0)
| ^
drivers/media/platform/mtk-mdp3/mtk-mdp3-cmdq.c:322:23: note: in expansion of macro 'call_op'
322 | ret = call_op(ctx, post_process, cmd);
| ^~~~~~~
vim +171 drivers/media/platform/mtk-mdp3/mtk-mdp3-regs.c
12
13 static const struct mdp_format mdp_formats[] = {
14 {
15 .pixelformat = V4L2_PIX_FMT_GREY,
16 .mdp_color = MDP_COLOR_GREY,
17 .depth = { 8 },
18 .row_depth = { 8 },
19 .num_planes = 1,
20 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
21 }, {
22 .pixelformat = V4L2_PIX_FMT_RGB565X,
23 .mdp_color = MDP_COLOR_RGB565,
24 .depth = { 16 },
25 .row_depth = { 16 },
26 .num_planes = 1,
27 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
28 }, {
29 .pixelformat = V4L2_PIX_FMT_RGB565,
30 .mdp_color = MDP_COLOR_BGR565,
31 .depth = { 16 },
32 .row_depth = { 16 },
33 .num_planes = 1,
34 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
35 }, {
36 .pixelformat = V4L2_PIX_FMT_RGB24,
37 .mdp_color = MDP_COLOR_RGB888,
38 .depth = { 24 },
39 .row_depth = { 24 },
40 .num_planes = 1,
41 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
42 }, {
43 .pixelformat = V4L2_PIX_FMT_BGR24,
44 .mdp_color = MDP_COLOR_BGR888,
45 .depth = { 24 },
46 .row_depth = { 24 },
47 .num_planes = 1,
48 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
49 }, {
50 .pixelformat = V4L2_PIX_FMT_ABGR32,
51 .mdp_color = MDP_COLOR_BGRA8888,
52 .depth = { 32 },
53 .row_depth = { 32 },
54 .num_planes = 1,
55 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
56 }, {
57 .pixelformat = V4L2_PIX_FMT_ARGB32,
58 .mdp_color = MDP_COLOR_ARGB8888,
59 .depth = { 32 },
60 .row_depth = { 32 },
61 .num_planes = 1,
62 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
63 }, {
64 .pixelformat = V4L2_PIX_FMT_UYVY,
65 .mdp_color = MDP_COLOR_UYVY,
66 .depth = { 16 },
67 .row_depth = { 16 },
68 .num_planes = 1,
69 .walign = 1,
70 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
71 }, {
72 .pixelformat = V4L2_PIX_FMT_VYUY,
73 .mdp_color = MDP_COLOR_VYUY,
74 .depth = { 16 },
75 .row_depth = { 16 },
76 .num_planes = 1,
77 .walign = 1,
78 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
79 }, {
80 .pixelformat = V4L2_PIX_FMT_YUYV,
81 .mdp_color = MDP_COLOR_YUYV,
82 .depth = { 16 },
83 .row_depth = { 16 },
84 .num_planes = 1,
85 .walign = 1,
86 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
87 }, {
88 .pixelformat = V4L2_PIX_FMT_YVYU,
89 .mdp_color = MDP_COLOR_YVYU,
90 .depth = { 16 },
91 .row_depth = { 16 },
92 .num_planes = 1,
93 .walign = 1,
94 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
95 }, {
96 .pixelformat = V4L2_PIX_FMT_YUV420,
97 .mdp_color = MDP_COLOR_I420,
98 .depth = { 12 },
99 .row_depth = { 8 },
100 .num_planes = 1,
101 .walign = 1,
102 .halign = 1,
103 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
104 }, {
105 .pixelformat = V4L2_PIX_FMT_YVU420,
106 .mdp_color = MDP_COLOR_YV12,
107 .depth = { 12 },
108 .row_depth = { 8 },
109 .num_planes = 1,
110 .walign = 1,
111 .halign = 1,
112 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
113 }, {
114 .pixelformat = V4L2_PIX_FMT_NV12,
115 .mdp_color = MDP_COLOR_NV12,
116 .depth = { 12 },
117 .row_depth = { 8 },
118 .num_planes = 1,
119 .walign = 1,
120 .halign = 1,
121 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
122 }, {
123 .pixelformat = V4L2_PIX_FMT_NV21,
124 .mdp_color = MDP_COLOR_NV21,
125 .depth = { 12 },
126 .row_depth = { 8 },
127 .num_planes = 1,
128 .walign = 1,
129 .halign = 1,
130 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
131 }, {
132 .pixelformat = V4L2_PIX_FMT_NV16,
133 .mdp_color = MDP_COLOR_NV16,
134 .depth = { 16 },
135 .row_depth = { 8 },
136 .num_planes = 1,
137 .walign = 1,
138 .flags = MDP_FMT_FLAG_OUTPUT,
139 }, {
140 .pixelformat = V4L2_PIX_FMT_NV61,
141 .mdp_color = MDP_COLOR_NV61,
142 .depth = { 16 },
143 .row_depth = { 8 },
144 .num_planes = 1,
145 .walign = 1,
146 .flags = MDP_FMT_FLAG_OUTPUT,
147 }, {
148 .pixelformat = V4L2_PIX_FMT_NV24,
149 .mdp_color = MDP_COLOR_NV24,
150 .depth = { 24 },
151 .row_depth = { 8 },
152 .num_planes = 1,
153 .flags = MDP_FMT_FLAG_OUTPUT,
154 }, {
155 .pixelformat = V4L2_PIX_FMT_NV42,
156 .mdp_color = MDP_COLOR_NV42,
157 .depth = { 24 },
158 .row_depth = { 8 },
159 .num_planes = 1,
160 .flags = MDP_FMT_FLAG_OUTPUT,
161 }, {
162 .pixelformat = V4L2_PIX_FMT_MT21C,
163 .mdp_color = MDP_COLOR_420_BLK_UFO,
164 .depth = { 8, 4 },
165 .row_depth = { 8, 8 },
166 .num_planes = 2,
167 .walign = 4,
168 .halign = 5,
169 .flags = MDP_FMT_FLAG_OUTPUT,
170 }, {
> 171 .pixelformat = V4L2_PIX_FMT_MM21,
172 .mdp_color = MDP_COLOR_420_BLK,
173 .depth = { 8, 4 },
174 .row_depth = { 8, 8 },
175 .num_planes = 2,
176 .walign = 4,
177 .halign = 5,
178 .flags = MDP_FMT_FLAG_OUTPUT,
179 }, {
180 .pixelformat = V4L2_PIX_FMT_NV12M,
181 .mdp_color = MDP_COLOR_NV12,
182 .depth = { 8, 4 },
183 .row_depth = { 8, 8 },
184 .num_planes = 2,
185 .walign = 1,
186 .halign = 1,
187 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
188 }, {
189 .pixelformat = V4L2_PIX_FMT_NV21M,
190 .mdp_color = MDP_COLOR_NV21,
191 .depth = { 8, 4 },
192 .row_depth = { 8, 8 },
193 .num_planes = 2,
194 .walign = 1,
195 .halign = 1,
196 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
197 }, {
198 .pixelformat = V4L2_PIX_FMT_NV16M,
199 .mdp_color = MDP_COLOR_NV16,
200 .depth = { 8, 8 },
201 .row_depth = { 8, 8 },
202 .num_planes = 2,
203 .walign = 1,
204 .flags = MDP_FMT_FLAG_OUTPUT,
205 }, {
206 .pixelformat = V4L2_PIX_FMT_NV61M,
207 .mdp_color = MDP_COLOR_NV61,
208 .depth = { 8, 8 },
209 .row_depth = { 8, 8 },
210 .num_planes = 2,
211 .walign = 1,
212 .flags = MDP_FMT_FLAG_OUTPUT,
213 }, {
214 .pixelformat = V4L2_PIX_FMT_YUV420M,
215 .mdp_color = MDP_COLOR_I420,
216 .depth = { 8, 2, 2 },
217 .row_depth = { 8, 4, 4 },
218 .num_planes = 3,
219 .walign = 1,
220 .halign = 1,
221 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
222 }, {
223 .pixelformat = V4L2_PIX_FMT_YVU420M,
224 .mdp_color = MDP_COLOR_YV12,
225 .depth = { 8, 2, 2 },
226 .row_depth = { 8, 4, 4 },
227 .num_planes = 3,
228 .walign = 1,
229 .halign = 1,
230 .flags = MDP_FMT_FLAG_OUTPUT | MDP_FMT_FLAG_CAPTURE,
231 }
232 };
233
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[linux-platform-drivers-x86:review-hans 60/78] drivers/platform/x86/intel/scu/ipc.c:478: warning: expecting prototype for intel_scu_ipc_command_with_size(). Prototype was for intel_scu_ipc_dev_command_with_size() instead
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x8... review-hans
head: b1341d3e93b26a85bb765f7eddd717d409bc1ef8
commit: 05c8d91f374b5dceeb322221eca48077005b1686 [60/78] platform/x86: intel_scu: Move to intel sub-directory
config: i386-randconfig-a016-20210818 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d2b574a4dea5b718e4386bf2e26af0126e5978ce)
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/pdx86/platform-drivers-x8...
git remote add linux-platform-drivers-x86 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x8...
git fetch --no-tags linux-platform-drivers-x86 review-hans
git checkout 05c8d91f374b5dceeb322221eca48077005b1686
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=i386 SHELL=/bin/bash drivers/platform/x86/intel/scu/
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/scu/ipc.c:478: warning: expecting prototype for intel_scu_ipc_command_with_size(). Prototype was for intel_scu_ipc_dev_command_with_size() instead
vim +478 drivers/platform/x86/intel/scu/ipc.c
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 458
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 459 /**
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 460 * intel_scu_ipc_command_with_size() - Command with data
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 461 * @scu: Optional SCU IPC instance
8b236565600833 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-01-22 462 * @cmd: Command
8b236565600833 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-01-22 463 * @sub: Sub type
8b236565600833 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-01-22 464 * @in: Input data
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 465 * @inlen: Input length in bytes
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 466 * @size: Input size written to the IPC command register in whatever
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 467 * units (dword, byte) the particular firmware requires. Normally
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 468 * should be the same as @inlen.
8b236565600833 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-01-22 469 * @out: Output data
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 470 * @outlen: Output length in bytes
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 471 *
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 472 * Issue a command to the SCU which involves data transfers. Do the
8b236565600833 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-01-22 473 * data copies under the lock but leave it for the caller to interpret.
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 474 */
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 475 int intel_scu_ipc_dev_command_with_size(struct intel_scu_ipc_dev *scu, int cmd,
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 476 int sub, const void *in, size_t inlen,
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 477 size_t size, void *out, size_t outlen)
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 @478 {
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 479 size_t outbuflen = DIV_ROUND_UP(outlen, sizeof(u32));
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 480 size_t inbuflen = DIV_ROUND_UP(inlen, sizeof(u32));
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 481 u32 cmdval, inbuf[4] = {};
ecb5646cb098d9 drivers/platform/x86/intel_scu_ipc.c Axel Lin 2011-01-25 482 int i, err;
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 483
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 484 if (inbuflen > 4 || outbuflen > 4)
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 485 return -EINVAL;
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 486
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 487 mutex_lock(&ipclock);
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 488 if (!scu)
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 489 scu = ipcdev;
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 490 if (!scu) {
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 491 mutex_unlock(&ipclock);
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 492 return -ENODEV;
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 493 }
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 494
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 495 memcpy(inbuf, in, inlen);
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 496 for (i = 0; i < inbuflen; i++)
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 497 ipc_data_writel(scu, inbuf[i], 4 * i);
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 498
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 499 cmdval = (size << 16) | (sub << 12) | cmd;
ea608f25fa09b5 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 500 ipc_command(scu, cmdval);
b0b3f578a1c363 drivers/platform/x86/intel_scu_ipc.c Andy Shevchenko 2015-10-12 501 err = intel_scu_ipc_check_status(scu);
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 502
c7094d1d994c23 drivers/platform/x86/intel_scu_ipc.c Kuppuswamy Sathyanarayanan 2013-11-14 503 if (!err) {
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 504 u32 outbuf[4] = {};
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 505
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 506 for (i = 0; i < outbuflen; i++)
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 507 outbuf[i] = ipc_data_readl(scu, 4 * i);
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 508
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 509 memcpy(out, outbuf, outlen);
c7094d1d994c23 drivers/platform/x86/intel_scu_ipc.c Kuppuswamy Sathyanarayanan 2013-11-14 510 }
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 511
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 512 mutex_unlock(&ipclock);
ea608f25fa09b5 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 513 if (err)
ea608f25fa09b5 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 514 dev_err(&scu->dev, "IPC command %#x failed with %d\n", cmdval, err);
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 515 return err;
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 516 }
f57fa18583f538 drivers/platform/x86/intel_scu_ipc.c Mika Westerberg 2020-04-16 517 EXPORT_SYMBOL(intel_scu_ipc_dev_command_with_size);
9a58a3333923c7 drivers/platform/x86/intel_scu_ipc.c Sreedhara DS 2010-04-26 518
:::::: The code at line 478 was first introduced by commit
:::::: 9a58a3333923c7fef4ba6ac9afd817429e63a1fe IPC driver for Intel Mobile Internet Device (MID) platforms
:::::: TO: Sreedhara DS <sreedhara.ds(a)intel.com>
:::::: CC: Matthew Garrett <mjg(a)redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [PATCH v6 1/5] soc: mediatek: mmsys: Add support for MDP
by kernel test robot
Hi Moudy,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on robh/for-next linus/master v5.14-rc6 next-20210819]
[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/Moudy-Ho/media-mediatek-support-...
base: git://linuxtv.org/media_tree.git master
config: hexagon-randconfig-r045-20210819 (attached as .config)
compiler: clang version 12.0.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/ffae2ca50c715cb1ded96d9374a828831...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Moudy-Ho/media-mediatek-support-mdp3-on-mt8183-platform/20210819-151256
git checkout ffae2ca50c715cb1ded96d9374a82883190f548d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=hexagon SHELL=/bin/bash
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 >>):
>> ld.lld: error: undefined symbol: cmdq_pkt_write_mask
>>> referenced by mtk-mmsys.c
>>> soc/mediatek/mtk-mmsys.o:(mtk_mmsys_mdp_connect) in archive drivers/built-in.a
>>> referenced by mtk-mmsys.c
>>> soc/mediatek/mtk-mmsys.o:(mtk_mmsys_mdp_connect) in archive drivers/built-in.a
>>> referenced by mtk-mmsys.c
>>> soc/mediatek/mtk-mmsys.o:(mtk_mmsys_mdp_disconnect) in archive drivers/built-in.a
>>> referenced 25 more times
--
>> ld.lld: error: undefined symbol: cmdq_dev_get_client_reg
>>> referenced by mtk-mmsys.c
>>> soc/mediatek/mtk-mmsys.o:(mtk_mmsys_probe) in archive drivers/built-in.a
>>> referenced by mtk-mmsys.c
>>> soc/mediatek/mtk-mmsys.o:(mtk_mmsys_probe) in archive drivers/built-in.a
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [PATCH v2] staging: r8188eu: Remove _enter/_exit_critical_mutex()
by kernel test robot
Hi "Fabio,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on staging/staging-testing]
url: https://github.com/0day-ci/linux/commits/Fabio-M-De-Francesco/staging-r81...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 093991aaadf0fbb34184fa37a46e7a157da3f386
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.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/be2317351161f572a68f71544046d8491...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Fabio-M-De-Francesco/staging-r8188eu-Remove-_enter-_exit_critical_mutex/20210819-205259
git checkout be2317351161f572a68f71544046d8491856818f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k
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/staging/r8188eu/core/rtw_mlme_ext.c: In function 'dump_mgntframe_and_wait_ack':
>> drivers/staging/r8188eu/core/rtw_mlme_ext.c:4363:17: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
4363 | ; /*ignore return value */
| ^
--
drivers/staging/r8188eu/hal/usb_ops_linux.c: In function 'usbctrl_vendorreq':
>> drivers/staging/r8188eu/hal/usb_ops_linux.c:36:17: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
36 | ; /* ignore return value */
| ^
--
drivers/staging/r8188eu/os_dep/os_intfs.c: In function 'netdev_open':
>> drivers/staging/r8188eu/os_dep/os_intfs.c:1069:17: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
1069 | ; /* ignore return value */
| ^
vim +/if +4363 drivers/staging/r8188eu/core/rtw_mlme_ext.c
4352
4353 s32 dump_mgntframe_and_wait_ack(struct adapter *padapter, struct xmit_frame *pmgntframe)
4354 {
4355 s32 ret = _FAIL;
4356 u32 timeout_ms = 500;/* 500ms */
4357 struct xmit_priv *pxmitpriv = &padapter->xmitpriv;
4358
4359 if (padapter->bSurpriseRemoved || padapter->bDriverStopped)
4360 return -1;
4361
4362 if (mutex_lock_interruptible(&pxmitpriv->ack_tx_mutex))
> 4363 ; /*ignore return value */
4364 pxmitpriv->ack_tx = true;
4365
4366 pmgntframe->ack_report = 1;
4367 if (rtw_hal_mgnt_xmit(padapter, pmgntframe) == _SUCCESS) {
4368 ret = rtw_ack_tx_wait(pxmitpriv, timeout_ms);
4369 }
4370
4371 pxmitpriv->ack_tx = false;
4372 mutex_unlock(&pxmitpriv->ack_tx_mutex);
4373
4374 return ret;
4375 }
4376
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month