回复: [PATCH v1] spi: Use dev_err_probe instead of dev_err

王明-软件底层技术部 machel at vivo.com
Wed Jul 19 18:01:41 PDT 2023


Ok, I will modify and resubmit it immediately
-----邮件原件-----
发件人: Mark Brown <broonie at kernel.org> 
发送时间: 2023年7月19日 20:38
收件人: 王明-软件底层技术部 <machel at vivo.com>
抄送: Florian Fainelli <f.fainelli at gmail.com>; Ray Jui <rjui at broadcom.com>; Scott Branden <sbranden at broadcom.com>; Broadcom internal kernel review list <bcm-kernel-feedback-list at broadcom.com>; linux-spi at vger.kernel.org; linux-rpi-kernel at lists.infradead.org; linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org; opensource.kernel <opensource.kernel at vivo.com>
主题: Re: [PATCH v1] spi: Use dev_err_probe instead of dev_err

On Wed, Jul 19, 2023 at 05:37:02AM +0000, 王明-软件底层技术部 wrote:

> +		ret = dev_err_probe(dev, PTR_ERR(ctlr->dma_tx),
> +							"no tx-dma configuration found - not using dma mode\n");

The indentation on the second line here is badly messed up, it's indented far too much.  Same for the rx channel.


More information about the linux-arm-kernel mailing list