]> git.baikalelectronics.ru Git - uboot.git/commit
zfs: fix missing include for disk_partition definition
authorJoel Johnson <mrjoel@lixil.net>
Sat, 20 Jun 2020 04:45:47 +0000 (22:45 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 23 Jun 2020 18:43:23 +0000 (14:43 -0400)
commitf523459c473964cea4aefa7b9726a85e0686b53c
tree882a83d9dbb2c0035a1286b84453609f3d3432a5
parent56438b65abdbe950067ae3d1c03086176fc9cc84
zfs: fix missing include for disk_partition definition

Commit 5323cc990c8d ("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@lixil.net>
Series-CC: Simon Glass <sjg@chromium.org>
include/zfs_common.h