From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Fri, 13 Jan 2012 08:32:25 +0100 Subject: [U-Boot] [PATCH 1/2] SPI: Add i.MX ECSPI driver In-Reply-To: <201201121637.20848.marek.vasut@gmail.com> References: <1326382034-31058-1-git-send-email-dirk.behme@de.bosch.com> <201201121637.20848.marek.vasut@gmail.com> Message-ID: <4F0FDE09.2010108@de.bosch.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12.01.2012 16:37, Marek Vasut wrote: >> From: Eric Nelson >> >> Signed-off-by: Eric Nelson >> CC: Jason Liu >> CC: Stefano Babic >> --- ... >> + if (max_hz < imx_spi_slave->freq) >> + imx_spi_slave->freq = max_hz ; > > " ;" <-- fix globally ... run tools/checkpatch.pl before submitting First, many thanks for the review! Just one question: Which checkpatch do you use for this? I ran checkpatch from Linux 3.2 before submitting and got [1] (which I think is ok). Using U-Boot's checkpatch I get [2]. Many thanks again and bet regards Dirk [1] linux-2.6.git/scripts/checkpatch.pl 0001-SPI-Add-i.MX-ECSPI-driver.patch WARNING: Use #include instead of #60: FILE: drivers/spi/imx_ecspi.c:26: +#include WARNING: Use #include instead of #62: FILE: drivers/spi/imx_ecspi.c:28: +#include total: 0 errors, 2 warnings, 438 lines checked 0001-SPI-Add-i.MX-ECSPI-driver.patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. [2] u-boot/tools/checkpatch.pl 0001-SPI-Add-i.MX-ECSPI-driver.patch total: 0 errors, 0 warnings, 438 lines checked NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE 0001-SPI-Add-i.MX-ECSPI-driver.patch has no obvious style problems and is ready for submission.