Seeking a bit of advice from the community

2016-01-02 Thread Mario J. Rugiero
Hello, my name is Mario Rugiero, and I'm in the process of resurrecting the attempts to get the via driver in shape, and had a few questions on the proper etiquette for such a thing. As some may know, there are talks about removing dri1 support on X.org, so we (the users interested) should updat

Re: [PATCH 1/1] staging: Fix bitshifts by wrong offsets in wilc1000/host_interface.c

2015-12-18 Thread Mario J. Rugiero
El 18/12/15 a las 19:50, Greg KH escribió: On Tue, Dec 01, 2015 at 11:49:55PM -0300, Mario J. Rugiero wrote: struct set_multicast uses (implicitly) sizeof(bool) to determine how many bytes to copy in Handle_SetMulticastFilter. Since that is implementation defined, it triggered sparse to

[PATCH v3] staging: wilc1000: replace 'ptr > 0' check by 'ptr' check.

2015-12-03 Thread Mario J. Rugiero
This silences a sparse warning about incompatible comparisons, while making the intent of the check a bit clearer. Signed-off-by: Mario J. Rugiero --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000

Re: [PATCH 1/1] staging: cleanup: Fix incompatible type comparison in wilc1000/host_interface.c

2015-12-03 Thread Mario J. Rugiero
Would be v3, or remains v2 because of the lack of further changes afterwards? Regards, Mario. El 03/12/15 a las 12:17, Dan Carpenter escribió: On Thu, Dec 03, 2015 at 12:13:59PM -0300, Mario J. Rugiero wrote: Thank you. Then the patch itself should see no changes as of now, am I right

Re: [PATCH 1/1] staging: cleanup: Fix incompatible type comparison in wilc1000/host_interface.c

2015-12-03 Thread Mario J. Rugiero
Thank you. Then the patch itself should see no changes as of now, am I right? Should I submit a new one anyway to fix the subject line? Regards, Mario. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/

Re: [PATCH 1/1] staging: cleanup: Fix incompatible type comparison in wilc1000/host_interface.c

2015-12-02 Thread Mario J. Rugiero
OK. Since the maintainers are CC'd, I guess I should wait for a clarification about this? El 02/12/15 a las 10:29, Dan Carpenter escribió: Put v2 in the subject. Also the subsystem prefix is: [PATCH v3] staging: wilc1000: ... On Mon, Nov 30, 2015 at 09:09:04PM -0300, Mario J. Rugiero

[PATCH 1/1] staging: Fix bitshifts by wrong offsets in wilc1000/host_interface.c

2015-12-01 Thread Mario J. Rugiero
replaced the bool member by a u32. Also, time_out and buf_size members of ba_session_info are u16, but while copying their bytes into ptr in Handle_AddBASession shift 16 bits for the second byte instead of 8 bits. This patch fixes those two issues. Signed-off-by: Mario J. Rugiero --- drivers

[PATCH 1/1] staging: cleanup: Fix incompatible type comparison in wilc1000/host_interface.c

2015-11-30 Thread Mario J. Rugiero
This patch replaces an "if (ptr > 0)" comparison that seems to be a confusing way to check for null by a simpler "if (ptr)" check. Signed-off-by: Mario J. Rugiero --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] [sparse-cleanup] Fix incompatible type comparison in wilc1000/host_interface.c

2015-11-30 Thread Mario J. Rugiero
Signed-off-by: Mario J. Rugiero --- drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index d5b7725..9ce1d22 100644 --- a/drivers/staging/wilc1000

Re: [PATCH 3/4] staging/lustre: use __aligned(size) instead of __attribute__(aligned(size))

2015-03-18 Thread Mario J. Rugiero
OK, I'll do that, thanks. Mario. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 3/4] staging/lustre: use __aligned(size) instead of __attribute__(aligned(size))

2015-03-18 Thread Mario J. Rugiero
I didn't expect that. Maybe I used the wrong linux-next? Just to make sure, what should I be making the patches against? I made them against the latest next branch I was able to find on Linus tree, is that right? ___ devel mailing list de...@linuxdriv

[PATCH 4/4] staging/lustre: use __packed instead of __attribute__(packed)

2015-03-10 Thread Mario J. Rugiero
Replace __attribute__(packed) by __packed as suggested by checkpatch. Signed-off-by: Mario J. Rugiero --- .../include/linux/libcfs/libcfs_kernelcomm.h | 2 +- .../staging/lustre/include/linux/lnet/lib-types.h | 2 +- .../lustre/lustre/include/lustre/lustre_idl.h | 44

[PATCH 0/4] staging/lustre: checkpatch cleanup

2015-03-10 Thread Mario J. Rugiero
would suffice Mario J. Rugiero (4): staging/lustre: checkpatch cleanup: macros should not use a trailing semicolon staging/lustre: checkpatch cleanup: __printf(string-index, first-to-check) is preferred over __attribute__((format(printf, string-index, first-to-check))) staging/lustre

[PATCH 2/4] staging/lustre: use __printf(...) instead of __attribute__(format(__printf, ...))

2015-03-10 Thread Mario J. Rugiero
Replace uses of __attribute__(format(__printf,...)) by __printf(...), as suggested by checkpatch. Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 4 ++-- drivers/staging/lustre/lustre/include/lu_object.h | 2 +- drivers/staging/lustre

[PATCH 1/4] staging/lustre: clean trailing semicolons in macros

