All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chevron Li <chevron.li@bayhubtech.com>,
	adrian.hunter@intel.com, ulf.hansson@linaro.org,
	agross@kernel.org, bjorn.andersson@linaro.org,
	linux-mmc@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, shirley.her@bayhubtech.com,
	fred.ai@bayhubtech.com, xiaoguang.yu@bayhubtech.com
Subject: Re: [PATCH 2/2] mmc:sdhci-bayhub:provide a solution to improve sd host card compatibility
Date: Sat, 22 Jan 2022 06:47:36 +0800	[thread overview]
Message-ID: <202201220601.vDkqlC2r-lkp@intel.com> (raw)
In-Reply-To: <20220121110909.104-2-chevron.li@bayhubtech.com>

Hi Chevron,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on c9e6606c7fe92b50a02ce51dda82586ebdf99b48]

url:    https://github.com/0day-ci/linux/commits/Chevron-Li/mmc-sdhci-msm-fix-Qualcomm-sd-host-7180-SD-card-compatibility-issue/20220121-191113
base:   c9e6606c7fe92b50a02ce51dda82586ebdf99b48
config: arm64-randconfig-s032-20220118 (https://download.01.org/0day-ci/archive/20220122/202201220601.vDkqlC2r-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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.4-dirty
        # https://github.com/0day-ci/linux/commit/8916351ffe4bd538ba3bf2c5e16a151fb47674fe
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Chevron-Li/mmc-sdhci-msm-fix-Qualcomm-sd-host-7180-SD-card-compatibility-issue/20220121-191113
        git checkout 8916351ffe4bd538ba3bf2c5e16a151fb47674fe
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
   drivers/mmc/host/sdhci-msm.c: note: in included file:
>> drivers/mmc/host/sdhci-bayhub.c:1498:28: sparse: sparse: Using plain integer as NULL pointer
   drivers/mmc/host/sdhci-bayhub.c:2945:40: sparse: sparse: Using plain integer as NULL pointer
   drivers/mmc/host/sdhci-bayhub.c:2945:43: sparse: sparse: Using plain integer as NULL pointer
   drivers/mmc/host/sdhci-bayhub.c:2945:46: sparse: sparse: Using plain integer as NULL pointer

vim +1498 drivers/mmc/host/sdhci-bayhub.c

  1480	
  1481	static bool ggc_read_registers_ext(struct sdhci_host *host,
  1482			bool *card_status, bool *read_status,
  1483			struct ggc_reg_op *gg_reg_arr, u8 num)
  1484	{
  1485		u8 get_idx = 0;
  1486		bool ret = false;
  1487		struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
  1488		struct sdhci_msm_host *vendor_host = sdhci_pltfm_priv(pltfm_host);
  1489		struct sdhci_bht_host *ggc = sdhci_msm_priv(vendor_host);
  1490	
  1491		if (read_status)
  1492			*read_status = false;
  1493		if (card_status)
  1494			*card_status = false;
  1495	
  1496		memset(ggc->cur_read_buf, 0, 512);
  1497		ret = gg_emulator_read_ext(host, card_status, read_status, ggc->cur_read_buf, 512);
> 1498		if (read_status == false)
  1499			goto exit;
  1500	
  1501		for (get_idx = 0; get_idx < num; get_idx++)
  1502			(gg_reg_arr + get_idx)->value =
  1503				_read_status_data_read_register(ggc->cur_read_buf, (gg_reg_arr + get_idx));
  1504	
  1505	exit:
  1506		return ret;
  1507	}
  1508	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 2/2] mmc:sdhci-bayhub:provide a solution to improve sd host card compatibility
Date: Sat, 22 Jan 2022 06:47:36 +0800	[thread overview]
Message-ID: <202201220601.vDkqlC2r-lkp@intel.com> (raw)
In-Reply-To: <20220121110909.104-2-chevron.li@bayhubtech.com>

[-- Attachment #1: Type: text/plain, Size: 3143 bytes --]

Hi Chevron,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on c9e6606c7fe92b50a02ce51dda82586ebdf99b48]

