Skip to contentSkip to conversation

Warning that occured while compiling the nvec in 3.19.0-rc5+ is fixed

PATCH Greg KH 4 participants 4 messages Jan 31, 2015 – Feb 2, 2015 1 message not in the archive Tegra architecture support

lore
Share & tools
lore

Greg KH

author
#1 lore raw
In reply to a message not in the archive
Quoted 3 lines · varsharamt

The task was to fix a warning which was shown while compiling a driver called NVEC. I wrote a brief description about how to enable support for a nVidya complaint embedded controller.

This makes no sense, what "task"?

Quoted 1 line

Please use proper spaces.

Also, this doesn't match your From: line. And, is this the name you use to sign legal documents?

Quoted 9 lines
---
 drivers/staging/nvec/Kconfig | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
drivers/staging/nvec/Kconfig +0 -0
index 9475e20..a65ad4c 100644

drivers/staging/nvec/Kconfig config MFD_NVEC · line 10

Quoted 10 lines
drivers/staging/nvec/Kconfig +5 -2
@@ -3,33 +3,33 @@ config MFD_NVEC
 	depends on I2C && GPIOLIB && ARCH_TEGRA
 	select MFD_CORE
 	help
-	    Say Y here to enable support for a nVidia compliant embedded
-	    controller.
+	Say Y to enable support for a nVidia complaint embedded controller.
+	nVidia complaint embedded controller is used to communicate with EC.
+	This is done through I2C bus.
+	The request to the EC can be initiated by triggering a gpio line.
+	The gpio line is a generic pin on integrated circuit whose input or output pin can be controlled by the user at run time.

There's no way this is correct, look at how long your line is.

drivers/staging/nvec/Kconfig config MFD_NVEC · line 15

Quoted 8 lines
drivers/staging/nvec/Kconfig +1 -2
 config KEYBOARD_NVEC
 	tristate "Keyboard on nVidia compliant EC"
 	depends on MFD_NVEC && INPUT
 	help
-	  Say Y here to enable support for a keyboard connected to
-	  a nVidia compliant embedded controller.
+	Say Y here to enable support for a keyboard connected to a nVidia compliant embedded controller.

Why did you change these lines and the rest of the lines in this patch?

thanks,

greg k-h

#2 lore raw
Quoted 29 lines · Greg KH
Quoted 3 lines · varsharamt

The task was to fix a warning which was shown while compiling a driver called NVEC. I wrote a brief description about how to enable support for a nVidya complaint embedded controller.

This makes no sense, what "task"?

Quoted 1 line

Please use proper spaces.

Also, this doesn't match your From: line. And, is this the name you use to sign legal documents?

Quoted 14 lines
---
 drivers/staging/nvec/Kconfig | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
drivers/staging/nvec/Kconfig +0 -2
index 9475e20..a65ad4c 100644
@@ -3,33 +3,33 @@ config MFD_NVEC
      depends on I2C && GPIOLIB && ARCH_TEGRA
      select MFD_CORE
      help
-         Say Y here to enable support for a nVidia compliant embedded
-         controller.
Quoted 9 lines

drivers/staging/nvec/Kconfig config MFD_NVEC · line 10

Quoted 5 lines
drivers/staging/nvec/Kconfig +5 -0
+     Say Y to enable support for a nVidia complaint embedded controller.
+     nVidia complaint embedded controller is used to communicate with EC.
+     This is done through I2C bus.
+     The request to the EC can be initiated by triggering a gpio line.
+     The gpio line is a generic pin on integrated circuit whose input or output pin can be controlled by the user at run time.

There's no way this is correct, look at how long your line is.

I'm not even sure if this level of detail is needed. Why should anyone that reads the config option care how NVEC is enabled or communicated with?

Signature · 3 lines
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
#3 lore raw

Re: [PATCH] Warning that occured while compiling the nvec in3.19.0-rc5+ is fixed

Am Samstag 31 Januar 2015, 20:11:29 schrieb Julian Andres Klode:

Quoted 41 lines · Greg KH
Quoted 29 lines · varsharamt
Quoted 3 lines

The task was to fix a warning which was shown while compiling a driver called NVEC. I wrote a brief description about how to enable support for a nVidya complaint embedded controller.

This makes no sense, what "task"?

Quoted 1 line

Please use proper spaces.

Also, this doesn't match your From: line. And, is this the name you use to sign legal documents?

Quoted 15 lines

---

 drivers/staging/nvec/Kconfig | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
drivers/staging/nvec/Kconfig +0 -0
index 9475e20..a65ad4c 100644
@@ -3,33 +3,33 @@ config MFD_NVEC
 
      depends on I2C && GPIOLIB && ARCH_TEGRA
      select MFD_CORE
      help
 
Quoted 10 lines
Quoted 9 lines
drivers/staging/nvec/Kconfig +2 -2
-         Say Y here to enable support for a nVidia compliant embedded
-         controller.
+     Say Y to enable support for a nVidia complaint embedded controller.
+     nVidia complaint embedded controller is used to communicate with

EC.

drivers/staging/nvec/Kconfig +3 -0
+     This is done through I2C bus.
+     The request to the EC can be initiated by triggering a gpio line.
+     The gpio line is a generic pin on integrated circuit whose input or

output pin can be controlled by the user at run time.>

There's no way this is correct, look at how long your line is.

Quoted 3 lines

I'm not even sure if this level of detail is needed. Why should anyone that reads the config option care how NVEC is enabled or communicated with?

I didn't received the original mail, but I think this is related to a checkpatch warning which demands at least *three* lines of help text (we only have two). While the sense of such requirement is discussable, blowing up an already complete help text just to avoid a checkpatch warning doesn't make much sense to me.

Marc

#4 lore raw
In reply to Greg KH
Quoted 3 lines · varsharamt

The task was to fix a warning which was shown while compiling a driver called NVEC. I wrote a brief description about how to enable support for a nVidya complaint embedded controller.

Please note that NVIDIA is spelled/capitalized as NVIDIA.