From: kernel test robot <lkp@intel.com>
To: Srinivasarao Pathipati <quic_spathi@quicinc.com>,
ulf.hansson@linaro.org, avri.altman@wdc.com,
linus.walleij@linaro.org, shawn.lin@rock-chips.com,
merez@codeaurora.org, s.shtylyov@omp.ru, huijin.park@samsung.com,
briannorris@chromium.org, digetx@gmail.com,
linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org,
Veerabhadrarao Badiganti <vbadigan@codeaurora.org>,
Shaik Sajida Bhanu <sbhanu@codeaurora.org>,
kamasali <quic_kamasali@quicinc.com>,
Srinivasarao Pathipati <quic_spathi@quicinc.com>
Subject: Re: [PATCH V1] mmc: core: Add partial initialization support
Date: Wed, 27 Apr 2022 04:07:11 +0800 [thread overview]
Message-ID: <202204270458.l6hjhnD4-lkp@intel.com> (raw)
In-Reply-To: <1650963852-4173-1-git-send-email-quic_spathi@quicinc.com>
Hi Srinivasarao,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on ulf-hansson-mmc-mirror/next v5.18-rc4 next-20220426]
[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/intel-lab-lkp/linux/commits/Srinivasarao-Pathipati/mmc-core-Add-partial-initialization-support/20220426-175124
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d615b5416f8a1afeb82d13b238f8152c572d59c0
config: nios2-randconfig-m031-20220425 (https://download.01.org/0day-ci/archive/20220427/202204270458.l6hjhnD4-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
smatch warnings:
drivers/mmc/core/mmc.c:2168 _mmc_suspend() warn: inconsistent indenting
vim +2168 drivers/mmc/core/mmc.c
2146
2147 static int _mmc_suspend(struct mmc_host *host, bool is_suspend)
2148 {
2149 int err = 0;
2150 unsigned int notify_type = is_suspend ? EXT_CSD_POWER_OFF_SHORT :
2151 EXT_CSD_POWER_OFF_LONG;
2152
2153 mmc_claim_host(host);
2154
2155 if (mmc_card_suspended(host->card))
2156 goto out;
2157
2158 err = _mmc_flush_cache(host);
2159 if (err)
2160 goto out;
2161
2162 if (mmc_can_poweroff_notify(host->card) &&
2163 ((host->caps2 & MMC_CAP2_FULL_PWR_CYCLE) || !is_suspend ||
2164 (host->caps2 & MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND)))
2165 err = mmc_poweroff_notify(host->card, notify_type);
2166 if (mmc_can_sleepawake(host)) {
2167 memcpy(&host->cached_ios, &host->ios, sizeof(host->cached_ios));
> 2168 mmc_cache_card_ext_csd(host);
2169 }
2170 if (mmc_can_sleep(host->card))
2171 err = mmc_sleepawake(host, true);
2172 else if (!mmc_host_is_spi(host))
2173 err = mmc_deselect_cards(host);
2174
2175 if (!err) {
2176 mmc_power_off(host);
2177 mmc_card_set_suspended(host->card);
2178 }
2179 out:
2180 mmc_release_host(host);
2181 return err;
2182 }
2183
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-04-26 20:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 9:04 Srinivasarao Pathipati
2022-04-26 18:33 ` Avri Altman
2022-04-26 20:07 ` kernel test robot [this message]
2022-04-27 7:35 ` Ulf Hansson
2022-05-24 11:58 ` Kamasali Satyanarayan (Consultant) (QUIC)
2022-05-24 14:37 ` Sarthak Garg (QUIC)
2022-05-31 9:23 ` Sarthak Garg (QUIC)
2022-06-15 22:48 ` Ulf Hansson
2023-09-26 6:39 ` Sarthak Garg
2023-09-28 3:20 ` Wenchao Chen
2023-10-04 10:45 ` Sarthak Garg
2022-06-02 7:56 ` Ben Chuang
2023-09-26 6:31 ` Sarthak Garg
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=202204270458.l6hjhnD4-lkp@intel.com \
--to=lkp@intel.com \
--cc=avri.altman@wdc.com \
--cc=briannorris@chromium.org \
--cc=digetx@gmail.com \
--cc=huijin.park@samsung.com \
--cc=kbuild-all@lists.01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=merez@codeaurora.org \
--cc=quic_kamasali@quicinc.com \
--cc=quic_spathi@quicinc.com \
--cc=s.shtylyov@omp.ru \
--cc=sbhanu@codeaurora.org \
--cc=shawn.lin@rock-chips.com \
--cc=ulf.hansson@linaro.org \
--cc=vbadigan@codeaurora.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®