All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] mm-damon-implement-a-debugfs-based-user-space-interface-fix-fix.patch removed from -mm tree
@ 2021-09-08  2:20 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-09-08  2:20 UTC (permalink / raw)
  To: akpm, mm-commits, sjpark


The patch titled
     Subject: mm-damon-implement-a-debugfs-based-user-space-interface-fix-fix
has been removed from the -mm tree.  Its filename was
     mm-damon-implement-a-debugfs-based-user-space-interface-fix-fix.patch

This patch was dropped because it was folded into mm-damon-implement-a-debugfs-based-user-space-interface.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-damon-implement-a-debugfs-based-user-space-interface-fix-fix

replace macro with static inline

Cc: SeongJae Park <sjpark@amazon.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/damon/dbgfs.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- a/mm/damon/dbgfs.c~mm-damon-implement-a-debugfs-based-user-space-interface-fix-fix
+++ a/mm/damon/dbgfs.c
@@ -97,8 +97,10 @@ out:
 	return ret;
 }
 
-#define targetid_is_pid(ctx)	\
-	(ctx->primitive.target_valid == damon_va_target_valid)
+static inline bool targetid_is_pid(const struct damon_ctx *ctx)
+{
+	return ctx->primitive.target_valid == damon_va_target_valid;
+}
 
 static ssize_t sprint_target_ids(struct damon_ctx *ctx, char *buf, ssize_t len)
 {
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

mm-damon-implement-a-debugfs-based-user-space-interface.patch
checkpatch-improve-git_commit_id-test-fix.patch
fs-epoll-use-a-per-cpu-counter-for-users-watches-count-fix-fix.patch
log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix.patch
mm.patch
mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
linux-next-rejects.patch
kernel-forkc-export-kernel_thread-to-modules.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-08  2:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08  2:20 [folded-merged] mm-damon-implement-a-debugfs-based-user-space-interface-fix-fix.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.