From: Tom Rini Date: Thu, 25 Jun 2020 10:39:31 -0400 Subject: [PATCH] zfs: fix missing include for disk_partition definition In-Reply-To: <20200620044548.1254004-1-mrjoel@lixil.net> References: <20200620044548.1254004-1-mrjoel@lixil.net> Message-ID: <20200625143931.GN8432@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > Series-CC: Simon Glass 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: