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

Commit 984b6eda authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: rmt_storage: Use smem_find_to_proc()"

parents b74e4e74 0eb4f625
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -1267,8 +1267,10 @@ static int rmt_storage_get_ramfs(struct rmt_storage_srv *srv)
	if (srv->prog != MSM_RMT_STORAGE_APIPROG)
		return 0;

	ramfs_table = smem_find(SMEM_SEFS_INFO,
			sizeof(struct shared_ramfs_table));
	ramfs_table = smem_find_to_proc(SMEM_SEFS_INFO,
			sizeof(struct shared_ramfs_table),
			0,
			SMEM_ANY_HOST_FLAG);

	if (!ramfs_table) {
		pr_err("%s: No RAMFS table in SMEM\n", __func__);
@@ -1442,8 +1444,10 @@ static int rmt_storage_init_ramfs(struct rmt_storage_srv *srv)
	if (srv->prog != MSM_RMT_STORAGE_APIPROG)
		return 0;

	ramfs_table = smem_find(SMEM_SEFS_INFO,
				 sizeof(struct shared_ramfs_table));
	ramfs_table = smem_find_to_proc(SMEM_SEFS_INFO,
				 sizeof(struct shared_ramfs_table),
				 0,
				 SMEM_ANY_HOST_FLAG);

	if (!ramfs_table) {
		pr_err("%s: No RAMFS table in SMEM\n", __func__);