lkml.org 
[lkml]   [2019]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [GIT PULL] Staging/IIO driver patches for 5.2-rc1
On Tue, May 7, 2019 at 10:59 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> All of these have been in linux-next for a while with no reported
> issues, other than an odd gcc warning for one of the new drivers that
> should be fixed up soon.

Ok, that's truly a funky warning.

But since I don't deal well with warnings, particularly during the
merge window, I just fixed it up in the merge.

The fix is to simply not have a bitfield base type of "unsigned char",
and have it cross a char boundary. Instead the base type should just
be "unsigned int".

Of course, I couldn't test my change, but it shuts the compiler up,
and it very much looks like the right thing.

Linus

\
 
 \ /
  Last update: 2019-05-07 22:34    [W:0.075 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site