All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [GIT PULL] Please pull u-boot-mmc master
Date: Tue, 16 Jan 2018 17:50:16 +0900	[thread overview]
Message-ID: <3e6e5574-7775-cd10-1f2d-b82145e84fda@samsung.com> (raw)
In-Reply-To: <20180115135357.GK4660@bill-the-cat>

On 01/15/2018 10:53 PM, Tom Rini wrote:
> On Mon, Jan 15, 2018 at 11:35:05AM +0900, Jaehoon Chung wrote:
> 
>> Dear Tom,
>>
>> Could you pull these patches to u-boot/master?
>> Main topic is the support for HS200/UHS mode. 
>> If there are any problem, let me know. After applying to u-boot/master, will apply the other patches.
>>
>> The following changes since commit f3dd87e0b98999a78e500e8c6d2b063ebadf535a:
>>
>>   Prepare v2018.01 (2018-01-08 20:25:29 -0500)
>>
>> are available in the Git repository at:
>>
>>   git://git.denx.de/u-boot-mmc.git master
>>
>> for you to fetch changes up to db359efd5907edbeaea2e3eb3504729f60208cd8:
>>
>>   mmc: fsl_esdhc: Fix eMMC 1.8v setting issue (2018-01-13 00:08:44 +0900)
>>
> 
> Applied to u-boot/master, thanks!

Thanks!

> 
> But please note the following issues from checkpatch that need to be
> looked into and possibly followed up on:

I have also checked from checkpatch.pl..Will fix the something to check.

Best Regards,
Jaehoon Chung

