[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <X7aXG6kC5zZWlpqg@rocinante>
Date: Thu, 19 Nov 2020 17:02:35 +0100
From: Krzysztof WilczyĆski <kw@...ux.com>
To: Wang Hai <wanghai38@...wei.com>
Cc: Jisheng.Zhang@...aptics.com, jingoohan1@...il.com,
gustavo.pimentel@...opsys.com, lorenzo.pieralisi@....com,
robh@...nel.org, bhelgaas@...gle.com, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] PCI: dwc: fix error return code in dw_pcie_host_init()
Hi Hai,
Thank you for taking care about this.
On 20-11-17 14:41:42, Wang Hai wrote:
I would have to ask you to capitalise the first letter in the subject
line as it has been done for other patches. Check Git history to see
what it normally would look like.
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
The above commit message was taken from the first patch, and might not
be accurate any more. As now you are passing an error code from the
dma_mapping_error() function rather than just setting the ret variable.
Also, the ret variable might have either undetermined value or some
other value from previous assignment, not necessarily 0 there.
Krzysztof
Powered by blists - more mailing lists