url:    https://github.com/0day-ci/linux/commits/Chevron-Li/mmc-sdhci-msm-fix-Qualcomm-sd-host-7180-SD-card-compatibility-issue/20220121-191113
base:   c9e6606c7fe92b50a02ce51dda82586ebdf99b48
config: arm64-randconfig-s032-20220118 (https://download.01.org/0day-ci/archive/20220122/202201220601.vDkqlC2r-lkp(a)intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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.4-dirty
        # https://github.com/0day-ci/linux/commit/8916351ffe4bd538ba3bf2c5e16a151fb47674fe
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Chevron-Li/mmc-sdhci-msm-fix-Qualcomm-sd-host-7180-SD-card-compatibility-issue/20220121-191113
        git checkout 8916351ffe4bd538ba3bf2c5e16a151fb47674fe
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
   drivers/mmc/host/sdhci-msm.c: note: in included file:
>> drivers/mmc/host/sdhci-bayhub.c:1498:28: sparse: sparse: Using plain integer as NULL pointer
   drivers/mmc/host/sdhci-bayhub.c:2945:40: sparse: sparse: Using plain integer as NULL pointer
   drivers/mmc/host/sdhci-bayhub.c:2945:43: sparse: sparse: Using plain integer as NULL pointer
   drivers/mmc/host/sdhci-bayhub.c:2945:46: sparse: sparse: Using plain integer as NULL pointer

vim +1498 drivers/mmc/host/sdhci-bayhub.c

  1480	
  1481	static bool ggc_read_registers_ext(struct sdhci_host *host,
  1482			bool *card_status, bool *read_status,
  1483			struct ggc_reg_op *gg_reg_arr, u8 num)
  1484	{
  1485		u8 get_idx = 0;
  1486		bool ret = false;
  1487		struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
  1488		struct sdhci_msm_host *vendor_host = sdhci_pltfm_priv(pltfm_host);
  1489		struct sdhci_bht_host *ggc = sdhci_msm_priv(vendor_host);
  1490	
  1491		if (read_status)
  1492			*read_status = false;
  1493		if (card_status)
  1494			*card_status = false;
  1495	
  1496		memset(ggc->cur_read_buf, 0, 512);
  1497		ret = gg_emulator_read_ext(host, card_status, read_status, ggc->cur_read_buf, 512);
> 1498		if (read_status == false)
  1499			goto exit;
  1500	
  1501		for (get_idx = 0; get_idx < num; get_idx++)
  1502			(gg_reg_arr + get_idx)->value =
  1503				_read_status_data_read_register(ggc->cur_read_buf, (gg_reg_arr + get_idx));
  1504	
  1505	exit:
  1506		return ret;
  1507	}
  1508	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

  parent reply	other threads:[~2022-01-21 22:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21 11:09 [PATCH 1/2] mmc:sdhci-msm:fix Qualcomm sd host 7180 SD card compatibility issue Chevron Li
2022-01-21 11:09 ` [PATCH 2/2] mmc:sdhci-bayhub:provide a solution to improve sd host card compatibility Chevron Li
2022-01-21 15:37   ` Ulf Hansson
2022-01-21 17:59   ` kernel test robot
2022-01-21 17:59     ` kernel test robot
2022-01-21 18:50   ` kernel test robot
2022-01-21 18:50     ` kernel test robot
2022-01-21 22:47   ` kernel test robot [this message]
2022-01-21 22:47     ` kernel test robot
2022-01-21 21:33 ` [PATCH 1/2] mmc:sdhci-msm:fix Qualcomm sd host 7180 SD card compatibility issue kernel test robot
2022-01-21 21:33   ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202201220601.vDkqlC2r-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=adrian.hunter@intel.com \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=chevron.li@bayhubtech.com \
    --cc=fred.ai@bayhubtech.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=shirley.her@bayhubtech.com \
    --cc=ulf.hansson@linaro.org \
    --cc=xiaoguang.yu@bayhubtech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.