[arm-platforms:kvm-arm64/ptp 1/7] drivers/firmware/smccc/kvm_guest.c:46 kvm_arm_hyp_service_available() warn: signedness bug returning '(-22)'
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: linux-arm-kernel(a)lists.infradead.org
TO: Will Deacon <will(a)kernel.org>
CC: Marc Zyngier <maz(a)kernel.org>
CC: Steven Price <steven.price(a)arm.com>
CC: Jianyong Wu <jianyong.wu(a)arm.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/ptp
head: b44b5b769890e0e73e2f9fdf461fcbcf72f14ab2
commit: fa591eac2e1ffdba4b7957fcc05b4d1f95246533 [1/7] arm/arm64: Probe for the presence of KVM hypervisor
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
config: arm64-randconfig-m031-20210330 (attached as .config)
compiler: aarch64-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>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
drivers/firmware/smccc/kvm_guest.c:46 kvm_arm_hyp_service_available() warn: signedness bug returning '(-22)'
vim +46 drivers/firmware/smccc/kvm_guest.c
fa591eac2e1ffd Will Deacon 2020-12-09 42
fa591eac2e1ffd Will Deacon 2020-12-09 43 bool kvm_arm_hyp_service_available(u32 func_id)
fa591eac2e1ffd Will Deacon 2020-12-09 44 {
fa591eac2e1ffd Will Deacon 2020-12-09 45 if (func_id >= ARM_SMCCC_KVM_NUM_FUNCS)
fa591eac2e1ffd Will Deacon 2020-12-09 @46 return -EINVAL;
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
Re: [PATCH v2 1/2] kunit: add a KUnit test for SLUB debugging functionality
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210330120436.4591-1-glittao(a)gmail.com>
References: <20210330120436.4591-1-glittao(a)gmail.com>
TO: glittao(a)gmail.com
TO: cl(a)linux.com
TO: penberg(a)kernel.org
TO: rientjes(a)google.com
TO: iamjoonsoo.kim(a)lge.com
TO: akpm(a)linux-foundation.org
TO: vbabka(a)suse.cz
CC: linux-kernel(a)vger.kernel.org
CC: linux-mm(a)kvack.org
CC: Oliver Glitta <glittao(a)gmail.com>
Hi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.12-rc5]
[cannot apply to next-20210330]
[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/glittao-gmail-com/kunit-add-a-KU...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1e43c377a79f9189fea8f2711b399d4e8b4e609b
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago
config: i386-randconfig-m021-20210330 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
mm/slub.c:744 object_err() warn: should this be a bitwise op?
mm/slub.c:759 slab_err() warn: should this be a bitwise op?
mm/slub.c:807 check_bytes_and_report() warn: should this be a bitwise op?
vim +744 mm/slub.c
81819f0fc8285a Christoph Lameter 2007-05-06 740
75c66def8d8152 Andrey Ryabinin 2015-02-13 741 void object_err(struct kmem_cache *s, struct page *page,
81819f0fc8285a Christoph Lameter 2007-05-06 742 u8 *object, char *reason)
81819f0fc8285a Christoph Lameter 2007-05-06 743 {
98f544695d3d3b Oliver Glitta 2021-03-30 @744 if (!(s->flags && SLAB_SILENT_ERRORS)) {
3dc5063786b273 Christoph Lameter 2008-04-23 745 slab_bug(s, "%s", reason);
2492268472e7d3 Christoph Lameter 2007-07-17 746 print_trailer(s, page, object);
81819f0fc8285a Christoph Lameter 2007-05-06 747 }
98f544695d3d3b Oliver Glitta 2021-03-30 748 }
81819f0fc8285a Christoph Lameter 2007-05-06 749
a38965bf941b7c Mathieu Malaterre 2018-06-07 750 static __printf(3, 4) void slab_err(struct kmem_cache *s, struct page *page,
d0e0ac9772f8ec Chen Gang 2013-07-15 751 const char *fmt, ...)
81819f0fc8285a Christoph Lameter 2007-05-06 752 {
81819f0fc8285a Christoph Lameter 2007-05-06 753 va_list args;
81819f0fc8285a Christoph Lameter 2007-05-06 754 char buf[100];
81819f0fc8285a Christoph Lameter 2007-05-06 755
2492268472e7d3 Christoph Lameter 2007-07-17 756 va_start(args, fmt);
2492268472e7d3 Christoph Lameter 2007-07-17 757 vsnprintf(buf, sizeof(buf), fmt, args);
81819f0fc8285a Christoph Lameter 2007-05-06 758 va_end(args);
98f544695d3d3b Oliver Glitta 2021-03-30 @759 if (!(s->flags && SLAB_SILENT_ERRORS)) {
3dc5063786b273 Christoph Lameter 2008-04-23 760 slab_bug(s, "%s", buf);
2492268472e7d3 Christoph Lameter 2007-07-17 761 print_page_info(page);
81819f0fc8285a Christoph Lameter 2007-05-06 762 dump_stack();
81819f0fc8285a Christoph Lameter 2007-05-06 763 }
98f544695d3d3b Oliver Glitta 2021-03-30 764 }
81819f0fc8285a Christoph Lameter 2007-05-06 765
f7cb1933621bce Christoph Lameter 2010-09-29 766 static void init_object(struct kmem_cache *s, void *object, u8 val)
81819f0fc8285a Christoph Lameter 2007-05-06 767 {
aa1ef4d7b3f67f Andrey Konovalov 2020-12-22 768 u8 *p = kasan_reset_tag(object);
81819f0fc8285a Christoph Lameter 2007-05-06 769
d86bd1bece6fc4 Joonsoo Kim 2016-03-15 770 if (s->flags & SLAB_RED_ZONE)
d86bd1bece6fc4 Joonsoo Kim 2016-03-15 771 memset(p - s->red_left_pad, val, s->red_left_pad);
d86bd1bece6fc4 Joonsoo Kim 2016-03-15 772
81819f0fc8285a Christoph Lameter 2007-05-06 773 if (s->flags & __OBJECT_POISON) {
3b0efdfa1e7193 Christoph Lameter 2012-06-13 774 memset(p, POISON_FREE, s->object_size - 1);
3b0efdfa1e7193 Christoph Lameter 2012-06-13 775 p[s->object_size - 1] = POISON_END;
81819f0fc8285a Christoph Lameter 2007-05-06 776 }
81819f0fc8285a Christoph Lameter 2007-05-06 777
81819f0fc8285a Christoph Lameter 2007-05-06 778 if (s->flags & SLAB_RED_ZONE)
3b0efdfa1e7193 Christoph Lameter 2012-06-13 779 memset(p + s->object_size, val, s->inuse - s->object_size);
81819f0fc8285a Christoph Lameter 2007-05-06 780 }
81819f0fc8285a Christoph Lameter 2007-05-06 781
2492268472e7d3 Christoph Lameter 2007-07-17 782 static void restore_bytes(struct kmem_cache *s, char *message, u8 data,
2492268472e7d3 Christoph Lameter 2007-07-17 783 void *from, void *to)
2492268472e7d3 Christoph Lameter 2007-07-17 784 {
2492268472e7d3 Christoph Lameter 2007-07-17 785 slab_fix(s, "Restoring 0x%p-0x%p=0x%x\n", from, to - 1, data);
2492268472e7d3 Christoph Lameter 2007-07-17 786 memset(from, data, to - from);
2492268472e7d3 Christoph Lameter 2007-07-17 787 }
2492268472e7d3 Christoph Lameter 2007-07-17 788
2492268472e7d3 Christoph Lameter 2007-07-17 789 static int check_bytes_and_report(struct kmem_cache *s, struct page *page,
2492268472e7d3 Christoph Lameter 2007-07-17 790 u8 *object, char *what,
2492268472e7d3 Christoph Lameter 2007-07-17 791 u8 *start, unsigned int value, unsigned int bytes)
2492268472e7d3 Christoph Lameter 2007-07-17 792 {
2492268472e7d3 Christoph Lameter 2007-07-17 793 u8 *fault;
2492268472e7d3 Christoph Lameter 2007-07-17 794 u8 *end;
e1b70dd1e6429f Miles Chen 2019-11-30 795 u8 *addr = page_address(page);
2492268472e7d3 Christoph Lameter 2007-07-17 796
a79316c6178ca4 Andrey Ryabinin 2015-02-13 797 metadata_access_enable();
aa1ef4d7b3f67f Andrey Konovalov 2020-12-22 798 fault = memchr_inv(kasan_reset_tag(start), value, bytes);
a79316c6178ca4 Andrey Ryabinin 2015-02-13 799 metadata_access_disable();
2492268472e7d3 Christoph Lameter 2007-07-17 800 if (!fault)
81819f0fc8285a Christoph Lameter 2007-05-06 801 return 1;
2492268472e7d3 Christoph Lameter 2007-07-17 802
2492268472e7d3 Christoph Lameter 2007-07-17 803 end = start + bytes;
2492268472e7d3 Christoph Lameter 2007-07-17 804 while (end > fault && end[-1] == value)
2492268472e7d3 Christoph Lameter 2007-07-17 805 end--;
2492268472e7d3 Christoph Lameter 2007-07-17 806
98f544695d3d3b Oliver Glitta 2021-03-30 @807 if (!(s->flags && SLAB_SILENT_ERRORS)) {
2492268472e7d3 Christoph Lameter 2007-07-17 808 slab_bug(s, "%s overwritten", what);
e1b70dd1e6429f Miles Chen 2019-11-30 809 pr_err("INFO: 0x%p-0x%p @offset=%tu. First byte 0x%x instead of 0x%x\n",
e1b70dd1e6429f Miles Chen 2019-11-30 810 fault, end - 1, fault - addr,
e1b70dd1e6429f Miles Chen 2019-11-30 811 fault[0], value);
2492268472e7d3 Christoph Lameter 2007-07-17 812 print_trailer(s, page, object);
98f544695d3d3b Oliver Glitta 2021-03-30 813 }
2492268472e7d3 Christoph Lameter 2007-07-17 814
2492268472e7d3 Christoph Lameter 2007-07-17 815 restore_bytes(s, what, value, fault, end);
2492268472e7d3 Christoph Lameter 2007-07-17 816 return 0;
81819f0fc8285a Christoph Lameter 2007-05-06 817 }
81819f0fc8285a Christoph Lameter 2007-05-06 818
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[linux-next:master 3841/8469] drivers/gpu/drm/gud/gud_pipe.c:544 gud_pipe_update() error: we previously assumed 'fb' could be null (see line 536)
by Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 [3841/8469] drm: Add GUD USB Display driver
config: openrisc-randconfig-m031-20210330 (attached as .config)
compiler: or1k-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>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
drivers/gpu/drm/gud/gud_pipe.c:544 gud_pipe_update() error: we previously assumed 'fb' could be null (see line 536)
vim +/fb +544 drivers/gpu/drm/gud/gud_pipe.c
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 508 void gud_pipe_update(struct drm_simple_display_pipe *pipe,
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 509 struct drm_plane_state *old_state)
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 510 {
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 511 struct drm_device *drm = pipe->crtc.dev;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 512 struct gud_device *gdrm = to_gud_device(drm);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 513 struct drm_plane_state *state = pipe->plane.state;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 514 struct drm_framebuffer *fb = state->fb;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 515 struct drm_crtc *crtc = &pipe->crtc;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 516 struct drm_rect damage;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 517 int idx;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 518
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 519 if (crtc->state->mode_changed || !crtc->state->enable) {
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 520 cancel_work_sync(&gdrm->work);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 521 mutex_lock(&gdrm->damage_lock);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 522 if (gdrm->fb) {
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 523 drm_framebuffer_put(gdrm->fb);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 524 gdrm->fb = NULL;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 525 }
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 526 gud_clear_damage(gdrm);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 527 mutex_unlock(&gdrm->damage_lock);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 528 }
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 529
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 530 if (!drm_dev_enter(drm, &idx))
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 531 return;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 532
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 533 if (!old_state->fb)
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 534 gud_usb_set_u8(gdrm, GUD_REQ_SET_CONTROLLER_ENABLE, 1);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 535
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 @536 if (fb && (crtc->state->mode_changed || crtc->state->connectors_changed))
^^
Can "fb" be NULL?
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 537 gud_usb_set(gdrm, GUD_REQ_SET_STATE_COMMIT, 0, NULL, 0);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 538
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 539 if (crtc->state->active_changed)
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 540 gud_usb_set_u8(gdrm, GUD_REQ_SET_DISPLAY_ENABLE, crtc->state->active);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 541
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 542 if (drm_atomic_helper_damage_merged(old_state, state, &damage)) {
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 543 if (gdrm->flags & GUD_DISPLAY_FLAG_FULL_UPDATE)
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 @544 drm_rect_init(&damage, 0, 0, fb->width, fb->height);
^^^^^^^^^^^^^^^^^^^^^
Unchecked dereferences.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[linux-next:master 8015/8469] drivers/gpu/drm/i915/i915_mm.c:76 remap_io_sg() error: uninitialized symbol 'err'.
by Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: 204302d90503407d2af233c1222b2e79f35580f3 [8015/8469] i915: fix remap_io_sg to verify the pgprot
config: i386-randconfig-m021-20210329 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
drivers/gpu/drm/i915/i915_mm.c:76 remap_io_sg() error: uninitialized symbol 'err'.
vim +/err +76 drivers/gpu/drm/i915/i915_mm.c
4e598fad226be0 Abdiel Janulgue 2020-01-03 45 int remap_io_sg(struct vm_area_struct *vma,
1764b992be0f1c Abdiel Janulgue 2019-12-31 46 unsigned long addr, unsigned long size,
4e598fad226be0 Abdiel Janulgue 2020-01-03 47 struct scatterlist *sgl, resource_size_t iobase)
1764b992be0f1c Abdiel Janulgue 2019-12-31 48 {
204302d9050340 Christoph Hellwig 2021-03-29 49 unsigned long pfn, len, remapped = 0;
1764b992be0f1c Abdiel Janulgue 2019-12-31 50 int err;
1764b992be0f1c Abdiel Janulgue 2019-12-31 51
1764b992be0f1c Abdiel Janulgue 2019-12-31 52 /* We rely on prevalidation of the io-mapping to skip track_pfn(). */
1764b992be0f1c Abdiel Janulgue 2019-12-31 53 GEM_BUG_ON((vma->vm_flags & EXPECTED_FLAGS) != EXPECTED_FLAGS);
1764b992be0f1c Abdiel Janulgue 2019-12-31 54
4e598fad226be0 Abdiel Janulgue 2020-01-03 55 if (!use_dma(iobase))
1764b992be0f1c Abdiel Janulgue 2019-12-31 56 flush_cache_range(vma, addr, size);
4e598fad226be0 Abdiel Janulgue 2020-01-03 57
204302d9050340 Christoph Hellwig 2021-03-29 58 do {
204302d9050340 Christoph Hellwig 2021-03-29 59 if (use_dma(iobase)) {
204302d9050340 Christoph Hellwig 2021-03-29 60 if (!sg_dma_len(sgl))
204302d9050340 Christoph Hellwig 2021-03-29 61 break;
^^^^^
Can this break on the first iteration through the loop?
204302d9050340 Christoph Hellwig 2021-03-29 62 pfn = (sg_dma_address(sgl) + iobase) >> PAGE_SHIFT;
204302d9050340 Christoph Hellwig 2021-03-29 63 len = sg_dma_len(sgl);
204302d9050340 Christoph Hellwig 2021-03-29 64 } else {
204302d9050340 Christoph Hellwig 2021-03-29 65 pfn = page_to_pfn(sg_page(sgl));
204302d9050340 Christoph Hellwig 2021-03-29 66 len = sgl->length;
1764b992be0f1c Abdiel Janulgue 2019-12-31 67 }
1764b992be0f1c Abdiel Janulgue 2019-12-31 68
204302d9050340 Christoph Hellwig 2021-03-29 69 err = remap_pfn_range(vma, addr + remapped, pfn, len,
204302d9050340 Christoph Hellwig 2021-03-29 70 vma->vm_page_prot);
204302d9050340 Christoph Hellwig 2021-03-29 71 if (err)
204302d9050340 Christoph Hellwig 2021-03-29 72 break;
204302d9050340 Christoph Hellwig 2021-03-29 73 remapped += len;
204302d9050340 Christoph Hellwig 2021-03-29 74 } while ((sgl = __sg_next(sgl)));
204302d9050340 Christoph Hellwig 2021-03-29 75
204302d9050340 Christoph Hellwig 2021-03-29 @76 if (err)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[tip:irq/core 2/2] kernel/irq/irq_sim.c:246 devm_irq_domain_create_sim() warn: passing zero to 'ERR_PTR'
by Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
head: e6d46eded43dacf6370a7ae70f927ef4692cfcab
commit: e6d46eded43dacf6370a7ae70f927ef4692cfcab [2/2] genirq/irq_sim: Shrink devm_irq_domain_create_sim()
config: x86_64-randconfig-m001-20210328 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
kernel/irq/irq_sim.c:246 devm_irq_domain_create_sim() warn: passing zero to 'ERR_PTR'
vim +/ERR_PTR +246 kernel/irq/irq_sim.c
337cbeb2c13eb4 Bartosz Golaszewski 2020-05-14 233 struct irq_domain *devm_irq_domain_create_sim(struct device *dev,
337cbeb2c13eb4 Bartosz Golaszewski 2020-05-14 234 struct fwnode_handle *fwnode,
44e72c7ebf2940 Bartosz Golaszewski 2017-08-14 235 unsigned int num_irqs)
44e72c7ebf2940 Bartosz Golaszewski 2017-08-14 236 {
e6d46eded43dac Bartosz Golaszewski 2021-03-01 237 struct irq_domain *domain;
e6d46eded43dac Bartosz Golaszewski 2021-03-01 238 int ret;
44e72c7ebf2940 Bartosz Golaszewski 2017-08-14 239
e6d46eded43dac Bartosz Golaszewski 2021-03-01 240 domain = irq_domain_create_sim(fwnode, num_irqs);
e6d46eded43dac Bartosz Golaszewski 2021-03-01 241 if (IS_ERR(domain))
e6d46eded43dac Bartosz Golaszewski 2021-03-01 242 return domain;
44e72c7ebf2940 Bartosz Golaszewski 2017-08-14 243
e6d46eded43dac Bartosz Golaszewski 2021-03-01 244 ret = devm_add_action_or_reset(dev, devm_irq_domain_remove_sim, domain);
e6d46eded43dac Bartosz Golaszewski 2021-03-01 245 if (!ret)
^^^
This is probably reversed. It should be "if (ret)"
e6d46eded43dac Bartosz Golaszewski 2021-03-01 @246 return ERR_PTR(ret);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[linux-next:master 3841/8469] drivers/gpu/drm/gud/gud_pipe.c:544 gud_pipe_update() error: we previously assumed 'fb' could be null (see line 536)
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm(a)kvack.org>
TO: "Noralf Trønnes" <noralf(a)tronnes.org>
CC: Peter Stuge <peter(a)stuge.se>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 [3841/8469] drm: Add GUD USB Display driver
:::::: branch date: 19 hours ago
:::::: commit date: 2 weeks ago
config: openrisc-randconfig-m031-20210330 (attached as .config)
compiler: or1k-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>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
drivers/gpu/drm/gud/gud_pipe.c:544 gud_pipe_update() error: we previously assumed 'fb' could be null (see line 536)
vim +/fb +544 drivers/gpu/drm/gud/gud_pipe.c
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 507
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 508 void gud_pipe_update(struct drm_simple_display_pipe *pipe,
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 509 struct drm_plane_state *old_state)
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 510 {
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 511 struct drm_device *drm = pipe->crtc.dev;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 512 struct gud_device *gdrm = to_gud_device(drm);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 513 struct drm_plane_state *state = pipe->plane.state;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 514 struct drm_framebuffer *fb = state->fb;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 515 struct drm_crtc *crtc = &pipe->crtc;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 516 struct drm_rect damage;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 517 int idx;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 518
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 519 if (crtc->state->mode_changed || !crtc->state->enable) {
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 520 cancel_work_sync(&gdrm->work);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 521 mutex_lock(&gdrm->damage_lock);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 522 if (gdrm->fb) {
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 523 drm_framebuffer_put(gdrm->fb);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 524 gdrm->fb = NULL;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 525 }
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 526 gud_clear_damage(gdrm);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 527 mutex_unlock(&gdrm->damage_lock);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 528 }
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 529
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 530 if (!drm_dev_enter(drm, &idx))
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 531 return;
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 532
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 533 if (!old_state->fb)
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 534 gud_usb_set_u8(gdrm, GUD_REQ_SET_CONTROLLER_ENABLE, 1);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 535
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 @536 if (fb && (crtc->state->mode_changed || crtc->state->connectors_changed))
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 537 gud_usb_set(gdrm, GUD_REQ_SET_STATE_COMMIT, 0, NULL, 0);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 538
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 539 if (crtc->state->active_changed)
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 540 gud_usb_set_u8(gdrm, GUD_REQ_SET_DISPLAY_ENABLE, crtc->state->active);
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 541
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 542 if (drm_atomic_helper_damage_merged(old_state, state, &damage)) {
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 543 if (gdrm->flags & GUD_DISPLAY_FLAG_FULL_UPDATE)
40e1a70b4aedf2 Noralf Trønnes 2021-03-13 @544 drm_rect_init(&damage, 0, 0, fb->width, fb->height);
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
Re: [PATCH v3] lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
by kernel test robot
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210329165329.27994-1-julianbraha(a)gmail.com>
References: <20210329165329.27994-1-julianbraha(a)gmail.com>
TO: Julian Braha <julianbraha(a)gmail.com>
TO: akpm(a)linux-foundation.org
CC: schwab(a)linux-m68k.org
CC: geert(a)linux-m68k.org
CC: linux-kernel(a)vger.kernel.org
CC: fazilyildiran(a)gmail.com
Hi Julian,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linux/master]
[also build test ERROR on linus/master hnaz-linux-mm/master v5.12-rc5 next-20210329]
[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/Julian-Braha/lib-fix-kconfig-dep...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a74e6a014c9d4d4161061f770c9b4f98372ac778
:::::: branch date: 11 hours ago
:::::: commit date: 11 hours ago
config: csky-randconfig-s032-20210329 (attached as .config)
compiler: csky-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-277-gc089cd2d-dirty
# https://github.com/0day-ci/linux/commit/41ca1a7330de6aa0b70ee618d49033ba5...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Julian-Braha/lib-fix-kconfig-dependency-on-ARCH_WANT_FRAME_POINTERS/20210330-005647
git checkout 41ca1a7330de6aa0b70ee618d49033ba5d63e80f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=csky
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 >>):
arch/csky/mm/tcm.c:9:2: error: #error "You should define ITCM_RAM_BASE"
9 | #error "You should define ITCM_RAM_BASE"
| ^~~~~
>> arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
14 | #error "You should define DTCM_RAM_BASE"
| ^~~~~
>> arch/csky/mm/tcm.c:18:2: error: #error "You should define correct DTCM_RAM_BASE"
18 | #error "You should define correct DTCM_RAM_BASE"
| ^~~~~
arch/csky/mm/tcm.c:109:7: warning: no previous prototype for 'tcm_alloc' [-Wmissing-prototypes]
109 | void *tcm_alloc(size_t len)
| ^~~~~~~~~
arch/csky/mm/tcm.c:124:6: warning: no previous prototype for 'tcm_free' [-Wmissing-prototypes]
124 | void tcm_free(void *addr, size_t len)
| ^~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
sparse warnings: (new ones prefixed by >>)
>> net/atm/br2684.c:731:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned short const [noderef] __user *__gu_ptr @@
net/atm/br2684.c:731:23: sparse: expected void const *addr
net/atm/br2684.c:731:23: sparse: got unsigned short const [noderef] __user *__gu_ptr
--
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
net/netrom/af_netrom.c:359:13: sparse: expected void const *addr
net/netrom/af_netrom.c:359:13: sparse: got int const [noderef] __user *__gu_ptr
>> net/netrom/af_netrom.c:392:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/netrom/af_netrom.c:392:13: sparse: expected int *__pu_addr
net/netrom/af_netrom.c:392:13: sparse: got int [noderef] __user *optlen
>> net/netrom/af_netrom.c:1211:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/netrom/af_netrom.c:1211:24: sparse: expected int *__pu_addr
net/netrom/af_netrom.c:1211:24: sparse: got int [noderef] __user *
net/netrom/af_netrom.c:1223:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/netrom/af_netrom.c:1223:24: sparse: expected int *__pu_addr
net/netrom/af_netrom.c:1223:24: sparse: got int [noderef] __user *
--
>> net/rose/af_rose.c:438:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
net/rose/af_rose.c:438:13: sparse: expected void const *addr
net/rose/af_rose.c:438:13: sparse: got int const [noderef] __user *__gu_ptr
>> net/rose/af_rose.c:479:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/rose/af_rose.c:479:13: sparse: expected int *__pu_addr
net/rose/af_rose.c:479:13: sparse: got int [noderef] __user *optlen
>> net/rose/af_rose.c:1289:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
net/rose/af_rose.c:1289:24: sparse: expected unsigned int *__pu_addr
net/rose/af_rose.c:1289:24: sparse: got unsigned int [noderef] __user *
net/rose/af_rose.c:1298:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
net/rose/af_rose.c:1298:24: sparse: expected unsigned int *__pu_addr
net/rose/af_rose.c:1298:24: sparse: got unsigned int [noderef] __user *
--
>> net/ax25/af_ax25.c:695:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
net/ax25/af_ax25.c:695:13: sparse: expected void const *addr
net/ax25/af_ax25.c:695:13: sparse: got int const [noderef] __user *__gu_ptr
>> net/ax25/af_ax25.c:772:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/ax25/af_ax25.c:772:13: sparse: expected int *__pu_addr
net/ax25/af_ax25.c:772:13: sparse: got int [noderef] __user *optlen
>> net/ax25/af_ax25.c:1710:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/ax25/af_ax25.c:1710:23: sparse: expected int *__pu_addr
net/ax25/af_ax25.c:1710:23: sparse: got int [noderef] __user *
net/ax25/af_ax25.c:1720:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/ax25/af_ax25.c:1720:23: sparse: expected int *__pu_addr
net/ax25/af_ax25.c:1720:23: sparse: got int [noderef] __user *
>> net/ax25/af_ax25.c:1742:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got long const [noderef] __user *__gu_ptr @@
net/ax25/af_ax25.c:1742:21: sparse: expected void const *addr
net/ax25/af_ax25.c:1742:21: sparse: got long const [noderef] __user *__gu_ptr
--
drivers/net/ethernet/intel/e1000/e1000_param.c: note: in included file (through drivers/net/ethernet/intel/e1000/e1000_hw.h, drivers/net/ethernet/intel/e1000/e1000.h):
drivers/net/ethernet/intel/e1000/e1000_osdep.h:13:9: sparse: sparse: preprocessor token CONFIG_RAM_BASE redefined
drivers/net/ethernet/intel/e1000/e1000_param.c: note: in included file (through include/linux/kconfig.h, builtin):
>> ./include/generated/autoconf.h:2158:9: sparse: this was the original definition
--
drivers/net/ethernet/intel/e1000/e1000_ethtool.c: note: in included file (through drivers/net/ethernet/intel/e1000/e1000_hw.h, drivers/net/ethernet/intel/e1000/e1000.h):
drivers/net/ethernet/intel/e1000/e1000_osdep.h:13:9: sparse: sparse: preprocessor token CONFIG_RAM_BASE redefined
drivers/net/ethernet/intel/e1000/e1000_ethtool.c: note: in included file (through include/linux/kconfig.h, builtin):
>> ./include/generated/autoconf.h:2158:9: sparse: this was the original definition
drivers/net/ethernet/intel/e1000/e1000_ethtool.c:516:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] @@ got restricted __le16 [usertype] @@
drivers/net/ethernet/intel/e1000/e1000_ethtool.c:516:32: sparse: expected unsigned short [usertype]
drivers/net/ethernet/intel/e1000/e1000_ethtool.c:516:32: sparse: got restricted __le16 [usertype]
drivers/net/ethernet/intel/e1000/e1000_ethtool.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/io.h, include/linux/irq.h, ...):
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
--
drivers/net/ethernet/intel/e1000/e1000_hw.c: note: in included file (through drivers/net/ethernet/intel/e1000/e1000_hw.h, drivers/net/ethernet/intel/e1000/e1000.h):
drivers/net/ethernet/intel/e1000/e1000_osdep.h:13:9: sparse: sparse: preprocessor token CONFIG_RAM_BASE redefined
drivers/net/ethernet/intel/e1000/e1000_hw.c: note: in included file (through include/linux/kconfig.h, builtin):
>> ./include/generated/autoconf.h:2158:9: sparse: this was the original definition
drivers/net/ethernet/intel/e1000/e1000_hw.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/io.h, include/linux/irq.h, ...):
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
--
drivers/net/ethernet/intel/e1000/e1000_main.c: note: in included file (through drivers/net/ethernet/intel/e1000/e1000_hw.h, drivers/net/ethernet/intel/e1000/e1000.h):
drivers/net/ethernet/intel/e1000/e1000_osdep.h:13:9: sparse: sparse: preprocessor token CONFIG_RAM_BASE redefined
drivers/net/ethernet/intel/e1000/e1000_main.c: note: in included file (through include/linux/kconfig.h, builtin):
>> ./include/generated/autoconf.h:2158:9: sparse: this was the original definition
drivers/net/ethernet/intel/e1000/e1000_main.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/io.h, include/linux/irq.h, ...):
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
--
fs/notify/fanotify/fanotify_user.c:143:63: sparse: sparse: restricted fmode_t degrades to integer
>> fs/notify/fanotify/fanotify_user.c:317:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got char [noderef] __user *[assigned] buf @@
fs/notify/fanotify/fanotify_user.c:317:35: sparse: expected void *to
fs/notify/fanotify/fanotify_user.c:317:35: sparse: got char [noderef] __user *[assigned] buf
>> fs/notify/fanotify/fanotify_user.c:646:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
fs/notify/fanotify/fanotify_user.c:646:23: sparse: expected int *__pu_addr
fs/notify/fanotify/fanotify_user.c:646:23: sparse: got int [noderef] __user *
fs/notify/fanotify/fanotify_user.c:972:28: sparse: sparse: restricted fmode_t degrades to integer
--
>> drivers/net/hamradio/6pack.c:701:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/net/hamradio/6pack.c:701:23: sparse: expected int *__pu_addr
drivers/net/hamradio/6pack.c:701:23: sparse: got int [noderef] __user *
>> drivers/net/hamradio/6pack.c:705:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
drivers/net/hamradio/6pack.c:705:21: sparse: expected void const *addr
drivers/net/hamradio/6pack.c:705:21: sparse: got int const [noderef] __user *__gu_ptr
--
drivers/net/slip/slip.c:458:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:458:14: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:458:14: sparse: void *
drivers/net/slip/slip.c:892:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
drivers/net/slip/slip.c:892:9: sparse: void [noderef] __rcu *
drivers/net/slip/slip.c:892:9: sparse: void *
>> drivers/net/slip/slip.c:1094:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
>> drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
drivers/net/slip/slip.c:1145:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
drivers/net/slip/slip.c:1170:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
--
>> drivers/scsi/megaraid.c:3017:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/scsi/megaraid.c:3017:21: sparse: expected unsigned int *__pu_addr
drivers/scsi/megaraid.c:3017:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/scsi/megaraid.c:3023:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/scsi/megaraid.c:3023:21: sparse: expected unsigned int *__pu_addr
drivers/scsi/megaraid.c:3023:21: sparse: got unsigned int [noderef] [usertype] __user *
>> drivers/scsi/megaraid.c:3533:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char *__pu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/scsi/megaraid.c:3533:21: sparse: expected unsigned char *__pu_addr
drivers/scsi/megaraid.c:3533:21: sparse: got unsigned char [noderef] [usertype] __user *
>> drivers/scsi/megaraid.c:3540:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got struct mega_passthru [noderef] [usertype] __user *const [noderef] __user *__gu_ptr @@
drivers/scsi/megaraid.c:3540:29: sparse: expected void const *addr
drivers/scsi/megaraid.c:3540:29: sparse: got struct mega_passthru [noderef] [usertype] __user *const [noderef] __user *__gu_ptr
drivers/scsi/megaraid.c:3540:29: sparse: sparse: Using plain integer as NULL pointer
drivers/scsi/megaraid.c:3543:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char *__pu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/scsi/megaraid.c:3543:29: sparse: expected unsigned char *__pu_addr
drivers/scsi/megaraid.c:3543:29: sparse: got unsigned char [noderef] [usertype] __user *
drivers/scsi/megaraid.c:3550:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char *__pu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/scsi/megaraid.c:3550:21: sparse: expected unsigned char *__pu_addr
drivers/scsi/megaraid.c:3550:21: sparse: got unsigned char [noderef] [usertype] __user *
drivers/scsi/megaraid.c:3557:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got struct mega_passthru [noderef] [usertype] __user *const [noderef] __user *__gu_ptr @@
drivers/scsi/megaraid.c:3557:29: sparse: expected void const *addr
drivers/scsi/megaraid.c:3557:29: sparse: got struct mega_passthru [noderef] [usertype] __user *const [noderef] __user *__gu_ptr
drivers/scsi/megaraid.c:3557:29: sparse: sparse: Using plain integer as NULL pointer
drivers/scsi/megaraid.c:3560:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char *__pu_addr @@ got unsigned char [noderef] [usertype] __user * @@
drivers/scsi/megaraid.c:3560:29: sparse: expected unsigned char *__pu_addr
drivers/scsi/megaraid.c:3560:29: sparse: got unsigned char [noderef] [usertype] __user *
drivers/scsi/megaraid.c:4497:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/scsi/megaraid.c:4497:26: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/megaraid.c:4497:26: sparse: got void *
drivers/scsi/megaraid.c:4556:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/scsi/megaraid.c:4556:26: sparse: expected void volatile [noderef] __iomem *addr
drivers/scsi/megaraid.c:4556:26: sparse: got void *
drivers/scsi/megaraid.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/io.h, include/linux/irq.h, ...):
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
--
>> drivers/staging/comedi/comedi_fops.c:1083:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
drivers/staging/comedi/comedi_fops.c:1083:29: sparse: expected unsigned int *__pu_addr
drivers/staging/comedi/comedi_fops.c:1083:29: sparse: got unsigned int [noderef] __user *
--
>> drivers/thunderbolt/debugfs.c:64:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void const [noderef] __user *user_buf @@
drivers/thunderbolt/debugfs.c:64:24: sparse: expected void const *addr
drivers/thunderbolt/debugfs.c:64:24: sparse: got void const [noderef] __user *user_buf
--
kernel/sys.c:1878:17: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct file *old_exe @@ got struct file [noderef] __rcu * @@
kernel/sys.c:1878:17: sparse: expected struct file *old_exe
kernel/sys.c:1878:17: sparse: got struct file [noderef] __rcu *
kernel/sys.c:1976:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
kernel/sys.c:1976:24: sparse: expected unsigned int *__pu_addr
kernel/sys.c:1976:24: sparse: got unsigned int [noderef] __user *
>> kernel/sys.c:2243:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int [noderef] __user **__pu_addr @@ got int [noderef] __user *[noderef] __user *tid_addr @@
kernel/sys.c:2243:16: sparse: expected int [noderef] __user **__pu_addr
kernel/sys.c:2243:16: sparse: got int [noderef] __user *[noderef] __user *tid_addr
kernel/sys.c:710:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user *ruidp @@
kernel/sys.c:710:18: sparse: expected unsigned int *__pu_addr
kernel/sys.c:710:18: sparse: got unsigned int [noderef] [usertype] __user *ruidp
kernel/sys.c:712:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user *euidp @@
kernel/sys.c:712:26: sparse: expected unsigned int *__pu_addr
kernel/sys.c:712:26: sparse: got unsigned int [noderef] [usertype] __user *euidp
kernel/sys.c:714:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user *suidp @@
kernel/sys.c:714:32: sparse: expected unsigned int *__pu_addr
kernel/sys.c:714:32: sparse: got unsigned int [noderef] [usertype] __user *suidp
kernel/sys.c:793:18: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user *rgidp @@
kernel/sys.c:793:18: sparse: expected unsigned int *__pu_addr
kernel/sys.c:793:18: sparse: got unsigned int [noderef] [usertype] __user *rgidp
kernel/sys.c:795:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user *egidp @@
kernel/sys.c:795:26: sparse: expected unsigned int *__pu_addr
kernel/sys.c:795:26: sparse: got unsigned int [noderef] [usertype] __user *egidp
kernel/sys.c:797:34: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user *sgidp @@
kernel/sys.c:797:34: sparse: expected unsigned int *__pu_addr
kernel/sys.c:797:34: sparse: got unsigned int [noderef] [usertype] __user *sgidp
kernel/sys.c:1049:32: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *p1 @@ got struct task_struct [noderef] __rcu *real_parent @@
kernel/sys.c:1049:32: sparse: expected struct task_struct *p1
kernel/sys.c:1049:32: sparse: got struct task_struct [noderef] __rcu *real_parent
kernel/sys.c: note: in included file (through include/linux/rcuwait.h, include/linux/percpu-rwsem.h, include/linux/fs.h, ...):
include/linux/sched/signal.h:708:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct spinlock [usertype] *lock @@ got struct spinlock [noderef] __rcu * @@
include/linux/sched/signal.h:708:37: sparse: expected struct spinlock [usertype] *lock
include/linux/sched/signal.h:708:37: sparse: got struct spinlock [noderef] __rcu *
kernel/sys.c:2304:25: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
kernel/sys.c:2304:25: sparse: expected int *__pu_addr
kernel/sys.c:2304:25: sparse: got int [noderef] __user *
kernel/sys.c:2344:46: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const *src @@ got char [noderef] __user * @@
kernel/sys.c:2344:46: sparse: expected char const *src
kernel/sys.c:2344:46: sparse: got char [noderef] __user *
kernel/sys.c:2440:25: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
kernel/sys.c:2440:25: sparse: expected int *__pu_addr
kernel/sys.c:2440:25: sparse: got int [noderef] __user *
kernel/sys.c:2551:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user *cpup @@
kernel/sys.c:2551:24: sparse: expected unsigned int *__pu_addr
kernel/sys.c:2551:24: sparse: got unsigned int [noderef] __user *cpup
kernel/sys.c:2553:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user *nodep @@
kernel/sys.c:2553:24: sparse: expected unsigned int *__pu_addr
kernel/sys.c:2553:24: sparse: got unsigned int [noderef] __user *nodep
--
>> mm/kmemleak.c:1777:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected char const *src @@ got char const [noderef] __user *user_buf @@
mm/kmemleak.c:1777:36: sparse: expected char const *src
mm/kmemleak.c:1777:36: sparse: got char const [noderef] __user *user_buf
mm/kmemleak.c:1616:13: sparse: sparse: context imbalance in 'kmemleak_seq_start' - different lock contexts for basic block
mm/kmemleak.c: note: in included file (through include/linux/rculist.h, include/linux/sched/signal.h):
include/linux/rcupdate.h:708:9: sparse: sparse: context imbalance in 'kmemleak_seq_stop' - unexpected unlock
--
>> fs/ecryptfs/miscdev.c:283:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char *__pu_addr @@ got char [noderef] __user *buf @@
fs/ecryptfs/miscdev.c:283:13: sparse: expected char *__pu_addr
fs/ecryptfs/miscdev.c:283:13: sparse: got char [noderef] __user *buf
>> fs/ecryptfs/miscdev.c:285:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 *__pu_addr @@ got restricted __be32 [noderef] [usertype] __user * @@
fs/ecryptfs/miscdev.c:285:13: sparse: expected restricted __be32 *__pu_addr
fs/ecryptfs/miscdev.c:285:13: sparse: got restricted __be32 [noderef] [usertype] __user *
--
>> drivers/fsi/fsi-scom.c:497:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
drivers/fsi/fsi-scom.c:497:13: sparse: expected void const *addr
drivers/fsi/fsi-scom.c:497:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
drivers/fsi/fsi-scom.c:511:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/fsi/fsi-scom.c:511:16: sparse: expected unsigned int *__pu_addr
drivers/fsi/fsi-scom.c:511:16: sparse: got unsigned int [noderef] [usertype] __user *
--
>> sound/core/timer.c:2044:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/timer.c:2044:13: sparse: expected void const *addr
sound/core/timer.c:2044:13: sparse: got int const [noderef] __user *__gu_ptr
>> sound/core/timer.c:2083:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/timer.c:2083:24: sparse: expected int *__pu_addr
sound/core/timer.c:2083:24: sparse: got int [noderef] __user *p
sound/core/timer.c:790:25: sparse: sparse: context imbalance in 'snd_timer_process_callbacks' - unexpected unlock
--
>> sound/core/pcm.c:92:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/pcm.c:92:29: sparse: expected void const *addr
sound/core/pcm.c:92:29: sparse: got int const [noderef] __user *__gu_ptr
>> sound/core/pcm.c:97:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
sound/core/pcm.c:97:29: sparse: expected int *__pu_addr
sound/core/pcm.c:97:29: sparse: got int [noderef] __user *
>> sound/core/pcm.c:112:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm.c:112:29: sparse: expected void const *addr
sound/core/pcm.c:112:29: sparse: got unsigned int const [noderef] __user *__gu_ptr
sound/core/pcm.c:114:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/pcm.c:114:29: sparse: expected void const *addr
sound/core/pcm.c:114:29: sparse: got int const [noderef] __user *__gu_ptr
sound/core/pcm.c:119:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm.c:119:29: sparse: expected void const *addr
sound/core/pcm.c:119:29: sparse: got unsigned int const [noderef] __user *__gu_ptr
sound/core/pcm.c:155:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/pcm.c:155:29: sparse: expected void const *addr
sound/core/pcm.c:155:29: sparse: got int const [noderef] __user *__gu_ptr
--
>> sound/core/pcm_lib.c:2375:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user *tlv @@
sound/core/pcm_lib.c:2375:13: sparse: expected unsigned int *__pu_addr
sound/core/pcm_lib.c:2375:13: sparse: got unsigned int [noderef] __user *tlv
>> sound/core/pcm_lib.c:2385:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user *[assigned] dst @@
sound/core/pcm_lib.c:2385:21: sparse: expected unsigned int *__pu_addr
sound/core/pcm_lib.c:2385:21: sparse: got unsigned int [noderef] __user *[assigned] dst
>> sound/core/pcm_lib.c:2386:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_lib.c:2386:21: sparse: expected unsigned int *__pu_addr
sound/core/pcm_lib.c:2386:21: sparse: got unsigned int [noderef] __user *
sound/core/pcm_lib.c:2396:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user *[assigned] dst @@
sound/core/pcm_lib.c:2396:29: sparse: expected unsigned int *__pu_addr
sound/core/pcm_lib.c:2396:29: sparse: got unsigned int [noderef] __user *[assigned] dst
sound/core/pcm_lib.c:2401:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_lib.c:2401:13: sparse: expected unsigned int *__pu_addr
sound/core/pcm_lib.c:2401:13: sparse: got unsigned int [noderef] __user *
--
>> sound/core/pcm_native.c:1015:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:1015:20: sparse: expected void const *addr
sound/core/pcm_native.c:1015:20: sparse: got unsigned int const [noderef] __user *__gu_ptr
sound/core/pcm_native.c:1041:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:1041:20: sparse: expected void const *addr
sound/core/pcm_native.c:1041:20: sparse: got unsigned int const [noderef] __user *__gu_ptr
sound/core/pcm_native.c:2951:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:2951:13: sparse: expected void const *addr
sound/core/pcm_native.c:2951:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
sound/core/pcm_native.c:3044:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:3044:13: sparse: expected void const *addr
sound/core/pcm_native.c:3044:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
sound/core/pcm_native.c:3045:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:3045:13: sparse: expected void const *addr
sound/core/pcm_native.c:3045:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
sound/core/pcm_native.c:3046:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:3046:13: sparse: expected void const *addr
sound/core/pcm_native.c:3046:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
>> sound/core/pcm_native.c:3074:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted snd_pcm_state_t *__pu_addr @@ got restricted snd_pcm_state_t [noderef] __user * @@
sound/core/pcm_native.c:3074:13: sparse: expected restricted snd_pcm_state_t *__pu_addr
sound/core/pcm_native.c:3074:13: sparse: got restricted snd_pcm_state_t [noderef] __user *
>> sound/core/pcm_native.c:3075:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_native.c:3075:13: sparse: expected unsigned int *__pu_addr
sound/core/pcm_native.c:3075:13: sparse: got unsigned int [noderef] __user *
>> sound/core/pcm_native.c:3076:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int *__pu_addr @@ got signed int [noderef] __user * @@
sound/core/pcm_native.c:3076:13: sparse: expected signed int *__pu_addr
sound/core/pcm_native.c:3076:13: sparse: got signed int [noderef] __user *
sound/core/pcm_native.c:3077:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int *__pu_addr @@ got signed int [noderef] __user * @@
sound/core/pcm_native.c:3077:13: sparse: expected signed int *__pu_addr
sound/core/pcm_native.c:3077:13: sparse: got signed int [noderef] __user *
sound/core/pcm_native.c:3078:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted snd_pcm_state_t *__pu_addr @@ got restricted snd_pcm_state_t [noderef] __user * @@
sound/core/pcm_native.c:3078:13: sparse: expected restricted snd_pcm_state_t *__pu_addr
sound/core/pcm_native.c:3078:13: sparse: got restricted snd_pcm_state_t [noderef] __user *
sound/core/pcm_native.c:3079:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int *__pu_addr @@ got signed int [noderef] __user * @@
sound/core/pcm_native.c:3079:13: sparse: expected signed int *__pu_addr
sound/core/pcm_native.c:3079:13: sparse: got signed int [noderef] __user *
sound/core/pcm_native.c:3080:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int *__pu_addr @@ got signed int [noderef] __user * @@
sound/core/pcm_native.c:3080:13: sparse: expected signed int *__pu_addr
sound/core/pcm_native.c:3080:13: sparse: got signed int [noderef] __user *
sound/core/pcm_native.c:3081:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_native.c:3081:13: sparse: expected unsigned int *__pu_addr
sound/core/pcm_native.c:3081:13: sparse: got unsigned int [noderef] __user *
sound/core/pcm_native.c:3082:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
sound/core/pcm_native.c:3082:13: sparse: expected unsigned int *__pu_addr
sound/core/pcm_native.c:3082:13: sparse: got unsigned int [noderef] __user *
>> sound/core/pcm_native.c:3094:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:3094:13: sparse: expected void const *addr
sound/core/pcm_native.c:3094:13: sparse: got int const [noderef] __user *__gu_ptr
>> sound/core/pcm_native.c:3111:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed long *__pu_addr @@ got signed long [noderef] __user * @@
sound/core/pcm_native.c:3111:13: sparse: expected signed long *__pu_addr
sound/core/pcm_native.c:3111:13: sparse: got signed long [noderef] __user *
sound/core/pcm_native.c:3119:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed long *__pu_addr @@ got signed long [noderef] __user * @@
sound/core/pcm_native.c:3119:13: sparse: expected signed long *__pu_addr
sound/core/pcm_native.c:3119:13: sparse: got signed long [noderef] __user *
sound/core/pcm_native.c:3136:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed long *__pu_addr @@ got signed long [noderef] __user * @@
sound/core/pcm_native.c:3136:13: sparse: expected signed long *__pu_addr
sound/core/pcm_native.c:3136:13: sparse: got signed long [noderef] __user *
sound/core/pcm_native.c:3149:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed long *__pu_addr @@ got signed long [noderef] __user * @@
sound/core/pcm_native.c:3149:13: sparse: expected signed long *__pu_addr
sound/core/pcm_native.c:3149:13: sparse: got signed long [noderef] __user *
>> sound/core/pcm_native.c:3160:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned long const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:3160:13: sparse: expected void const *addr
sound/core/pcm_native.c:3160:13: sparse: got unsigned long const [noderef] __user *__gu_ptr
>> sound/core/pcm_native.c:3162:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long *__pu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@
sound/core/pcm_native.c:3162:13: sparse: expected unsigned long *__pu_addr
sound/core/pcm_native.c:3162:13: sparse: got unsigned long [noderef] [usertype] __user *_frames
sound/core/pcm_native.c:3165:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long *__pu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@
sound/core/pcm_native.c:3165:13: sparse: expected unsigned long *__pu_addr
sound/core/pcm_native.c:3165:13: sparse: got unsigned long [noderef] [usertype] __user *_frames
sound/core/pcm_native.c:3176:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned long const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:3176:13: sparse: expected void const *addr
sound/core/pcm_native.c:3176:13: sparse: got unsigned long const [noderef] __user *__gu_ptr
sound/core/pcm_native.c:3178:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long *__pu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@
sound/core/pcm_native.c:3178:13: sparse: expected unsigned long *__pu_addr
sound/core/pcm_native.c:3178:13: sparse: got unsigned long [noderef] [usertype] __user *_frames
sound/core/pcm_native.c:3181:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long *__pu_addr @@ got unsigned long [noderef] [usertype] __user *_frames @@
sound/core/pcm_native.c:3181:13: sparse: expected unsigned long *__pu_addr
sound/core/pcm_native.c:3181:13: sparse: got unsigned long [noderef] [usertype] __user *_frames
>> sound/core/pcm_native.c:3202:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
sound/core/pcm_native.c:3202:24: sparse: expected int *__pu_addr
sound/core/pcm_native.c:3202:24: sparse: got int [noderef] __user *
sound/core/pcm_native.c:3210:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/pcm_native.c:3210:21: sparse: expected void const *addr
sound/core/pcm_native.c:3210:21: sparse: got unsigned int const [noderef] __user *__gu_ptr
>> sound/core/pcm_native.c:3257:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed long *__pu_addr @@ got signed long [noderef] [usertype] __user *res @@
sound/core/pcm_native.c:3257:21: sparse: expected signed long *__pu_addr
sound/core/pcm_native.c:3257:21: sparse: got signed long [noderef] [usertype] __user *res
sound/core/pcm_native.c:95:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock' - different lock contexts for basic block
sound/core/pcm_native.c:96:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock' - unexpected unlock
sound/core/pcm_native.c:97:1: sparse: sparse: context imbalance in 'snd_pcm_group_lock_irq' - different lock contexts for basic block
sound/core/pcm_native.c:98:1: sparse: sparse: context imbalance in 'snd_pcm_group_unlock_irq' - unexpected unlock
sound/core/pcm_native.c:145:9: sparse: sparse: context imbalance in 'snd_pcm_stream_lock_nested' - different lock contexts for basic block
sound/core/pcm_native.c:171:9: sparse: sparse: context imbalance in '_snd_pcm_stream_lock_irqsave' - different lock contexts for basic block
sound/core/pcm_native.c:188:39: sparse: sparse: context imbalance in 'snd_pcm_stream_unlock_irqrestore' - unexpected unlock
sound/core/pcm_native.c:1191:52: sparse: sparse: context imbalance in 'snd_pcm_action_group' - unexpected unlock
sound/core/pcm_native.c:1262:37: sparse: sparse: context imbalance in 'snd_pcm_stream_group_ref' - different lock contexts for basic block
--
>> sound/core/rawmidi.c:664:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/rawmidi.c:664:13: sparse: expected void const *addr
sound/core/rawmidi.c:664:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
>> sound/core/rawmidi.c:666:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/rawmidi.c:666:13: sparse: expected void const *addr
sound/core/rawmidi.c:666:13: sparse: got int const [noderef] __user *__gu_ptr
sound/core/rawmidi.c:668:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
sound/core/rawmidi.c:668:13: sparse: expected void const *addr
sound/core/rawmidi.c:668:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
>> sound/core/rawmidi.c:840:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
sound/core/rawmidi.c:840:24: sparse: expected int *__pu_addr
sound/core/rawmidi.c:840:24: sparse: got int [noderef] __user *
sound/core/rawmidi.c:846:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/rawmidi.c:846:21: sparse: expected void const *addr
sound/core/rawmidi.c:846:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/rawmidi.c:884:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/rawmidi.c:884:21: sparse: expected void const *addr
sound/core/rawmidi.c:884:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/rawmidi.c:899:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/rawmidi.c:899:21: sparse: expected void const *addr
sound/core/rawmidi.c:899:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/rawmidi.c:933:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/rawmidi.c:933:21: sparse: expected void const *addr
sound/core/rawmidi.c:933:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/rawmidi.c:947:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
sound/core/rawmidi.c:947:21: sparse: expected int *__pu_addr
sound/core/rawmidi.c:947:21: sparse: got int [noderef] __user *
sound/core/rawmidi.c:955:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/rawmidi.c:955:21: sparse: expected void const *addr
sound/core/rawmidi.c:955:21: sparse: got int const [noderef] __user *__gu_ptr
--
sound/core/control.c:788:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:788:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:789:17: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:789:26: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:808:48: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
sound/core/control.c:1474:40: sparse: sparse: restricted snd_ctl_elem_type_t degrades to integer
>> sound/core/control.c:1577:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/control.c:1577:13: sparse: expected void const *addr
sound/core/control.c:1577:13: sparse: got int const [noderef] __user *__gu_ptr
>> sound/core/control.c:1581:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *ptr @@
sound/core/control.c:1581:21: sparse: expected int *__pu_addr
sound/core/control.c:1581:21: sparse: got int [noderef] __user *ptr
>> sound/core/control.c:1714:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *ip @@
sound/core/control.c:1714:24: sparse: expected int *__pu_addr
sound/core/control.c:1714:24: sparse: got int [noderef] __user *ip
sound/core/control.c:1758:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *ip @@
sound/core/control.c:1758:24: sparse: expected int *__pu_addr
sound/core/control.c:1758:24: sparse: got int [noderef] __user *ip
--
>> sound/core/oss/mixer_oss.c:312:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/mixer_oss.c:312:29: sparse: expected void const *addr
sound/core/oss/mixer_oss.c:312:29: sparse: got int const [noderef] __user *__gu_ptr
>> sound/core/oss/mixer_oss.c:317:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:317:32: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:317:32: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:319:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:319:32: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:319:32: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:321:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:321:32: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:321:32: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:326:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:326:32: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:326:32: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:331:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:331:32: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:331:32: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:336:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:336:32: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:336:32: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:341:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:341:32: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:341:32: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:346:32: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:346:32: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:346:32: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:350:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/mixer_oss.c:350:21: sparse: expected void const *addr
sound/core/oss/mixer_oss.c:350:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/oss/mixer_oss.c:355:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:355:24: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:355:24: sparse: got int [noderef] __user *p
sound/core/oss/mixer_oss.c:360:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/mixer_oss.c:360:24: sparse: expected int *__pu_addr
sound/core/oss/mixer_oss.c:360:24: sparse: got int [noderef] __user *p
--
>> sound/core/oss/pcm_oss.c:2574:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2574:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2574:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2576:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2576:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2576:24: sparse: got int [noderef] __user *p
>> sound/core/oss/pcm_oss.c:2602:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/pcm_oss.c:2602:21: sparse: expected void const *addr
sound/core/oss/pcm_oss.c:2602:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/oss/pcm_oss.c:2606:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2606:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2606:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2611:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2611:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2611:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2613:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/pcm_oss.c:2613:21: sparse: expected void const *addr
sound/core/oss/pcm_oss.c:2613:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/oss/pcm_oss.c:2618:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2618:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2618:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2623:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2623:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2623:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2625:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/pcm_oss.c:2625:21: sparse: expected void const *addr
sound/core/oss/pcm_oss.c:2625:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/oss/pcm_oss.c:2630:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2630:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2630:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2635:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2635:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2635:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2637:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/pcm_oss.c:2637:21: sparse: expected void const *addr
sound/core/oss/pcm_oss.c:2637:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/oss/pcm_oss.c:2642:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2642:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2642:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2647:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2647:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2647:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2654:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/pcm_oss.c:2654:21: sparse: expected void const *addr
sound/core/oss/pcm_oss.c:2654:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/oss/pcm_oss.c:2659:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2659:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2659:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2661:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/pcm_oss.c:2661:21: sparse: expected void const *addr
sound/core/oss/pcm_oss.c:2661:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/oss/pcm_oss.c:2668:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2668:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2668:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2681:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2681:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2681:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2686:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2686:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2686:24: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2688:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
sound/core/oss/pcm_oss.c:2688:21: sparse: expected void const *addr
sound/core/oss/pcm_oss.c:2688:21: sparse: got int const [noderef] __user *__gu_ptr
sound/core/oss/pcm_oss.c:2714:25: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2714:25: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2714:25: sparse: got int [noderef] __user *p
sound/core/oss/pcm_oss.c:2717:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
sound/core/oss/pcm_oss.c:2717:24: sparse: expected int *__pu_addr
sound/core/oss/pcm_oss.c:2717:24: sparse: got int [noderef] __user *p
--
>> drivers/mtd/mtdchar.c:417:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user *retp @@
drivers/mtd/mtdchar.c:417:13: sparse: expected unsigned int *__pu_addr
drivers/mtd/mtdchar.c:417:13: sparse: got unsigned int [noderef] [usertype] __user *retp
>> drivers/mtd/mtdchar.c:697:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
drivers/mtd/mtdchar.c:697:21: sparse: expected void const *addr
drivers/mtd/mtdchar.c:697:21: sparse: got unsigned int const [noderef] __user *__gu_ptr
>> drivers/mtd/mtdchar.c:705:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
drivers/mtd/mtdchar.c:705:21: sparse: expected unsigned int *__pu_addr
drivers/mtd/mtdchar.c:705:21: sparse: got unsigned int [noderef] __user *
drivers/mtd/mtdchar.c:706:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
drivers/mtd/mtdchar.c:706:24: sparse: expected unsigned int *__pu_addr
drivers/mtd/mtdchar.c:706:24: sparse: got unsigned int [noderef] __user *
drivers/mtd/mtdchar.c:707:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] __user * @@
drivers/mtd/mtdchar.c:707:24: sparse: expected unsigned int *__pu_addr
drivers/mtd/mtdchar.c:707:24: sparse: got unsigned int [noderef] __user *
--
>> sound/core/seq/seq_clientmgr.c:412:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got char [noderef] __user *buf @@
sound/core/seq/seq_clientmgr.c:412:24: sparse: expected void const *addr
sound/core/seq/seq_clientmgr.c:412:24: sparse: got char [noderef] __user *buf
sound/core/seq/seq_clientmgr.c:708:9: sparse: sparse: context imbalance in 'deliver_to_subscribers' - different lock contexts for basic block
--
fs/f2fs/file.c:48:54: sparse: sparse: cast from restricted vm_fault_t
fs/f2fs/file.c:1972:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
fs/f2fs/file.c:1972:16: sparse: expected int *__pu_addr
fs/f2fs/file.c:1972:16: sparse: got int [noderef] __user *
>> fs/f2fs/file.c:1986:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
fs/f2fs/file.c:1986:13: sparse: expected void const *addr
fs/f2fs/file.c:1986:13: sparse: got int const [noderef] __user *__gu_ptr
fs/f2fs/file.c:2020:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
fs/f2fs/file.c:2020:16: sparse: expected int *__pu_addr
fs/f2fs/file.c:2020:16: sparse: got int [noderef] __user *
>> fs/f2fs/file.c:2240:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
fs/f2fs/file.c:2240:13: sparse: expected void const *addr
fs/f2fs/file.c:2240:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
fs/f2fs/file.c:2473:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
fs/f2fs/file.c:2473:13: sparse: expected void const *addr
fs/f2fs/file.c:2473:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
fs/f2fs/file.c:3001:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
fs/f2fs/file.c:3001:16: sparse: expected unsigned int *__pu_addr
fs/f2fs/file.c:3001:16: sparse: got unsigned int [noderef] [usertype] __user *
fs/f2fs/file.c:3239:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
fs/f2fs/file.c:3239:13: sparse: expected void const *addr
fs/f2fs/file.c:3239:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
fs/f2fs/file.c:3296:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
fs/f2fs/file.c:3296:16: sparse: expected unsigned int *__pu_addr
fs/f2fs/file.c:3296:16: sparse: got unsigned int [noderef] [usertype] __user *
fs/f2fs/file.c:3400:36: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short const [usertype] *pwcs @@ got restricted __le16 * @@
fs/f2fs/file.c:3400:36: sparse: expected unsigned short const [usertype] *pwcs
fs/f2fs/file.c:3400:36: sparse: got restricted __le16 *
fs/f2fs/file.c:3436:28: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected unsigned short [usertype] *pwcs @@ got restricted __le16 * @@
fs/f2fs/file.c:3436:28: sparse: expected unsigned short [usertype] *pwcs
fs/f2fs/file.c:3436:28: sparse: got restricted __le16 *
fs/f2fs/file.c:3461:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long *__pu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
fs/f2fs/file.c:3461:16: sparse: expected unsigned long long *__pu_addr
fs/f2fs/file.c:3461:16: sparse: got unsigned long long [noderef] [usertype] __user *
fs/f2fs/file.c:3612:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long *__pu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
fs/f2fs/file.c:3612:23: sparse: expected unsigned long long *__pu_addr
fs/f2fs/file.c:3612:23: sparse: got unsigned long long [noderef] [usertype] __user *
fs/f2fs/file.c:3772:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long *__pu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
fs/f2fs/file.c:3772:23: sparse: expected unsigned long long *__pu_addr
fs/f2fs/file.c:3772:23: sparse: got unsigned long long [noderef] [usertype] __user *
--
fs/jfs/ioctl.c:70:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
fs/jfs/ioctl.c:70:24: sparse: expected int *__pu_addr
fs/jfs/ioctl.c:70:24: sparse: got int [noderef] __user *
>> fs/jfs/ioctl.c:83:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
fs/jfs/ioctl.c:83:21: sparse: expected void const *addr
fs/jfs/ioctl.c:83:21: sparse: got int const [noderef] __user *__gu_ptr
--
>> net/can/isotp.c:1260:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
net/can/isotp.c:1260:13: sparse: expected void const *addr
net/can/isotp.c:1260:13: sparse: got int const [noderef] __user *__gu_ptr
>> net/can/isotp.c:1295:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/can/isotp.c:1295:13: sparse: expected int *__pu_addr
net/can/isotp.c:1295:13: sparse: got int [noderef] __user *optlen
--
>> net/can/raw.c:657:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
net/can/raw.c:657:13: sparse: expected void const *addr
net/can/raw.c:657:13: sparse: got int const [noderef] __user *__gu_ptr
net/can/raw.c:672:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/can/raw.c:672:37: sparse: expected int *__pu_addr
net/can/raw.c:672:37: sparse: got int [noderef] __user *optlen
net/can/raw.c:686:31: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/can/raw.c:686:31: sparse: expected int *__pu_addr
net/can/raw.c:686:31: sparse: got int [noderef] __user *optlen
net/can/raw.c:723:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/can/raw.c:723:13: sparse: expected int *__pu_addr
net/can/raw.c:723:13: sparse: got int [noderef] __user *optlen
--
>> drivers/tty/moxa.c:332:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long *__pu_addr @@ got unsigned long [noderef] __user * @@
drivers/tty/moxa.c:332:23: sparse: expected unsigned long *__pu_addr
drivers/tty/moxa.c:332:23: sparse: got unsigned long [noderef] __user *
drivers/tty/moxa.c:336:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long *__pu_addr @@ got unsigned long [noderef] __user * @@
drivers/tty/moxa.c:336:23: sparse: expected unsigned long *__pu_addr
drivers/tty/moxa.c:336:23: sparse: got unsigned long [noderef] __user *
drivers/tty/moxa.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/io.h, include/linux/irq.h, ...):
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
--
>> drivers/tty/synclink_gt.c:2620:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *idle_mode @@
drivers/tty/synclink_gt.c:2620:13: sparse: expected int *__pu_addr
drivers/tty/synclink_gt.c:2620:13: sparse: got int [noderef] __user *idle_mode
>> drivers/tty/synclink_gt.c:2727:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
drivers/tty/synclink_gt.c:2727:13: sparse: expected void const *addr
drivers/tty/synclink_gt.c:2727:13: sparse: got int const [noderef] __user *__gu_ptr
>> drivers/tty/synclink_gt.c:2826:22: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *mask_ptr @@
drivers/tty/synclink_gt.c:2826:22: sparse: expected int *__pu_addr
drivers/tty/synclink_gt.c:2826:22: sparse: got int [noderef] __user *mask_ptr
>> drivers/tty/synclink_gt.c:2833:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *if_mode @@
drivers/tty/synclink_gt.c:2833:13: sparse: expected int *__pu_addr
drivers/tty/synclink_gt.c:2833:13: sparse: got int [noderef] __user *if_mode
>> drivers/tty/synclink_gt.c:2864:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *xsync @@
drivers/tty/synclink_gt.c:2864:13: sparse: expected int *__pu_addr
drivers/tty/synclink_gt.c:2864:13: sparse: got int [noderef] __user *xsync
>> drivers/tty/synclink_gt.c:2890:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *xctrl @@
drivers/tty/synclink_gt.c:2890:13: sparse: expected int *__pu_addr
drivers/tty/synclink_gt.c:2890:13: sparse: got int [noderef] __user *xctrl
drivers/tty/synclink_gt.c: note: in included file (through arch/csky/include/asm/io.h, include/linux/io.h, include/linux/irq.h, ...):
include/asm-generic/io.h:259:16: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:291:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:291:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:291:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:267:16: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:299:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:299:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:299:22: sparse: got restricted __le32 [usertype]
--
>> net/l2tp/l2tp_ppp.c:1075:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/l2tp/l2tp_ppp.c:1075:21: sparse: expected int *__pu_addr
net/l2tp/l2tp_ppp.c:1075:21: sparse: got int [noderef] __user *
>> net/l2tp/l2tp_ppp.c:1092:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int [noderef] __user * @@
net/l2tp/l2tp_ppp.c:1092:33: sparse: expected void const *addr
net/l2tp/l2tp_ppp.c:1092:33: sparse: got int [noderef] __user *
>> net/l2tp/l2tp_ppp.c:1348:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
net/l2tp/l2tp_ppp.c:1348:13: sparse: expected void const *addr
net/l2tp/l2tp_ppp.c:1348:13: sparse: got int const [noderef] __user *__gu_ptr
>> net/l2tp/l2tp_ppp.c:1379:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/l2tp/l2tp_ppp.c:1379:13: sparse: expected int *__pu_addr
net/l2tp/l2tp_ppp.c:1379:13: sparse: got int [noderef] __user *optlen
--
>> drivers/vhost/scsi.c:1906:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
drivers/vhost/scsi.c:1906:21: sparse: expected void const *addr
drivers/vhost/scsi.c:1906:21: sparse: got unsigned int const [noderef] __user *__gu_ptr
>> drivers/vhost/scsi.c:1916:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user *eventsp @@
drivers/vhost/scsi.c:1916:21: sparse: expected unsigned int *__pu_addr
drivers/vhost/scsi.c:1916:21: sparse: got unsigned int [noderef] [usertype] __user *eventsp
drivers/vhost/scsi.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, include/linux/rcuwait.h, ...):
include/linux/uaccess.h:148:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:148:33: sparse: expected void *to
include/linux/uaccess.h:148:33: sparse: got void [noderef] __user *to
include/linux/uaccess.h:148:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:148:33: sparse: expected void *to
include/linux/uaccess.h:148:33: sparse: got void [noderef] __user *to
--
>> drivers/vhost/vdpa.c:364:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
drivers/vhost/vdpa.c:364:13: sparse: expected void const *addr
drivers/vhost/vdpa.c:364:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
--
>> drivers/vhost/vhost.c:734:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void [noderef] __user * @@
drivers/vhost/vhost.c:734:35: sparse: expected void const *addr
drivers/vhost/vhost.c:734:35: sparse: got void [noderef] __user *
drivers/vhost/vhost.c:760:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void [noderef] __user * @@
drivers/vhost/vhost.c:760:33: sparse: expected void const *addr
drivers/vhost/vhost.c:760:33: sparse: got void [noderef] __user *
drivers/vhost/vhost.c:1079:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void [noderef] __user * @@
drivers/vhost/vhost.c:1079:25: sparse: expected void const *addr
drivers/vhost/vhost.c:1079:25: sparse: got void [noderef] __user *
drivers/vhost/vhost.c:1082:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got void [noderef] __user * @@
drivers/vhost/vhost.c:1082:25: sparse: expected void const *addr
drivers/vhost/vhost.c:1082:25: sparse: got void [noderef] __user *
>> drivers/vhost/vhost.c:1303:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got struct vring_desc [noderef] [usertype] __user *desc @@
drivers/vhost/vhost.c:1303:26: sparse: expected void const *addr
drivers/vhost/vhost.c:1303:26: sparse: got struct vring_desc [noderef] [usertype] __user *desc
>> drivers/vhost/vhost.c:1304:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got struct vring_avail [noderef] [usertype] __user *avail @@
drivers/vhost/vhost.c:1304:26: sparse: expected void const *addr
drivers/vhost/vhost.c:1304:26: sparse: got struct vring_avail [noderef] [usertype] __user *avail
>> drivers/vhost/vhost.c:1305:26: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got struct vring_used [noderef] [usertype] __user *used @@
drivers/vhost/vhost.c:1305:26: sparse: expected void const *addr
drivers/vhost/vhost.c:1305:26: sparse: got struct vring_used [noderef] [usertype] __user *used
>> drivers/vhost/vhost.c:1589:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got unsigned int const [noderef] __user *__gu_ptr @@
drivers/vhost/vhost.c:1589:13: sparse: expected void const *addr
drivers/vhost/vhost.c:1589:13: sparse: got unsigned int const [noderef] __user *__gu_ptr
>> drivers/vhost/vhost.c:1787:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got int const [noderef] __user *__gu_ptr @@
drivers/vhost/vhost.c:1787:21: sparse: expected void const *addr
drivers/vhost/vhost.c:1787:21: sparse: got int const [noderef] __user *__gu_ptr
>> drivers/vhost/vhost.c:2012:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *addr @@ got restricted __virtio16 [noderef] __user * @@
drivers/vhost/vhost.c:2012:27: sparse: expected void const *addr
drivers/vhost/vhost.c:2012:27: sparse: got restricted __virtio16 [noderef] __user *
drivers/vhost/vhost.c: note: in included file (through include/linux/sched/task.h, include/linux/sched/signal.h, include/linux/rcuwait.h, ...):
include/linux/uaccess.h:148:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:148:33: sparse: expected void *to
include/linux/uaccess.h:148:33: sparse: got void [noderef] __user *to
include/linux/uaccess.h:148:33: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:148:33: sparse: expected void *to
include/linux/uaccess.h:148:33: sparse: got void [noderef] __user *to
include/linux/uaccess.h:114:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
include/linux/uaccess.h:114:39: sparse: expected void const *from
include/linux/uaccess.h:114:39: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:114:39: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
include/linux/uaccess.h:114:39: sparse: expected void const *from
include/linux/uaccess.h:114:39: sparse: got void const [noderef] __user *from
>> drivers/vhost/vhost.c:963:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 *__pu_addr @@ got restricted __virtio16 [noderef] __user * @@
drivers/vhost/vhost.c:963:16: sparse: expected restricted __virtio16 *__pu_addr
drivers/vhost/vhost.c:963:16: sparse: got restricted __virtio16 [noderef] __user *
>> drivers/vhost/vhost.c:963:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 *__pu_addr @@ got restricted __virtio16 [noderef] __user *to @@
drivers/vhost/vhost.c:963:16: sparse: expected restricted __virtio16 *__pu_addr
drivers/vhost/vhost.c:963:16: sparse: got restricted __virtio16 [noderef] __user *to
>> drivers/vhost/vhost.c:948:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 *__pu_addr @@ got restricted __virtio16 [noderef] [usertype] __user * @@
drivers/vhost/vhost.c:948:16: sparse: expected restricted __virtio16 *__pu_addr
drivers/vhost/vhost.c:948:16: sparse: got restricted __virtio16 [noderef] [usertype] __user *
>> drivers/vhost/vhost.c:948:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 *__pu_addr @@ got restricted __virtio16 [noderef] [usertype] __user *to @@
drivers/vhost/vhost.c:948:16: sparse: expected restricted __virtio16 *__pu_addr
drivers/vhost/vhost.c:948:16: sparse: got restricted __virtio16 [noderef] [usertype] __user *to
drivers/vhost/vhost.c:970:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 *__pu_addr @@ got restricted __virtio16 [noderef] __user * @@
drivers/vhost/vhost.c:970:16: sparse: expected restricted __virtio16 *__pu_addr
drivers/vhost/vhost.c:970:16: sparse: got restricted __virtio16 [noderef] __user *
drivers/vhost/vhost.c:970:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __virtio16 *__pu_addr @@ got restricted __virtio16 [noderef] __user *to @@
drivers/vhost/vhost.c:970:16: sparse: expected restricted __virtio16 *__pu_addr
drivers/vhost/vhost.c:970:16: sparse: got restricted __virtio16 [noderef] __user *to
vim +14 arch/csky/mm/tcm.c
f525bb2c9e7cf1 Guo Ren 2019-11-27 7
f525bb2c9e7cf1 Guo Ren 2019-11-27 8 #if (CONFIG_ITCM_RAM_BASE == 0xffffffff)
f525bb2c9e7cf1 Guo Ren 2019-11-27 @9 #error "You should define ITCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27 10 #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27 11
f525bb2c9e7cf1 Guo Ren 2019-11-27 12 #ifdef CONFIG_HAVE_DTCM
f525bb2c9e7cf1 Guo Ren 2019-11-27 13 #if (CONFIG_DTCM_RAM_BASE == 0xffffffff)
f525bb2c9e7cf1 Guo Ren 2019-11-27 @14 #error "You should define DTCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27 15 #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27 16
f525bb2c9e7cf1 Guo Ren 2019-11-27 17 #if (CONFIG_DTCM_RAM_BASE == CONFIG_ITCM_RAM_BASE)
f525bb2c9e7cf1 Guo Ren 2019-11-27 @18 #error "You should define correct DTCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27 19 #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27 20 #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27 21
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'mxc_rtc_lock' - wrong count at exit
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Alexandre Belloni <alexandre.belloni(a)bootlin.com>
CC: Fabio Estevam <festevam(a)gmail.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1e43c377a79f9189fea8f2711b399d4e8b4e609b
commit: 0020868f2a7037e87d6b3b196526de2fb885830d rtc: mxc{,_v2}: enable COMPILE_TEST
date: 4 months ago
:::::: branch date: 9 hours ago
:::::: commit date: 4 months ago
config: sparc64-randconfig-s031-20210330 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-277-gc089cd2d-dirty
# 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 0020868f2a7037e87d6b3b196526de2fb885830d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sparc64
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/rtc/rtc-mxc_v2.c: note: in included file (through include/linux/rwsem.h, include/linux/notifier.h, include/linux/clk.h):
>> include/linux/spinlock.h:379:9: sparse: sparse: context imbalance in 'mxc_rtc_lock' - wrong count at exit
drivers/rtc/rtc-mxc_v2.c:128:12: sparse: sparse: context imbalance in 'mxc_rtc_unlock' - unexpected unlock
vim +/mxc_rtc_lock +379 include/linux/spinlock.h
c2f21ce2e31286 Thomas Gleixner 2009-12-02 376
3490565b633c70 Denys Vlasenko 2015-07-13 377 static __always_inline void spin_lock_irq(spinlock_t *lock)
c2f21ce2e31286 Thomas Gleixner 2009-12-02 378 {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @379 raw_spin_lock_irq(&lock->rlock);
c2f21ce2e31286 Thomas Gleixner 2009-12-02 380 }
c2f21ce2e31286 Thomas Gleixner 2009-12-02 381
:::::: The code at line 379 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx(a)linutronix.de>
:::::: CC: Thomas Gleixner <tglx(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[linux-next:master 1290/8469] arch/um/kernel/kmsg_dump.c:10:13: sparse: sparse: context imbalance in 'kmsg_dumper_stdout' - different lock contexts for basic block
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm(a)kvack.org>
TO: John Ogness <john.ogness(a)linutronix.de>
CC: Petr Mladek <pmladek(a)suse.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: fdd2c1f4e2c2e2fee1d95d18b4b06bc0d15c368a [1290/8469] um: synchronize kmsg_dumper
:::::: branch date: 16 hours ago
:::::: commit date: 3 weeks ago
config: um-randconfig-s032-20210329 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-277-gc089cd2d-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout fdd2c1f4e2c2e2fee1d95d18b4b06bc0d15c368a
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=um
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 >>)
arch/um/kernel/kmsg_dump.c:51:12: sparse: sparse: symbol 'kmsg_dumper_stdout_init' was not declared. Should it be static?
>> arch/um/kernel/kmsg_dump.c:10:13: sparse: sparse: context imbalance in 'kmsg_dumper_stdout' - different lock contexts for basic block
vim +/kmsg_dumper_stdout +10 arch/um/kernel/kmsg_dump.c
04a418495e0852 Thomas Meyer 2015-03-28 9
04a418495e0852 Thomas Meyer 2015-03-28 @10 static void kmsg_dumper_stdout(struct kmsg_dumper *dumper,
04a418495e0852 Thomas Meyer 2015-03-28 11 enum kmsg_dump_reason reason)
04a418495e0852 Thomas Meyer 2015-03-28 12 {
fdd2c1f4e2c2e2 John Ogness 2021-03-03 13 static DEFINE_SPINLOCK(lock);
04a418495e0852 Thomas Meyer 2015-03-28 14 static char line[1024];
7d7c0568285d6f Andy Shevchenko 2020-02-12 15 struct console *con;
fdd2c1f4e2c2e2 John Ogness 2021-03-03 16 unsigned long flags;
04a418495e0852 Thomas Meyer 2015-03-28 17 size_t len = 0;
04a418495e0852 Thomas Meyer 2015-03-28 18
04a418495e0852 Thomas Meyer 2015-03-28 19 /* only dump kmsg when no console is available */
04a418495e0852 Thomas Meyer 2015-03-28 20 if (!console_trylock())
04a418495e0852 Thomas Meyer 2015-03-28 21 return;
04a418495e0852 Thomas Meyer 2015-03-28 22
e23fe90dec286c Thomas Meyer 2021-01-07 23 for_each_console(con) {
e23fe90dec286c Thomas Meyer 2021-01-07 24 if(strcmp(con->name, "tty") == 0 &&
e23fe90dec286c Thomas Meyer 2021-01-07 25 (con->flags & (CON_ENABLED | CON_CONSDEV)) != 0) {
7d7c0568285d6f Andy Shevchenko 2020-02-12 26 break;
e23fe90dec286c Thomas Meyer 2021-01-07 27 }
e23fe90dec286c Thomas Meyer 2021-01-07 28 }
04a418495e0852 Thomas Meyer 2015-03-28 29
04a418495e0852 Thomas Meyer 2015-03-28 30 console_unlock();
04a418495e0852 Thomas Meyer 2015-03-28 31
7d7c0568285d6f Andy Shevchenko 2020-02-12 32 if (con)
04a418495e0852 Thomas Meyer 2015-03-28 33 return;
04a418495e0852 Thomas Meyer 2015-03-28 34
fdd2c1f4e2c2e2 John Ogness 2021-03-03 35 if (!spin_trylock_irqsave(&lock, flags))
fdd2c1f4e2c2e2 John Ogness 2021-03-03 36 return;
fdd2c1f4e2c2e2 John Ogness 2021-03-03 37
04a418495e0852 Thomas Meyer 2015-03-28 38 printf("kmsg_dump:\n");
04a418495e0852 Thomas Meyer 2015-03-28 39 while (kmsg_dump_get_line(dumper, true, line, sizeof(line), &len)) {
04a418495e0852 Thomas Meyer 2015-03-28 40 line[len] = '\0';
04a418495e0852 Thomas Meyer 2015-03-28 41 printf("%s", line);
04a418495e0852 Thomas Meyer 2015-03-28 42 }
fdd2c1f4e2c2e2 John Ogness 2021-03-03 43
fdd2c1f4e2c2e2 John Ogness 2021-03-03 44 spin_unlock_irqrestore(&lock, flags);
04a418495e0852 Thomas Meyer 2015-03-28 45 }
04a418495e0852 Thomas Meyer 2015-03-28 46
:::::: The code at line 10 was first introduced by commit
:::::: 04a418495e0852263d77c4fb82adf470feaafef3 um: add a kmsg_dumper
:::::: TO: Thomas Meyer <thomas(a)m3y3r.de>
:::::: CC: Richard Weinberger <richard(a)nod.at>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months
[linux-next:master 8015/8469] drivers/gpu/drm/i915/i915_mm.c:76 remap_io_sg() error: uninitialized symbol 'err'.
by kernel test robot
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm(a)kvack.org>
TO: Christoph Hellwig <hch(a)lst.de>
CC: Andrew Morton <akpm(a)linux-foundation.org>
CC: Linux Memory Management List <linux-mm(a)kvack.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: 204302d90503407d2af233c1222b2e79f35580f3 [8015/8469] i915: fix remap_io_sg to verify the pgprot
:::::: branch date: 13 hours ago
:::::: commit date: 23 hours ago
config: i386-randconfig-m021-20210329 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Reported-by: Dan Carpenter <dan.carpenter(a)oracle.com>
smatch warnings:
drivers/gpu/drm/i915/i915_mm.c:76 remap_io_sg() error: uninitialized symbol 'err'.
vim +/err +76 drivers/gpu/drm/i915/i915_mm.c
4e598fad226be0 Abdiel Janulgue 2020-01-03 34
1764b992be0f1c Abdiel Janulgue 2019-12-31 35 /**
4e598fad226be0 Abdiel Janulgue 2020-01-03 36 * remap_io_sg - remap an IO mapping to userspace
1764b992be0f1c Abdiel Janulgue 2019-12-31 37 * @vma: user vma to map to
1764b992be0f1c Abdiel Janulgue 2019-12-31 38 * @addr: target user address to start at
1764b992be0f1c Abdiel Janulgue 2019-12-31 39 * @size: size of map area
1764b992be0f1c Abdiel Janulgue 2019-12-31 40 * @sgl: Start sg entry
4e598fad226be0 Abdiel Janulgue 2020-01-03 41 * @iobase: Use stored dma address offset by this address or pfn if -1
1764b992be0f1c Abdiel Janulgue 2019-12-31 42 *
1764b992be0f1c Abdiel Janulgue 2019-12-31 43 * Note: this is only safe if the mm semaphore is held when called.
1764b992be0f1c Abdiel Janulgue 2019-12-31 44 */
4e598fad226be0 Abdiel Janulgue 2020-01-03 45 int remap_io_sg(struct vm_area_struct *vma,
1764b992be0f1c Abdiel Janulgue 2019-12-31 46 unsigned long addr, unsigned long size,
4e598fad226be0 Abdiel Janulgue 2020-01-03 47 struct scatterlist *sgl, resource_size_t iobase)
1764b992be0f1c Abdiel Janulgue 2019-12-31 48 {
204302d9050340 Christoph Hellwig 2021-03-29 49 unsigned long pfn, len, remapped = 0;
1764b992be0f1c Abdiel Janulgue 2019-12-31 50 int err;
1764b992be0f1c Abdiel Janulgue 2019-12-31 51
1764b992be0f1c Abdiel Janulgue 2019-12-31 52 /* We rely on prevalidation of the io-mapping to skip track_pfn(). */
1764b992be0f1c Abdiel Janulgue 2019-12-31 53 GEM_BUG_ON((vma->vm_flags & EXPECTED_FLAGS) != EXPECTED_FLAGS);
1764b992be0f1c Abdiel Janulgue 2019-12-31 54
4e598fad226be0 Abdiel Janulgue 2020-01-03 55 if (!use_dma(iobase))
1764b992be0f1c Abdiel Janulgue 2019-12-31 56 flush_cache_range(vma, addr, size);
4e598fad226be0 Abdiel Janulgue 2020-01-03 57
204302d9050340 Christoph Hellwig 2021-03-29 58 do {
204302d9050340 Christoph Hellwig 2021-03-29 59 if (use_dma(iobase)) {
204302d9050340 Christoph Hellwig 2021-03-29 60 if (!sg_dma_len(sgl))
204302d9050340 Christoph Hellwig 2021-03-29 61 break;
204302d9050340 Christoph Hellwig 2021-03-29 62 pfn = (sg_dma_address(sgl) + iobase) >> PAGE_SHIFT;
204302d9050340 Christoph Hellwig 2021-03-29 63 len = sg_dma_len(sgl);
204302d9050340 Christoph Hellwig 2021-03-29 64 } else {
204302d9050340 Christoph Hellwig 2021-03-29 65 pfn = page_to_pfn(sg_page(sgl));
204302d9050340 Christoph Hellwig 2021-03-29 66 len = sgl->length;
1764b992be0f1c Abdiel Janulgue 2019-12-31 67 }
1764b992be0f1c Abdiel Janulgue 2019-12-31 68
204302d9050340 Christoph Hellwig 2021-03-29 69 err = remap_pfn_range(vma, addr + remapped, pfn, len,
204302d9050340 Christoph Hellwig 2021-03-29 70 vma->vm_page_prot);
204302d9050340 Christoph Hellwig 2021-03-29 71 if (err)
204302d9050340 Christoph Hellwig 2021-03-29 72 break;
204302d9050340 Christoph Hellwig 2021-03-29 73 remapped += len;
204302d9050340 Christoph Hellwig 2021-03-29 74 } while ((sgl = __sg_next(sgl)));
204302d9050340 Christoph Hellwig 2021-03-29 75
204302d9050340 Christoph Hellwig 2021-03-29 @76 if (err)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 4 months