xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] xen: use struct_size() helper in kzalloc()
       [not found] <20190403052636.GC21532@xps-13>
@ 2019-04-03  6:00 ` Juergen Gross
  2019-04-05  6:48 ` [Xen-devel] " Juergen Gross
  2019-04-05  6:48 ` Juergen Gross
  2 siblings, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2019-04-03  6:00 UTC (permalink / raw)
  To: Andrea Righi, Boris Ostrovsky; +Cc: xen-devel, Stefano Stabellini, linux-kernel

On 03/04/2019 07:26, Andrea Righi wrote:
> struct privcmd_buf_vma_private has a zero-sized array at the end
> (pages), use the new struct_size() helper to determine the proper
> allocation size and avoid potential type mistakes.
> 
> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] xen: use struct_size() helper in kzalloc()
       [not found] <20190403052636.GC21532@xps-13>
  2019-04-03  6:00 ` [PATCH] xen: use struct_size() helper in kzalloc() Juergen Gross
  2019-04-05  6:48 ` [Xen-devel] " Juergen Gross
@ 2019-04-05  6:48 ` Juergen Gross
  2 siblings, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2019-04-05  6:48 UTC (permalink / raw)
  To: Andrea Righi, Boris Ostrovsky; +Cc: xen-devel, Stefano Stabellini, linux-kernel

On 03/04/2019 07:26, Andrea Righi wrote:
> struct privcmd_buf_vma_private has a zero-sized array at the end
> (pages), use the new struct_size() helper to determine the proper
> allocation size and avoid potential type mistakes.
> 
> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>

Pushed to xen/tip.git for-linus-5.1b


Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xen-devel] [PATCH] xen: use struct_size() helper in kzalloc()
       [not found] <20190403052636.GC21532@xps-13>
  2019-04-03  6:00 ` [PATCH] xen: use struct_size() helper in kzalloc() Juergen Gross
@ 2019-04-05  6:48 ` Juergen Gross
  2019-04-05  6:48 ` Juergen Gross
  2 siblings, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2019-04-05  6:48 UTC (permalink / raw)
  To: Andrea Righi, Boris Ostrovsky; +Cc: xen-devel, Stefano Stabellini, linux-kernel

On 03/04/2019 07:26, Andrea Righi wrote:
> struct privcmd_buf_vma_private has a zero-sized array at the end
> (pages), use the new struct_size() helper to determine the proper
> allocation size and avoid potential type mistakes.
> 
> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>

Pushed to xen/tip.git for-linus-5.1b


Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-05  6:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190403052636.GC21532@xps-13>
2019-04-03  6:00 ` [PATCH] xen: use struct_size() helper in kzalloc() Juergen Gross
2019-04-05  6:48 ` [Xen-devel] " Juergen Gross
2019-04-05  6:48 ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).