On Wed, Jan 17, 2018 at 8:44 PM, Arnd Bergmann wrote:
> On Wed, Jan 17, 2018 at 3:55 PM, Daniel Vetter wrote:
>> On Wed, Jan 17, 2018 at 3:36 PM, Arnd Bergmann wrote:
>>> On Wed, Jan 17, 2018 at 9:27 AM, Daniel Vetter wrote:
On Tue, Jan 16, 2018 at 03:57:10PM +0100, Arnd Bergmann wrote:
>>
On Wed, Jan 17, 2018 at 3:55 PM, Daniel Vetter wrote:
> On Wed, Jan 17, 2018 at 3:36 PM, Arnd Bergmann wrote:
>> On Wed, Jan 17, 2018 at 9:27 AM, Daniel Vetter wrote:
>>> On Tue, Jan 16, 2018 at 03:57:10PM +0100, Arnd Bergmann wrote:
The two functions pass a partially initialized structure
On Wed, Jan 17, 2018 at 3:36 PM, Arnd Bergmann wrote:
> On Wed, Jan 17, 2018 at 9:27 AM, Daniel Vetter wrote:
>> On Tue, Jan 16, 2018 at 03:57:10PM +0100, Arnd Bergmann wrote:
>>> The two functions pass a partially initialized structure back to the
>>> caller after a memset() on the destination.
On Wed, Jan 17, 2018 at 9:27 AM, Daniel Vetter wrote:
> On Tue, Jan 16, 2018 at 03:57:10PM +0100, Arnd Bergmann wrote:
>> The two functions pass a partially initialized structure back to the
>> caller after a memset() on the destination.
>>
>> This is not entirely well-defined, most compilers are
On Tue, Jan 16, 2018 at 03:57:10PM +0100, Arnd Bergmann wrote:
> The two functions pass a partially initialized structure back to the
> caller after a memset() on the destination.
>
> This is not entirely well-defined, most compilers are sensible enough
> to either keep the zero-initialization for
On Tue, Jan 16, 2018 at 3:57 PM, Arnd Bergmann wrote:
> The two functions pass a partially initialized structure back to the
> caller after a memset() on the destination.
>
> This is not entirely well-defined, most compilers are sensible enough
> to either keep the zero-initialization for the unin
The two functions pass a partially initialized structure back to the
caller after a memset() on the destination.
This is not entirely well-defined, most compilers are sensible enough
to either keep the zero-initialization for the uninitialized members,
but gcc-4.4 does not, and it warns about this