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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mrugiero@xxxxxxxxx>
> ---
>  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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux