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

2015-03-18 Thread Greg KH
On Tue, Mar 10, 2015 at 12:02:04PM -0300, Mario J. Rugiero wrote:
 Replace uses of __attribute__(aligned(size)) by __aligned(size), as suggested 
 by checkpatch.
 
 Signed-off-by: Mario J. Rugiero mrugi...@gmail.com
 ---
  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/libcfs_kernelcomm.h
 index f19a121..4688770 100644
 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h
 +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h
 @@ -58,7 +58,7 @@ struct kuc_hdr {
   __u8  kuc_flags;
   __u16 kuc_msgtype;/* Message type or opcode, transport-specific */
   __u16 kuc_msglen; /* Including header */
 -} __attribute__((aligned(sizeof(__u64;
 +} __aligned(sizeof(__u64));
  
  #define KUC_CHANGELOG_MSG_MAXSIZE (sizeof(struct kuc_hdr)+CR_MAXSIZE)
  

This patch doesn't apply to my tree :(
___
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 Greg KH
On Wed, Mar 18, 2015 at 09:30:24AM -0300, Mario J. Rugiero wrote:
 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?

linux-next is usually the correct thing to use here, but note that I get
lots of patches from lots of people and sometimes there are conflicts.
Odds are someone had sent me patches that touched these files before
you, and I applied them earlier in the day.

If you want to work on staging patches, I suggest working off of my
staging-testing branch of staging.git on git.kernel.org as that always
has the latest set of patches I've accepted.  There will always be
conflicts at times, which is normal, but that should reduce them to a
managable level.

Hope this helps,

greg k-h
___
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...@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

OK, I'll do that, thanks.

Mario.
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[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 mrugi...@gmail.com
---
 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/libcfs_kernelcomm.h
index f19a121..4688770 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_kernelcomm.h
@@ -58,7 +58,7 @@ struct kuc_hdr {
__u8  kuc_flags;
__u16 kuc_msgtype;/* Message type or opcode, transport-specific */
__u16 kuc_msglen; /* Including header */
-} __attribute__((aligned(sizeof(__u64;
+} __aligned(sizeof(__u64));
 
 #define KUC_CHANGELOG_MSG_MAXSIZE (sizeof(struct kuc_hdr)+CR_MAXSIZE)
 
-- 
2.3.2

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel