Loading drivers/mmc/host/sdhci-msm-ice.c +8 −0 Original line number Diff line number Diff line Loading @@ -351,12 +351,16 @@ int sdhci_msm_ice_cfg(struct sdhci_host *host, struct mmc_request *mrq, return -EINVAL; req = mrq->req; if (req && req->bio) { #ifdef CONFIG_PFK if (bio_dun(req->bio)) { dun = bio_dun(req->bio); cdu_sz = SDHCI_MSM_ICE_TR_DATA_UNIT_4_KB; } else { dun = req->__sector; } #else dun = req->__sector; #endif err = sdhci_msm_ice_get_cfg(msm_host, req, &bypass, &key_index); if (err) return err; Loading Loading @@ -401,12 +405,16 @@ int sdhci_msm_ice_cmdq_cfg(struct sdhci_host *host, return -EINVAL; req = mrq->req; if (req && req->bio) { #ifdef CONFIG_PFK if (bio_dun(req->bio)) { dun = bio_dun(req->bio); cdu_sz = SDHCI_MSM_ICE_TR_DATA_UNIT_4_KB; } else { dun = req->__sector; } #else dun = req->__sector; #endif err = sdhci_msm_ice_get_cfg(msm_host, req, &bypass, &key_index); if (err) return err; Loading fs/crypto/Makefile +2 −1 Original line number Diff line number Diff line Loading @@ -3,5 +3,6 @@ obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o ccflags-y += -Ifs/ext4 ccflags-y += -Ifs/f2fs fscrypto-y := crypto.o fname.o hooks.o keyinfo.o policy.o fscrypt_ice.o fscrypto-y := crypto.o fname.o hooks.o keyinfo.o policy.o fscrypto-$(CONFIG_BLOCK) += bio.o fscrypto-$(CONFIG_PFK) += fscrypt_ice.o Loading
drivers/mmc/host/sdhci-msm-ice.c +8 −0 Original line number Diff line number Diff line Loading @@ -351,12 +351,16 @@ int sdhci_msm_ice_cfg(struct sdhci_host *host, struct mmc_request *mrq, return -EINVAL; req = mrq->req; if (req && req->bio) { #ifdef CONFIG_PFK if (bio_dun(req->bio)) { dun = bio_dun(req->bio); cdu_sz = SDHCI_MSM_ICE_TR_DATA_UNIT_4_KB; } else { dun = req->__sector; } #else dun = req->__sector; #endif err = sdhci_msm_ice_get_cfg(msm_host, req, &bypass, &key_index); if (err) return err; Loading Loading @@ -401,12 +405,16 @@ int sdhci_msm_ice_cmdq_cfg(struct sdhci_host *host, return -EINVAL; req = mrq->req; if (req && req->bio) { #ifdef CONFIG_PFK if (bio_dun(req->bio)) { dun = bio_dun(req->bio); cdu_sz = SDHCI_MSM_ICE_TR_DATA_UNIT_4_KB; } else { dun = req->__sector; } #else dun = req->__sector; #endif err = sdhci_msm_ice_get_cfg(msm_host, req, &bypass, &key_index); if (err) return err; Loading
fs/crypto/Makefile +2 −1 Original line number Diff line number Diff line Loading @@ -3,5 +3,6 @@ obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o ccflags-y += -Ifs/ext4 ccflags-y += -Ifs/f2fs fscrypto-y := crypto.o fname.o hooks.o keyinfo.o policy.o fscrypt_ice.o fscrypto-y := crypto.o fname.o hooks.o keyinfo.o policy.o fscrypto-$(CONFIG_BLOCK) += bio.o fscrypto-$(CONFIG_PFK) += fscrypt_ice.o