> CHECK: Macro argument reuse 'mwt' - possible side-effects?
> #180: FILE: drivers/mmc/mmc.c:1245:
> +#define for_each_sd_mode_by_pref(caps, mwt) \
> +	for (mwt = sd_modes_by_pref;\
> +	     mwt < sd_modes_by_pref + ARRAY_SIZE(sd_modes_by_pref);\
> +	     mwt++) \
> +		if (caps & MMC_CAP(mwt->mode))
> 
> total: 0 errors, 0 warnings, 1 checks, 265 lines checked
> CHECK: Macro argument reuse 'mwt' - possible side-effects?
> #159: FILE: drivers/mmc/mmc.c:1382:
> +#define for_each_mmc_mode_by_pref(caps, mwt) \
> +	for (mwt = mmc_modes_by_pref;\
> +	    mwt < mmc_modes_by_pref + ARRAY_SIZE(mmc_modes_by_pref);\
> +	    mwt++) \
> +		if (caps & MMC_CAP(mwt->mode))
> 
> CHECK: Macro argument reuse 'ecbv' - possible side-effects?
> #177: FILE: drivers/mmc/mmc.c:1400:
> +#define for_each_supported_width(caps, ddr, ecbv) \
> +	for (ecbv = ext_csd_bus_width;\
> +	    ecbv < ext_csd_bus_width + ARRAY_SIZE(ext_csd_bus_width);\
> +	    ecbv++) \
> +		if ((ddr == ecbv->is_ddr) && (caps & ecbv->cap))
> 
> CHECK: Alignment should match open parenthesis
> #253: FILE: drivers/mmc/mmc.c:1437:
> +			err = mmc_switch(mmc, EXT_CSD_CMD_SET_NORMAL,
> +				    EXT_CSD_BUS_WIDTH,
> 
> WARNING: 'occured' may be misspelled - perhaps 'occurred'?
> #292: FILE: drivers/mmc/mmc.c:1469:
> +			/* if an error occured, revert to a safer bus mode */
> 
> total: 0 errors, 1 warnings, 3 checks, 320 lines checked
> WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
> #7: 
> function ignore this. Modify mmc_set_ios() and the callers of mmc_set_ios() to
> 
> total: 0 errors, 1 warnings, 0 checks, 46 lines checked
> WARNING: ENOSYS means 'invalid syscall nr' and nothing else
> #30: FILE: drivers/mmc/mmc-uclass.c:100:
> +		return -ENOSYS;
> 
> total: 0 errors, 1 warnings, 0 checks, 60 lines checked
> WARNING: 'capabilites' may be misspelled - perhaps 'capabilities'?
> #6: 
> Add UHS modes to the list of supported modes, get the UHS capabilites of
> 
> total: 0 errors, 5 warnings, 0 checks, 381 lines checked
> WARNING: line over 80 characters
> #59: FILE: drivers/mmc/mmc.c:2217:
> +		debug("Unable to do a full power cycle. Disabling the UHS modes for safety\n");
> 
> total: 0 errors, 1 warnings, 0 checks, 50 lines checked
> WARNING: 'optionnal' may be misspelled - perhaps 'optional'?
> #13: 
> To make it clear that those are optionnal workarounds, a new Kconfig
> 
> total: 0 errors, 1 warnings, 0 checks, 102 lines checked
> WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
> #6: 
> The SDcard initialization procedure does a few more things than it did earlier:
> 
> total: 0 errors, 1 warnings, 0 checks, 13 lines checked
> WARNING: please write a paragraph that describes the config symbol fully
> #50: FILE: common/spl/Kconfig:419:
> +config SPL_MMC_WRITE
> 
> WARNING: please write a paragraph that describes the config symbol fully
> #69: FILE: drivers/mmc/Kconfig:13:
> +config MMC_WRITE
> 
> total: 0 errors, 2 warnings, 0 checks, 82 lines checked
> CHECK: Unbalanced braces around else statement
> #85: FILE: drivers/mmc/mmc.c:2089:
> +	else {
> 
> total: 0 errors, 0 warnings, 1 checks, 116 lines checked
> WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
> #35: 
> new file mode 100644
> 
> total: 0 errors, 1 warnings, 0 checks, 403 lines checked
> WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
> #27: 
> new file mode 100644
> 

  reply	other threads:[~2018-01-16  8:50 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180115023505epcas1p37c76459b4841dd1817c53159477db616@epcas1p3.samsung.com>
2018-01-15  2:35 ` [U-Boot] [GIT PULL] Please pull u-boot-mmc master Jaehoon Chung
2018-01-15 13:53   ` Tom Rini
2018-01-16  8:50     ` Jaehoon Chung [this message]
     [not found] <CGME20180508072215epcas1p2cbd07880b5188605fe679ccb248b87eb@epcas1p2.samsung.com>
2018-05-08  7:22 ` Jaehoon Chung
2018-05-09  1:30   ` Tom Rini
     [not found] <CGME20180502020320epcas1p1b59166567ba1b0c1bb1c700503bc2d09@epcas1p1.samsung.com>
2018-05-02  2:03 ` Jaehoon Chung
2018-05-02 22:10   ` Tom Rini
     [not found] <CGME20180226015859epcas1p30bda4a35316c512366573946d617d484@epcas1p3.samsung.com>
2018-02-26  1:58 ` [U-Boot] [GIT PULL ] " Jaehoon Chung
2018-02-26 15:49   ` Tom Rini
     [not found] <CGME20180220035728epcas2p152ee76e870ed334c7e91ef8d7ec0b699@epcas2p1.samsung.com>
2018-02-20  3:57 ` Jaehoon Chung
2018-02-20 13:20   ` Tom Rini
     [not found] <CGME20180219112702epcas1p2bb88ec4017cd6b54b2ea2d8801ec3835@epcas1p2.samsung.com>
2018-02-19 11:27 ` [U-Boot] [GIT PULL] " Jaehoon Chung
2018-02-19 14:47   ` Jaehoon Chung
2018-02-19 14:48     ` Tom Rini
2018-02-19 17:00       ` Marek Vasut
     [not found] <CGME20180124073159epcas2p18ec97927c7e6c3c04bbe52a8240492fb@epcas2p1.samsung.com>
2018-01-24  7:31 ` Jaehoon Chung
2018-01-25  0:57   ` Jaehoon Chung
2018-01-25  1:44     ` Tom Rini
2018-01-25  2:25   ` Tom Rini
     [not found] <CGME20171128022004epcas2p150a95af40d2b05cefb9817e1582f58ab@epcas2p1.samsung.com>
2017-11-28  2:20 ` Jaehoon Chung
2017-11-28 12:15   ` Tom Rini
2017-11-28 16:22     ` Jean-Jacques Hiblot
2017-11-30  1:39       ` Jaehoon Chung
2017-11-30  1:35     ` Jaehoon Chung
     [not found] <CGME20171127075849epcas2p2e0e6f0ddab3c8c25ddd093353fa52331@epcas2p2.samsung.com>
2017-11-27  7:58 ` Jaehoon Chung
2017-11-27  9:31   ` Jaehoon Chung
     [not found] <CGME20171023045432epcas2p37d83600c293491c657180667df894ae6@epcas2p3.samsung.com>
2017-10-23  4:54 ` Jaehoon Chung
2017-10-24  7:58   ` Jaehoon Chung
     [not found] <CGME20170925053103epcas2p190b97c9c8b6b7ce3fa5859b3b662463a@epcas2p1.samsung.com>
2017-09-25  5:31 ` Jaehoon Chung
2017-09-26 12:17   ` Tom Rini
     [not found] <CGME20170818053954epcas1p232acd1af824a992adc6aaa44c1e7a907@epcas1p2.samsung.com>
2017-08-18  5:39 ` Jaehoon Chung
2017-08-18  6:35   ` Jaehoon Chung
     [not found] <CGME20170731025907epcas1p1fb9b643ec83cc77b12ab0d8550755be7@epcas1p1.samsung.com>
2017-07-31  2:59 ` Jaehoon Chung
2017-07-31 11:27   ` Tom Rini
2017-08-01  2:48     ` Jaehoon Chung
     [not found] <CGME20170719101711epcas5p1e73a75ea548997594e3f5ba23da0e565@epcas5p1.samsung.com>
2017-07-19 10:17 ` Jaehoon Chung
2017-07-21 15:48   ` Tom Rini
     [not found] <CGME20170630034821epcas1p193104bec121303c6897391e690a943f3@epcas1p1.samsung.com>
2017-06-30  3:48 ` Jaehoon Chung
2017-06-30 10:48   ` Tom Rini
2017-06-30 11:59     ` Jaehoon Chung
     [not found] <CGME20170609112846epcas1p1db6eece58f727344e6789e434afa09c9@epcas1p1.samsung.com>
2017-06-09 11:28 ` Jaehoon Chung
2017-06-10 22:00   ` Tom Rini
     [not found] <CGME20170529083151epcas5p1d26d3ff44c53bba61cc380bfd78a910f@epcas5p1.samsung.com>
2017-05-29  8:31 ` Jaehoon Chung
2017-05-31  2:06   ` Tom Rini
     [not found] <CGME20170515050639epcas1p3d4f0aca8a724070fbe556078835f2e61@epcas1p3.samsung.com>
2017-05-15  5:06 ` Jaehoon Chung
2017-05-15  6:18   ` Jaehoon Chung
     [not found] <CGME20170414065148epcas5p1f02fb69f9925f4b4a7bf176a76e447f7@epcas5p1.samsung.com>
2017-04-14  6:51 ` Jaehoon Chung
2017-04-14 21:09   ` Tom Rini
     [not found] <CGME20170330052139epcas5p1e95ad9a80664dd907de79e6c2ad05763@epcas5p1.samsung.com>
2017-03-30  5:21 ` Jaehoon Chung
2017-04-04 20:00   ` Tom Rini
     [not found] <CGME20170321121100epcas5p19374186df9de3d740bceb6ba2d97f8c3@epcas5p1.samsung.com>
2017-03-21 12:11 ` Jaehoon Chung
2017-03-22  0:51   ` Tom Rini
     [not found] <CGME20170209115016epcas5p2c78275706402e633c0da384936a1692f@epcas5p2.samsung.com>
2017-02-09 11:50 ` Jaehoon Chung
2017-02-09 19:50   ` Tom Rini
     [not found] <CGME20170131232440epcas5p2ff99c09928cf938f10d640785b25b911@epcas5p2.samsung.com>
2017-01-31 23:24 ` Jaehoon Chung
2017-02-01 21:33   ` Tom Rini
     [not found] <CGME20170124093735epcas5p2696f062ee887233d1eacc5319f25b156@epcas5p2.samsung.com>
2017-01-24  9:37 ` Jaehoon Chung
2017-01-25  2:15   ` Tom Rini
     [not found] <CGME20170110054802epcas5p47773e1927ecb61adccb970ff738c45a2@epcas5p4.samsung.com>
2017-01-10  5:48 ` Jaehoon Chung
2017-01-10 17:32   ` Tom Rini
2017-01-11  2:11     ` Jaehoon Chung
2017-01-11 12:39     ` Jaehoon Chung
2017-01-11 16:28       ` Tom Rini
     [not found] <CGME20170103011718epcas5p45970bc6129500aea930bc0e359be6cb4@epcas5p4.samsung.com>
2017-01-03  1:17 ` Jaehoon Chung
2017-01-03  1:19   ` Jaehoon Chung
2017-01-05 14:34   ` Tom Rini
2017-01-06  1:19     ` Jaehoon Chung
2016-12-21 22:12 Jaehoon Chung
2016-12-22  2:30 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2016-12-01  7:01 Jaehoon Chung
2016-12-01 18:17 ` Tom Rini

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=3e6e5574-7775-cd10-1f2d-b82145e84fda@samsung.com \
    --to=jh80.chung@samsung.com \
    --cc=u-boot@lists.denx.de \
    /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.