2017-08-08 22:58:30

by Matthew Gerlach

[permalink] [raw]
Subject: [PATCH] mtd: spi-nor: fix "No newline at end of file"

From: Matthew Gerlach <[email protected]>

Add a newline to the end of drivers/spi-nor/Makefile to get rid the message,
"No newline at end of file", produced by git. This fix will allow subsequent
changes to the file to be able to produce clean patches.

Signed-off-by: Matthew Gerlach <[email protected]>
---
drivers/mtd/spi-nor/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
index c5f171d..7d84c51 100644
--- a/drivers/mtd/spi-nor/Makefile
+++ b/drivers/mtd/spi-nor/Makefile
@@ -9,4 +9,4 @@ obj-$(CONFIG_SPI_NXP_SPIFI) += nxp-spifi.o
obj-$(CONFIG_SPI_INTEL_SPI) += intel-spi.o
obj-$(CONFIG_SPI_INTEL_SPI_PCI) += intel-spi-pci.o
obj-$(CONFIG_SPI_INTEL_SPI_PLATFORM) += intel-spi-platform.o
-obj-$(CONFIG_SPI_STM32_QUADSPI) += stm32-quadspi.o
\ No newline at end of file
+obj-$(CONFIG_SPI_STM32_QUADSPI) += stm32-quadspi.o
--
2.7.4


2017-08-14 16:12:00

by Cyrille Pitchen

[permalink] [raw]
Subject: Re: [PATCH] mtd: spi-nor: fix "No newline at end of file"

Le 09/08/2017 à 00:58, [email protected] a écrit :
> From: Matthew Gerlach <[email protected]>
>
> Add a newline to the end of drivers/spi-nor/Makefile to get rid the message,
> "No newline at end of file", produced by git. This fix will allow subsequent
> changes to the file to be able to produce clean patches.
>
> Signed-off-by: Matthew Gerlach <[email protected]>

Applied to the spi-nor/next branch of l2-mtd

Thanks!
> ---
> drivers/mtd/spi-nor/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
> index c5f171d..7d84c51 100644
> --- a/drivers/mtd/spi-nor/Makefile
> +++ b/drivers/mtd/spi-nor/Makefile
> @@ -9,4 +9,4 @@ obj-$(CONFIG_SPI_NXP_SPIFI) += nxp-spifi.o
> obj-$(CONFIG_SPI_INTEL_SPI) += intel-spi.o
> obj-$(CONFIG_SPI_INTEL_SPI_PCI) += intel-spi-pci.o
> obj-$(CONFIG_SPI_INTEL_SPI_PLATFORM) += intel-spi-platform.o
> -obj-$(CONFIG_SPI_STM32_QUADSPI) += stm32-quadspi.o
> \ No newline at end of file
> +obj-$(CONFIG_SPI_STM32_QUADSPI) += stm32-quadspi.o
>