This cleanup was already completed between end 2011 and early 2012
with a patch series from Lars-Peter Clausen:
https://lkml.org/lkml/2011/11/24/190
Later on new redundant initialization re-appeared here and there.
Time to cleanup again.
And, yes, I'm lazy! I copy-paste the exact same commit
In ancient times it was necessary to manually initialize the bus
field of an spi_driver to spi_bus_type. These days this is done in
spi_register_driver(), so we can drop the manual assignment.
Signed-off-by: Antonio Borneo borneo.anto...@gmail.com
To: Greg Kroah-Hartman gre...@linuxfoundation.org
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
drivers/staging/rtl8192u/r8192U_core.c | 7 ---
drivers/staging/rtl8192u/r8192U_dm.c | 21 +++--
2 files changed, 15 insertions(+), 13 deletions(-)
On 23 Jun 2015, at 16:51, Dan Carpenter dan.carpen...@oracle.com wrote:
On Tue, Jun 23, 2015 at 03:42:30PM +0300, Dmitry Kalinkin wrote:
@@ -178,38 +167,24 @@ static ssize_t buffer_to_user(unsigned int minor, char
__user *buf,
size_t count, loff_t *ppos)
{
On Tue, Jun 23, 2015 at 2:42 PM, Dmitry Kalinkin
dmitry.kalin...@gmail.com wrote:
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
You left one in the function declarations (vme_user_write).
---
drivers/staging/vme/devices/vme_user.c | 33 +
1 file
On Tue, Jun 23, 2015 at 3:59 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
On Tue, Jun 23, 2015 at 03:37:20PM +0200, Frans Klaver wrote:
On Tue, Jun 23, 2015 at 3:21 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
if (dm_digtable.dig_algorithm_switch) {
@@ -3062,7
On 23 Jun 2015, at 16:21, Frans Klaver franskla...@gmail.com wrote:
You left one in the function declarations (vme_user_write).
If you mean forward declarations, they are already gone in Greg’s tree:
On Monday 22 June 2015 10:45 PM, Dan Carpenter wrote:
You should have CC'd Mark on these. Use ./scripts/get_maintainer.pl
regards,
dan carpenter
Thanks Dan.I did use the get_maintainer.pl as I do always. I missed
Marks email ID. It was my mistake.Thanks for adding him.Greg has already
On Tue, Jun 23, 2015 at 02:56:38PM +0200, Frans Klaver wrote:
On Tue, Jun 23, 2015 at 2:52 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
On Tue, Jun 23, 2015 at 3:44 PM, Dmitry Kalinkin
dmitry.kalin...@gmail.com wrote:
On 23 Jun 2015, at 16:21, Frans Klaver franskla...@gmail.com wrote:
You left one in the function declarations (vme_user_write).
If you mean forward declarations, they are already gone in Greg’s tree:
On Tue, Jun 23, 2015 at 3:21 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
if (dm_digtable.dig_algorithm_switch) {
@@ -3062,7 +3062,8 @@ static void dm_dynamic_txpower(struct net_device
*dev)
priv-bDynamicTxLowPower = false;
}
On Tue, Jun 23, 2015 at 03:42:30PM +0300, Dmitry Kalinkin wrote:
@@ -178,38 +167,24 @@ static ssize_t buffer_to_user(unsigned int minor, char
__user *buf,
size_t count, loff_t *ppos)
{
void *image_ptr;
- ssize_t retval;
image_ptr =
On Monday 22 June 2015 08:46 PM, Dan Carpenter wrote:
On Thu, Jun 18, 2015 at 12:56:54PM +, Gujulan Elango, Hari Prasath (H.)
wrote:
From: Hari Prasath Gujulan Elango hguju...@visteon.com
This patch modifies few debug prints from pr_err() to pr_info() as they
fall under that category.
On Tue, Jun 23, 2015 at 2:52 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
drivers/staging/rtl8192u/r8192U_core.c | 7 ---
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
drivers/staging/rtl8192u/r8192U_core.c | 13 -
drivers/staging/rtl8192u/r8192U_dm.c | 21 +++--
2 files changed, 15 insertions(+), 19
On Tue, Jun 23, 2015 at 03:37:20PM +0200, Frans Klaver wrote:
On Tue, Jun 23, 2015 at 3:21 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
if (dm_digtable.dig_algorithm_switch) {
@@ -3062,7 +3062,8 @@ static void dm_dynamic_txpower(struct net_device
*dev)
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 4 ++--
.../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index 28a70f4..6f5bbc4 100644
---
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index 85eb6ee..28a70f4 100644
---
First four patches are fixes for various checpatch warnings. Next there is a
change to drop large read()/write() stub followed by a change to rework user
copy error codes. Last three changes are refactorings.
Dmitry Kalinkin (9):
staging: vme_user: fix code alignment
staging: vme_user: fix
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index 6f5bbc4..14f9554
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 33 +
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 47 --
1 file changed, 11 insertions(+), 36 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index b6d81e5..db5f890 100644
---
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index 1f00ad7..b6d81e5 100644
---
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index 285e00e..1f00ad7 100644
---
This changes large master transfers to do shorter read/write rather than
return -EINVAL. User space will now be able to optimistically request a
large transfer and get at least some data.
This also removes comments suggesting on how to implement large
transfers. Current vme_master_* read and
On Tuesday 23 June 2015 02:07 PM, Dan Carpenter wrote:
On Mon, Jun 22, 2015 at 04:48:01AM +, Gujulan Elango, Hari Prasath (H.)
wrote:
From: Hari Prasath Gujulan Elango hguju...@visteon.com
This patch fixes a typo in the debug statement
Signed-off-by: Hari Prasath Gujulan Elango
On Tue, Jun 23, 2015 at 03:04:32PM +0200, Frans Klaver wrote:
On Tue, Jun 23, 2015 at 2:52 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
drivers/staging/rtl8192u/r8192U_core.c | 13 -
drivers/staging/rtl8192u/r8192U_dm.c | 21 +++--
2 files changed, 15 insertions(+), 19
On Tuesday 23 June 2015 02:16 PM, Dan Carpenter wrote:
On Mon, Jun 22, 2015 at 07:26:25AM +, Gujulan Elango, Hari Prasath (H.)
wrote:
@@ -122,7 +121,7 @@ void setChipClock(unsigned int frequency)
* Sometime, the chip cannot set up the exact clock required by
User.
On Tue, Jun 23, 2015 at 2:52 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
drivers/staging/rtl8192u/r8192U_core.c | 7 ---
On Tue, Jun 23, 2015 at 03:59:41PM +0200, Frans Klaver wrote:
On Tue, Jun 23, 2015 at 3:59 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
On Tue, Jun 23, 2015 at 03:37:20PM +0200, Frans Klaver wrote:
On Tue, Jun 23, 2015 at 3:21 PM, Luis de Bethencourt
l...@debethencourt.com wrote:
Inverting the value of eof is a more direct way of passing to the debugging
function if eof is false or not.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
-Original Message-
From: K. Y. Srinivasan [mailto:k...@microsoft.com]
Sent: Sunday, June 21, 2015 7:56 PM
To: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org;
de...@linuxdriverproject.org; mi...@kernel.org; pet...@infradead.org;
rafael.j.wyso...@intel.com;
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 33 +
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index ccf9602..494655a 100644
---
First four patches are fixes for various checpatch warnings. Next there is a
change to drop large read()/write() stub followed by a change to rework user
copy error codes. Last three changes are refactorings.
v2 fixes (vme_user: return -EFAULT on __copy_*_user errors) that had EINVAL
instead
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index 494655a..2ff15f0 100644
---
Dear Sir,
The Central Bank of Nigeria (CBN) , Fact Finding Special Duties office on
foreign contract (FFSDO), has been given order to effect your contract and
inheritance payment with reference number (LM-07-4918) amounting to the tune of
(US$12,800.000.00) (Twelve Million Eight hundred
This changes large master transfers to do shorter read/write rather than
return -EINVAL. User space will now be able to optimistically request a
large transfer and get at least some data.
This also removes comments suggesting on how to implement large
transfers. Current vme_master_* read and
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index cf47649..de9eda5 100644
---
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index 2ff15f0..3467cde 100644
---
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index 070e63f..cf47649 100644
---
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 47 --
1 file changed, 11 insertions(+), 36 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index
Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com
---
drivers/staging/vme/devices/vme_user.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index de9eda5..efed9c7
Olaf Hering o...@aepfle.de writes:
On Thu, Jun 04, K. Y. Srinivasan wrote:
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -18,6 +18,9 @@
#include linux/efi.h
#include linux/interrupt.h
#include linux/irq.h
+#ifdef CONFIG_KEXEC
+#include linux/kexec.h
+#endif
Is this #ifdef required?
No,
On Tue, Jun 23, 2015 at 04:57:05PM +, KY Srinivasan wrote:
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 94bbe46..8f35ee6 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -190,17 +190,19 @@ void cpu_hotplug_done(void)
void cpu_hotplug_disable(void)
{
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Use the newer and nicer kstrtoint(), because simple_strtoul() is now obsolete.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
drivers/staging/speakup/varhandlers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/speakup/varhandlers.c
Defines have been written in more than one line to match the 80-character
rule. This error has been fixed 6 times in this file.
The file is fully compliant with respect to the coding rules now.
Signed-off-by: Mario Bambagini mario.bambag...@gmail.com
---
On Tue, Jun 23, 2015 at 06:28:36PM +0200, Vitaly Kuznetsov wrote:
Olaf Hering o...@aepfle.de writes:
On Thu, Jun 04, K. Y. Srinivasan wrote:
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -18,6 +18,9 @@
#include linux/efi.h
#include linux/interrupt.h
#include linux/irq.h
+#ifdef
On Wed, Jun 24, 2015 at 12:15:52AM +0100, Luis de Bethencourt wrote:
On Wed, Jun 24, 2015 at 01:53:33AM +0300, Dan Carpenter wrote:
Nope. Your patch is totally wrong (buggy). Please be more careful in
the future.
regards,
dan carpenter
I saw other commits replace the obsolete
linux/ieee80211.h already defines constants for information element IDs.
Include it where needed, resolve discrepancies in naming, and remove the
duplicated definitions.
While at it, wrap a line that was too long and remove extra parentheses
in an expression that mixes only equality and logical
On Tue, Jun 23, 2015 at 03:10:56PM +0200, Luis de Bethencourt wrote:
Remove explicit true/false comparations to bool variables.
Signed-off-by: Luis de Bethencourt l...@debethencourt.com
---
snip
diff --git a/drivers/staging/rtl8192u/r8192U_dm.c
b/drivers/staging/rtl8192u/r8192U_dm.c
index
On Tue, Jun 23, 2015 at 08:25:05AM +, Dilger, Andreas wrote:
I've found in the past that developers can introduce bugs when they treat
return values as boolean when they really aren't.
I can imagine a bug like that where a function can return 0-2 and people
do:
if (ret)
instead
On Tue, Jun 23, 2015 at 11:55:48AM +0300, Dan Carpenter wrote:
On Sat, Jun 20, 2015 at 12:54:02PM +0530, Sudip Mukherjee wrote:
On Fri, Jun 19, 2015 at 12:48:19PM -0700, Isaac Assegai wrote:
I never get Isaac's emails. I think gmail is still sending them to the
Spam folder? I searched my
Yes. I know Al's thoughts and kernel style.
But Alan Cox and Andreas have both said they think (x == NULL) can help
you avoid some kind of boolean vs pointer bugs. I've had co-workers who
did massive seds changing !foo to foo == NULL on our code base. But
I've never seen a real life example of
On Tue, 23 Jun 2015, Dan Carpenter wrote:
On Tue, Jun 23, 2015 at 08:25:05AM +, Dilger, Andreas wrote:
I've found in the past that developers can introduce bugs when they treat
return values as boolean when they really aren't.
I can imagine a bug like that where a function can return
On Tue, Jun 23, 2015 at 11:46:13AM +0300, Dan Carpenter wrote:
On Mon, Jun 22, 2015 at 07:26:25AM +, Gujulan Elango, Hari Prasath (H.)
wrote:
@@ -122,7 +121,7 @@ void setChipClock(unsigned int frequency)
* Sometime, the chip cannot set up the exact clock required by
User.
The presence of comments originally caused the two lines
to be over 80 characters long.
The issue is fixed by moving the comments into a separate line.
Signed-off-by: Arjun Krishna Babu arjunkrishnabab...@gmail.com
---
drivers/staging/vt6656/rxtx.c | 7 +--
1 file changed, 5 insertions(+),
It seems that libcfs_kvzalloc doesn't use any particular threshold or
switchingbetween kzalloc and vmalloc, so can be replaced by ths function
too?
thanks,
julia
___
devel mailing list
de...@linuxdriverproject.org
On Mon, Jun 22, 2015 at 06:25:11AM -0500, Greg Donald wrote:
Umm.. you have to fix more than one error if there's more than one
error on or very near the same line you are already fixing, else
checkpatch.pl complains that your patch has errors. Not to mention
Greg KH has never complained:
On Sat, Jun 20, 2015 at 12:54:02PM +0530, Sudip Mukherjee wrote:
On Fri, Jun 19, 2015 at 12:48:19PM -0700, Isaac Assegai wrote:
Place braces on previous lines in ddk750_sii164.c to
rectify the following checkpatch errors:
ERROR: that open brace { should be on the previous line
On 2015/06/20, 10:58 AM, Julia Lawall julia.law...@lip6.fr wrote:
!x is more normal for kzalloc failure in the kernel.
While !x might be more normal for kzalloc(), I don't see that as an
improvement over explicitly checking against NULL, which is what kzalloc()
and other memory-allocating
On Mon, Jun 22, 2015 at 01:13:58PM +, Gujulan Elango, Hari Prasath (H.)
wrote:
From: Hari Prasath Gujulan Elango hguju...@visteon.com
This patch removes ununsed variable 'len'
Signed-off-by: Hari Prasath Gujulan Elango hguju...@visteon.com
This doesn't work because it's not in the
On Tue, Jun 23, 2015 at 11:03:34AM +0530, Sudip Mukherjee wrote:
On Mon, Jun 22, 2015 at 07:06:49PM +0530, Sudip Mukherjee wrote:
On Mon, Jun 22, 2015 at 03:02:37PM +0200, Peter Karlsson wrote:
On 2015-06-22 06:29, Sudip Mukherjee wrote:
which tree have you been using?
Greg will have
On Tue, Jun 23, 2015 at 11:05:47AM +0300, Dan Carpenter wrote:
On Tue, Jun 23, 2015 at 11:03:34AM +0530, Sudip Mukherjee wrote:
On Mon, Jun 22, 2015 at 07:06:49PM +0530, Sudip Mukherjee wrote:
On Mon, Jun 22, 2015 at 03:02:37PM +0200, Peter Karlsson wrote:
On 2015-06-22 06:29, Sudip
On Thu, Jun 04, K. Y. Srinivasan wrote:
+++ b/arch/x86/kernel/cpu/mshyperv.c
@@ -18,6 +18,9 @@
#include linux/efi.h
#include linux/interrupt.h
#include linux/irq.h
+#ifdef CONFIG_KEXEC
+#include linux/kexec.h
+#endif
Is this #ifdef required?
Olaf
On Jun 23, 2015, at 2:23 AM, Julia Lawall wrote:
It seems that libcfs_kvzalloc doesn't use any particular threshold or
switchingbetween kzalloc and vmalloc, so can be replaced by ths function
too?
If you mean to replace all instances of LIBCFS_ALLOC with libcfs_kvzalloc (and
all frees
On Mon, Jun 22, 2015 at 04:48:01AM +, Gujulan Elango, Hari Prasath (H.)
wrote:
From: Hari Prasath Gujulan Elango hguju...@visteon.com
This patch fixes a typo in the debug statement
Signed-off-by: Hari Prasath Gujulan Elango hguju...@visteon.com
---
Fold these together. It's a one
On Mon, Jun 22, 2015 at 07:26:25AM +, Gujulan Elango, Hari Prasath (H.)
wrote:
@@ -122,7 +121,7 @@ void setChipClock(unsigned int frequency)
* Sometime, the chip cannot set up the exact clock required by
User.
* Return value from calcPllValue() gives the
On Tue, Jun 23, 2015 at 09:17:44AM +0900, Chaehyun Lim wrote:
Remove commented codes.
Signed-off-by: Chaehyun Lim chaehyun@gmail.com
---
drivers/staging/wilc1000/wilc_wfi_netdevice.c | 21 -
1 file changed, 21 deletions(-)
diff --git
On Sunday 21 June 2015 19:12:09 Gaston Gonzalez wrote:
/* WMM spec P.11: The minimum value for AIFSN shall be 2 */
qos_param-aifs[aci] = (qos_param-aifs[aci] 2) ?
2:qos_param-aifs[aci];
- qos_param-cw_min[aci] = ac_params-ecw_min_max 0x0F;
+
On Tue, 23 Jun 2015, Dan Carpenter wrote:
Yes. I know Al's thoughts and kernel style.
But Alan Cox and Andreas have both said they think (x == NULL) can help
you avoid some kind of boolean vs pointer bugs. I've had co-workers who
did massive seds changing !foo to foo == NULL on our code
On Tue, Jun 23, 2015 at 11:48:31PM +0530, Santosh wrote:
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Your email did not get through properly :(
On Tue, Jun 23, 2015 at 3:01 AM, Dan Carpenter dan.carpen...@oracle.com wrote:
Actually, Greg complains about these all the time.
All I know is he's yet to turn away a single one of my patches.
And here is a useless URL that you can look at: http://slashdot.org
I'm sure it supports my
Nope. Your patch is totally wrong (buggy). Please be more careful in
the future.
regards,
dan carpenter
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
On Tue, 2015-06-23 at 12:57 +0300, Dan Carpenter wrote:
I've never seen a real life proof that (!foo) code is less
buggy.
Nor have I.
I should look through the kbuild mailbox... Hm... But my other
idea of setting up code style readability testing website is also a good
one.
Linux
On Tue, 2015-06-23 at 12:23 +0300, Dan Carpenter wrote:
people decided that
Yoda code was a good idea based on their gut instead of using statistics
and measurements and science.
I think that style exists because compilers
disallow CONST = val assignment typos.
On Wed, Jun 24, 2015 at 01:53:33AM +0300, Dan Carpenter wrote:
Nope. Your patch is totally wrong (buggy). Please be more careful in
the future.
regards,
dan carpenter
I saw other commits replace the obsolete simple_strtoul() this way and the
documentation makes it look like it is a 1 to
81 matches
Mail list logo