[PATCH v3] staging: gdm724x: update HCI structs with new bitwise types

2017-01-05 Thread Eric S. Stone
Signed-off-by: Eric S. Stone --- Notes: v3: - new summary: "staging: gdm724x: update HCI structs with new bitwise types" - introduce new bitwise types to clarify endian considerations throughout driver. Focus of patch shifts to this, not the sparse warnings t

Re: [PATCH] staging: gdm724x: add forced casts in endian converters to fix sparse warnings

2017-01-04 Thread Eric S. Stone
On Wed, Jan 04, 2017 at 09:59:27AM +0100, Greg KH wrote: > On Wed, Jan 04, 2017 at 09:54:53AM +0100, Greg KH wrote: > > On Tue, Jan 03, 2017 at 10:44:17PM -0800, Eric S. Stone wrote: > > > On Tue, Jan 03, 2017 at 04:30:58PM +0100, Greg KH wrote: > > > > On Wed, De

[PATCH v2] staging: gdm724x: use different endian converters to fix sparse warnings

2017-01-04 Thread Eric S. Stone
] drivers/staging/gdm724x/gdm_endian.c:52:24: warning: cast to restricted __le32 drivers/staging/gdm724x/gdm_endian.c:54:24: warning: cast to restricted __be32 Signed-off-by: Eric S. Stone --- Notes: v1 of this patch was titled differently: staging: gdm724x: add forced casts in endian

Re: [PATCH] staging: gdm724x: add forced casts in endian converters to fix sparse warnings

2017-01-03 Thread Eric S. Stone
On Tue, Jan 03, 2017 at 04:30:58PM +0100, Greg KH wrote: > On Wed, Dec 28, 2016 at 10:08:43PM -0800, Eric S. Stone wrote: > > The modified functions do explicit endian checking and conversion. The > > added forced casts fix these sparse warnings: > > > > CHEC

[PATCH] staging: gdm724x: add forced casts in endian converters to fix sparse warnings

2016-12-28 Thread Eric S. Stone
:54:24: warning: cast to restricted __be32 Signed-off-by: Eric S. Stone --- drivers/staging/gdm724x/gdm_endian.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/gdm724x/gdm_endian.c b/drivers/staging/gdm724x/gdm_endian.c index d7144e7..00ae7a8

[PATCH 1/1] staging: sm750fb: restructure multi-line comments to follow CodingStyle

2016-10-22 Thread Eric S. Stone
Eliminates all checkpatch.pl BLOCK_COMMENT_STYLE warnings in sm750fb, and coincidentally eliminates some line-length (80) warnings. Signed-off-by: Eric S. Stone --- drivers/staging/sm750fb/ddk750.h | 22 ++-- drivers/staging/sm750fb/ddk750_chip.c| 39