Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03c5ed6b authored by Anmolpreet Kaur's avatar Anmolpreet Kaur Committed by Gerrit - the friendly Code Review server
Browse files

drivers: crypto: Fix compilation errors



Fix compiler error of implicit conversion
from 'unsigned long long' to 'unsigned long'.

Change-Id: I53f4e30b15d963e2c1a416ff68e4b881a2829747
Signed-off-by: default avatarAnmolpreet Kaur <anmolpre@codeaurora.org>
parent 2f582a1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6013,7 +6013,7 @@ static int qce_smmu_init(struct qce_device *pce_dev)
		dev->dma_parms = devm_kzalloc(dev,
				sizeof(*dev->dma_parms), GFP_KERNEL);
	dma_set_max_seg_size(dev, DMA_BIT_MASK(32));
	dma_set_seg_boundary(dev, DMA_BIT_MASK(64));
	dma_set_seg_boundary(dev, (unsigned long)DMA_BIT_MASK(64));

	pce_dev->smmu_mapping = mapping;
	return ret;
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ static int qcedev_setup_context_bank(struct context_bank_info *cb,
		dev->dma_parms = devm_kzalloc(dev,
				sizeof(*dev->dma_parms), GFP_KERNEL);
	dma_set_max_seg_size(dev, DMA_BIT_MASK(32));
	dma_set_seg_boundary(dev, DMA_BIT_MASK(64));
	dma_set_seg_boundary(dev, (unsigned long)DMA_BIT_MASK(64));

	rc = arm_iommu_attach_device(cb->dev, cb->mapping);
	if (rc) {