Re: [PATCH v2] xen: avoid type warning in xchg_xen_ulong

2017-06-08 Thread Stefano Stabellini
On Thu, 8 Jun 2017, Arnd Bergmann wrote: > The improved type-checking version of container_of() triggers a warning for > xchg_xen_ulong, pointing out that 'xen_ulong_t' is unsigned, but atomic64_t > contains a signed value: > > drivers/xen/events/events_2l.c: In function

Re: [PATCH v2] xen: avoid type warning in xchg_xen_ulong

2017-06-08 Thread Stefano Stabellini
On Thu, 8 Jun 2017, Arnd Bergmann wrote: > The improved type-checking version of container_of() triggers a warning for > xchg_xen_ulong, pointing out that 'xen_ulong_t' is unsigned, but atomic64_t > contains a signed value: > > drivers/xen/events/events_2l.c: In function

Re: [PATCH v2] xen: avoid type warning in xchg_xen_ulong

2017-06-08 Thread Ian Abbott
On 2017-06-08 09:53, Arnd Bergmann wrote: The improved type-checking version of container_of() triggers a warning for xchg_xen_ulong, pointing out that 'xen_ulong_t' is unsigned, but atomic64_t contains a signed value: drivers/xen/events/events_2l.c: In function 'evtchn_2l_handle_events':

Re: [PATCH v2] xen: avoid type warning in xchg_xen_ulong

2017-06-08 Thread Ian Abbott
On 2017-06-08 09:53, Arnd Bergmann wrote: The improved type-checking version of container_of() triggers a warning for xchg_xen_ulong, pointing out that 'xen_ulong_t' is unsigned, but atomic64_t contains a signed value: drivers/xen/events/events_2l.c: In function 'evtchn_2l_handle_events':

[PATCH v2] xen: avoid type warning in xchg_xen_ulong

2017-06-08 Thread Arnd Bergmann
The improved type-checking version of container_of() triggers a warning for xchg_xen_ulong, pointing out that 'xen_ulong_t' is unsigned, but atomic64_t contains a signed value: drivers/xen/events/events_2l.c: In function 'evtchn_2l_handle_events': drivers/xen/events/events_2l.c:187:1020: error:

[PATCH v2] xen: avoid type warning in xchg_xen_ulong

2017-06-08 Thread Arnd Bergmann
The improved type-checking version of container_of() triggers a warning for xchg_xen_ulong, pointing out that 'xen_ulong_t' is unsigned, but atomic64_t contains a signed value: drivers/xen/events/events_2l.c: In function 'evtchn_2l_handle_events': drivers/xen/events/events_2l.c:187:1020: error: