[PATCH] zfs: fix missing include for disk_partition definition
Tom Rini
trini at konsulko.com
Thu Jun 25 16:39:31 CEST 2020
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 exclusively as pointers so it was only a warning.
>
> warning: ‘struct disk_partition’ declared inside parameter list
> will not be visible outside of this definition or declaration
> void zfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info);
>
> Signed-off-by: Joel Johnson <mrjoel at lixil.net>
>
> Series-CC: Simon Glass <sjg at chromium.org>
Applied (back on June 23rd) to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200625/a58e77c5/attachment.sig>
More information about the U-Boot
mailing list