Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp533640ybv; Sat, 22 Feb 2020 08:45:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzAX7s9gyAz4fdeuuiOZu6u1hIRg9qV2ftTxQ432Lwz7hV6y30GTVSOfscY+PBEn+Vbdbpf X-Received: by 2002:a05:6808:50:: with SMTP id v16mr6359771oic.133.1582389939707; Sat, 22 Feb 2020 08:45:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582389939; cv=none; d=google.com; s=arc-20160816; b=JRvMCnDudIEuFU1eu64oPVgfyKXu+j3xlz7N1b8RMxL9gvLHIw+4m3DSbLuY5SLqG6 uZRvarSy0V4S2TCfbZDWANQIXtpxo8hpuCZlt/LCB12pk6NAoouIN/bXBXnDcZl0ifDI hNiKLU6bg3Debmozrex1KFB9udBsBy0b1RBMUkuplpdw0q3yEf6BuutUHZZd9rvUxv2o VBQmzqkeJloOtrW6f6FnFj8ukmgo6LKh4XeyEhRqI0pF5fRWBjTt2MTZGn/ErbjJPnky eyqZMrImhDT93hv67X71/JRJnPdwPUeS8aeHH/kpferxT4+/7fX3JTyvbK1dXWrzvTvK z5dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Ch+VYNls7KdZgiIeFEWilBMm6TtdpD6f1Tp0KaaAlQc=; b=qC3bu/amXvDLEL9AkUZ7c/GmL7rsuge5zS5tT6YuP8aAiRrPZiAr6iaOV3p8RXnjJn pPbdaxtMsVvrBQqEo0vSobLXeL01zHdNwQfvtYDRn6kGh7Zf/X+i63+aShbWLw4yMjk/ bFecuoIlfphC5oqnt6WR94yKbBik3FWv9d9kIFdlFVrp8Y0l0GLajXgzfOz9FZcwl/0E 6B/Sgay1V8x3Skml1wyDSH9HITyIx5XOzCj6+O5tso+9IGQkWYsxKWcGEMyhbzdx2tRJ 3pj0Sc8zaFNM6vTcI5+G2CcDeIPEgoNc46McwknLyQ4ADeGPGFUfkxemu6dhZ8wU5aH5 wGBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f16si2718728oib.269.2020.02.22.08.45.27; Sat, 22 Feb 2020 08:45:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726813AbgBVQpV (ORCPT + 99 others); Sat, 22 Feb 2020 11:45:21 -0500 Received: from mga07.intel.com ([134.134.136.100]:47003 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbgBVQpU (ORCPT ); Sat, 22 Feb 2020 11:45:20 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Feb 2020 08:45:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,472,1574150400"; d="scan'208";a="349603727" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 22 Feb 2020 08:45:14 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1j5Xtx-0001CW-Nc; Sun, 23 Feb 2020 00:45:13 +0800 Date: Sun, 23 Feb 2020 00:44:49 +0800 From: kbuild test robot To: Scott Branden Cc: kbuild-all@lists.01.org, Luis Chamberlain , Greg Kroah-Hartman , David Brown , Alexander Viro , Shuah Khan , bjorn.andersson@linaro.org, Shuah Khan , Arnd Bergmann , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-fsdevel@vger.kernel.org, BCM Kernel Feedback , Olof Johansson , Andrew Morton , Dan Carpenter , Colin Ian King , Kees Cook , Takashi Iwai , linux-kselftest@vger.kernel.org, Andy Gross , Scott Branden , Desmond Yan , James Hu , Linux Memory Management List Subject: Re: [PATCH v2 6/7] misc: bcm-vk: add Broadcom VK driver Message-ID: <202002230019.zc13SqPI%lkp@intel.com> References: <20200220004825.23372-7-scott.branden@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200220004825.23372-7-scott.branden@broadcom.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Scott, I love your patch! Perhaps something to improve: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on kselftest/next linus/master v5.6-rc2] [cannot apply to driver-core/driver-core-testing next-20200221] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Scott-Branden/firmware-add-partial-read-support-in-request_firmware_into_buf/20200222-032851 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 06e33595e96f212811066df192ae8bf802174296 reproduce: # apt-get install sparse # sparse version: v0.6.1-173-ge0787745-dirty make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> drivers/misc/bcm-vk/bcm_vk_dev.c:34:29: sparse: sparse: symbol 'image_tab' was not declared. Should it be static? >> drivers/misc/bcm-vk/bcm_vk_dev.c:185:15: sparse: sparse: incorrect type in assignment (different address spaces) >> drivers/misc/bcm-vk/bcm_vk_dev.c:185:15: sparse: expected struct bcm_vk_peer_log *p_ctl >> drivers/misc/bcm-vk/bcm_vk_dev.c:185:15: sparse: got void [noderef] * drivers/misc/bcm-vk/bcm_vk_dev.c:415:22: sparse: sparse: incorrect type in assignment (different address spaces) >> drivers/misc/bcm-vk/bcm_vk_dev.c:415:22: sparse: expected void *bufp drivers/misc/bcm-vk/bcm_vk_dev.c:415:22: sparse: got void [noderef] * >> drivers/misc/bcm-vk/bcm_vk_dev.c:654:36: sparse: sparse: incorrect type in argument 2 (different address spaces) >> drivers/misc/bcm-vk/bcm_vk_dev.c:654:36: sparse: expected void const [noderef] *from >> drivers/misc/bcm-vk/bcm_vk_dev.c:654:36: sparse: got struct vk_image *arg drivers/misc/bcm-vk/bcm_vk_dev.c:694:37: sparse: sparse: incorrect type in argument 2 (different address spaces) drivers/misc/bcm-vk/bcm_vk_dev.c:694:37: sparse: expected void const [noderef] *from >> drivers/misc/bcm-vk/bcm_vk_dev.c:694:37: sparse: got struct vk_access *arg drivers/misc/bcm-vk/bcm_vk_dev.c:717:31: sparse: sparse: incorrect type in argument 1 (different address spaces) >> drivers/misc/bcm-vk/bcm_vk_dev.c:717:31: sparse: expected void const volatile [noderef] * >> drivers/misc/bcm-vk/bcm_vk_dev.c:717:31: sparse: got unsigned int [usertype] * drivers/misc/bcm-vk/bcm_vk_dev.c:728:31: sparse: sparse: incorrect type in argument 1 (different address spaces) drivers/misc/bcm-vk/bcm_vk_dev.c:728:31: sparse: expected void const volatile [noderef] * drivers/misc/bcm-vk/bcm_vk_dev.c:728:31: sparse: got unsigned int [usertype] * drivers/misc/bcm-vk/bcm_vk_dev.c:793:36: sparse: sparse: incorrect type in argument 2 (different address spaces) drivers/misc/bcm-vk/bcm_vk_dev.c:793:36: sparse: expected void const [noderef] *from >> drivers/misc/bcm-vk/bcm_vk_dev.c:793:36: sparse: got struct vk_reset *arg drivers/misc/bcm-vk/bcm_vk_dev.c:873:45: sparse: sparse: incorrect type in argument 2 (different address spaces) >> drivers/misc/bcm-vk/bcm_vk_dev.c:873:45: sparse: expected struct vk_image *arg >> drivers/misc/bcm-vk/bcm_vk_dev.c:873:45: sparse: got void [noderef] *argp drivers/misc/bcm-vk/bcm_vk_dev.c:877:45: sparse: sparse: incorrect type in argument 2 (different address spaces) >> drivers/misc/bcm-vk/bcm_vk_dev.c:877:45: sparse: expected struct vk_access *arg drivers/misc/bcm-vk/bcm_vk_dev.c:877:45: sparse: got void [noderef] *argp drivers/misc/bcm-vk/bcm_vk_dev.c:881:40: sparse: sparse: incorrect type in argument 2 (different address spaces) >> drivers/misc/bcm-vk/bcm_vk_dev.c:881:40: sparse: expected struct vk_reset *arg drivers/misc/bcm-vk/bcm_vk_dev.c:881:40: sparse: got void [noderef] *argp -- >> drivers/misc/bcm-vk/bcm_vk_msg.c:102:6: sparse: sparse: symbol 'bcm_vk_update_qstats' was not declared. Should it be static? >> drivers/misc/bcm-vk/bcm_vk_msg.c:455:17: sparse: sparse: cast removes address space '' of expression drivers/misc/bcm-vk/bcm_vk_msg.c:656:15: sparse: sparse: cast removes address space '' of expression drivers/misc/bcm-vk/bcm_vk_msg.c:664:23: sparse: sparse: cast removes address space '' of expression >> drivers/misc/bcm-vk/bcm_vk_msg.c:734:5: sparse: sparse: symbol 'bcm_vk_handle_last_sess' was not declared. Should it be static? drivers/misc/bcm-vk/bcm_vk_msg.c:823:31: sparse: sparse: cast removes address space '' of expression drivers/misc/bcm-vk/bcm_vk_msg.c:851:47: sparse: sparse: cast removes address space '' of expression Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org