The patch titled
git-mmc: build fix
has been added to the -mm tree. Its filename is
git-mmc-build-fix.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: git-mmc: build fix
From: Frederik Deweerdt <[EMAIL PROTECTED]>
drivers/mmc/mmc.c: In function 'mmc_lock_unlock':
drivers/mmc/mmc.c:1527: error: dereferencing pointer to incomplete type
drivers/mmc/mmc.c:1527: warning: type defaults to 'int' in declaration of
'_________p1'
drivers/mmc/mmc.c:1527: error: dereferencing pointer to incomplete type
drivers/mmc/mmc.c:1527: warning: assignment makes pointer from integer without
a cast
That's because mmc_lock_unlock should depend on CONFIG_KEYS, it uses struct key.
Could you try the following patch (compile tested)?
Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]>
Cc: Pierre Ossman <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/mmc/mmc.c | 4 ++++
1 files changed, 4 insertions(+)
diff -puN drivers/mmc/mmc.c~git-mmc-build-fix drivers/mmc/mmc.c
--- a/drivers/mmc/mmc.c~git-mmc-build-fix
+++ a/drivers/mmc/mmc.c
@@ -1503,6 +1503,8 @@ static void mmc_setup(struct mmc_host *h
mmc_process_ext_csds(host);
}
+#ifdef CONFIG_MMC_PASSWORDS
+
/**
* mmc_lock_unlock - send LOCK_UNLOCK command to a specific card.
* @card: card to which the LOCK_UNLOCK command should be sent
@@ -1617,6 +1619,8 @@ out:
return err;
}
+#endif /* CONFIG_MMC_PASSWORDS */
+
/**
* mmc_detect_change - process change of state on a MMC socket
* @host: host which changed state.
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
git-acpi-early-acpi-lockup.patch
fix2-gregkh-driver-driver-core-fix-race-in-sysfs-between-sysfs_remove_file-and-read-write.patch
git-mmc-build-fix.patch
disable-init-initramfsc-updated-fix.patch
user-ns-prepare-copy_tree-copy_mnt-and-their-callers-to-handle-errs-fix.patch
user-ns-implement-user-ns-unshare.patch
reiser4-sb_sync_inodes-fix.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html