mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix most warnings from Sparse
git-svn-id: svn://coreboot.org/openbios/openbios-devel@274 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -94,7 +94,7 @@ struct dmadat {
|
||||
char sbbuf[SBLOCKSIZE]; /* superblock */
|
||||
char secbuf[DEV_BSIZE]; /* for MBR/disklabel */
|
||||
};
|
||||
struct dmadat *dmadat = (struct dmadat*)FSYS_BUF;
|
||||
static struct dmadat *dmadat = (struct dmadat*)FSYS_BUF;
|
||||
|
||||
#define SUPERBLOCK ((struct fs*)dmadat->sbbuf)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user