Re: [PATCH] zfs: fix missing include for disk_partition definition

2020-06-25 Thread Tom Rini
On Fri, Jun 19, 2020 at 10:45:47PM -0600, Joel Johnson wrote: > Commit 0528979fa7ab ("part: Drop disk_partition_t typedef") changed to > a struct. As a result it uncovered an apparent missing include in > zfs_common.h for part.h which actually contains the definition. The ZFS > handles the struct

[PATCH] zfs: fix missing include for disk_partition definition

2020-06-19 Thread Joel Johnson
Commit 0528979fa7ab ("part: Drop disk_partition_t typedef") changed to a struct. As a result it uncovered an apparent missing include in zfs_common.h for part.h which actually contains the definition. The ZFS handles the struct exclusively as pointers so it was only a warning. warning: ‘struct