2015-03-10 Thread Mario J. Rugiero
Remove trailing semicolons from macros, as suggested by checkpatch. Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 2 +- drivers/staging/lustre/include/linux/libcfs/libcfs_private.h | 4 ++-- drivers/staging/lustre/lustre/include

[PATCH 3/4] staging/lustre: use __aligned(size) instead of __attribute__(aligned(size))

2015-03-10 Thread Mario J. Rugiero
Replace uses of __attribute__(aligned(size)) by __aligned(size), as suggested by checkpatch. Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/include

[PATCH 3/4] staging/lustre: use __aligned(size) instead of the

2015-03-10 Thread Mario J. Rugiero
Replace uses of __attribute__(aligned(size)) by __aligned(size), as recommended by checkpatch. Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/include

[PATCH 2/4] staging/lustre: use __printf(...) instead of its

2015-03-10 Thread Mario J. Rugiero
Substitute uses of __attribute__(format(printf(...)) by __printf(...), as recommended by checkpatch. Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 4 ++-- drivers/staging/lustre/lustre/include/lu_object.h | 2 +- drivers/staging

[PATCH 1/4] staging/lustre: clean trailing semicolon in macros

2015-03-10 Thread Mario J. Rugiero
Cleanup trailing semicolons in macros, as recommended by cleanpatch. Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 2 +- drivers/staging/lustre/include/linux/libcfs/libcfs_private.h | 4 ++-- drivers/staging/lustre/lustre/include

[PATCH 4/4] staging/lustre: use __packed instead of

2015-03-10 Thread Mario J. Rugiero
Replace __attribute__(packed) by __packed, as recommended by checkpatch. Signed-off-by: Mario J. Rugiero --- .../include/linux/libcfs/libcfs_kernelcomm.h | 2 +- .../staging/lustre/include/linux/lnet/lib-types.h | 2 +- .../lustre/lustre/include/lustre/lustre_idl.h | 44

[PATCH 0/4] staging/lustre: checkpatch cleanup

2015-03-10 Thread Mario J. Rugiero
This patches cleans the following checkpatch issues: trailing semicolons in macros __attribute__(format(printf,...)) instead of __printf(...) __attribute__(aligned(size)) instead of __aligned(size) __attribute__(packed) instead of __packed Mario J. Rugiero (4): staging/lustre: checkpatch

Re: [PATCH 1/4] staging/lustre: checkpatch cleanup: macros should not use a trailing semicolon

2015-03-10 Thread Mario J. Rugiero
OK, thanks, I'll fix it. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 1/4] staging/lustre: checkpatch cleanup: macros should not use a trailing semicolon

2015-03-10 Thread Mario J. Rugiero
Do you mean a description, or the diffstats? I thought it was enough to describe it in the cover letter, I'll fix it and resend, thank you. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/dri

[PATCH 1/4] staging/lustre: checkpatch cleanup: macros should not use a trailing semicolon

2015-03-10 Thread Mario J. Rugiero
Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 2 +- drivers/staging/lustre/include/linux/libcfs/libcfs_private.h | 4 ++-- drivers/staging/lustre/lustre/include/lprocfs_status.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions

[PATCH 3/4] staging/lustre: checkpatch cleanup: __aligned(size) is preferred over __attribute__((aligned(size)))

2015-03-10 Thread Mario J. Rugiero
Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h b/drivers/staging/lustre/include/linux/libcfs

[PATCH 4/4] staging/lustre: checkpatch cleanup: __packed is preferred over __attribute__((packed))

2015-03-10 Thread Mario J. Rugiero
Signed-off-by: Mario J. Rugiero --- .../include/linux/libcfs/libcfs_kernelcomm.h | 2 +- .../staging/lustre/include/linux/lnet/lib-types.h | 2 +- .../lustre/lustre/include/lustre/lustre_idl.h | 44 +++--- .../lustre/lustre/include/lustre/lustre_user.h | 14

[PATCH 2/4] staging/lustre: checkpatch cleanup: __printf(string-index, first-to-check) is preferred over __attribute__((format(printf, string-index, first-to-check)))

2015-03-10 Thread Mario J. Rugiero
Signed-off-by: Mario J. Rugiero --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 4 ++-- drivers/staging/lustre/lustre/include/lu_object.h | 2 +- drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 +- drivers/staging/lustre/lustre/include/lustre_net.h

[PATCH 0/4] staging/lustre: checkpatch cleanup

2015-03-10 Thread Mario J. Rugiero
rds, Mario. Mario J. Rugiero (4): staging/lustre: checkpatch cleanup: macros should not use a trailing semicolon staging/lustre: checkpatch cleanup: __printf(string-index, first-to-check) is preferred over __attribute__((format(printf, string-index, first-to-check))) staging/lustre:

Re: [PATCH 1/4] staging/lustre: checkpatch cleanup: macros should not use a trailing semicolon

2015-03-10 Thread Mario J. Rugiero
That's weird, I passed the parameter signed-off-by to git-send-email. The from header must have been my mistake, I thought that parameter was mandatory. Thanks for the hint. Regards, Mario. ___ devel mailing list de...@linuxdriverproject.org http://d

[PATCH 1/1] Lustre: single statement macros should not use do {} while (0)

2015-02-18 Thread Mario J. Rugiero
s, Mario. >From 01a11dfacba84065a69deed929acaa84d249b7b5 Mon Sep 17 00:00:00 2001 From: "Mario J. Rugiero" Date: Wed, 18 Feb 2015 17:23:39 -0300 Subject: [PATCH] Lustre: single statement macros should not use a do {} while (0) loop. Signed-off-by: Mario J. Rugiero --- .../lustre/include/linux/li