From 11c4e61b49640d5d5ac95e0b52f8139ac40b59c6 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 21 Jan 2007 17:09:31 +0100 Subject: Makefile: Consolidate CFLAGS --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5895c63..16b61dc 100644 --- a/Makefile +++ b/Makefile @@ -11,11 +11,9 @@ prefix = /usr/local DESTDIR = CC := gcc -CFLAGS := $(CFLAGS) -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" -WARN := -Wstrict-prototypes -Wsign-compare -Wshadow \ - -Wchar-subscripts -Wmissing-declarations -Wnested-externs \ - -Wpointer-arith -Wcast-align -Wmissing-prototypes -CFLAGS += $(WARN) +CFLAGS := $(CFLAGS) -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \ + -Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts \ + -Wmissing-declarations -Wpointer-arith -Wcast-align -Wmissing-prototypes LDFLAGS := # Compile with 'make DEBUG=true' to enable debugging -- cgit v1.2.3-54-g00ecf ef9b5b638f7907f'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>2016-09-09 15:25:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-12 09:47:15 +0200
commita27cb25b64d9737df3e12f970ef9b5b638f7907f (patch)
tree9ab13f83fa75192e971a8c05f819a3f2e4e5ec78 /drivers
parenta747b42c8cd70bffe96862479aa1358553a0ab8f (diff)
staging: most: hdm-usb: unify returned errors
This patch is needed to return the same error codes for the same error cases in the functions show_value() and store_value(). Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de> Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/most/hdm-usb/hdm_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c