mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + mm-damon-remove-unnecessary-type-castings.patch added to -mm tree
@ 2022-04-21 18:45 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-04-21 18:45 UTC (permalink / raw)
  To: mm-commits, sj, liqiong, yuzhe, akpm


The patch titled
     Subject: mm/damon: remove unnecessary type castings
has been added to the -mm tree.  Its filename is
     mm-damon-remove-unnecessary-type-castings.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-damon-remove-unnecessary-type-castings.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-damon-remove-unnecessary-type-castings.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Yu Zhe <yuzhe@nfschina.com>
Subject: mm/damon: remove unnecessary type castings

Remove unnecessary void* type castings.

Link: https://lkml.kernel.org/r/20220421153056.8474-1-yuzhe@nfschina.com
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Cc: SeongJae Park <sj@kernel.org>
Cc: liqiong <liqiong@nfschina.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/damon/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/damon/core.c~mm-damon-remove-unnecessary-type-castings
+++ a/mm/damon/core.c
@@ -1042,7 +1042,7 @@ static int kdamond_wait_activation(struc
  */
 static int kdamond_fn(void *data)
 {
-	struct damon_ctx *ctx = (struct damon_ctx *)data;
+	struct damon_ctx *ctx = data;
 	struct damon_target *t;
 	struct damon_region *r, *next;
 	unsigned int max_nr_accesses = 0;
_

Patches currently in -mm which might be from yuzhe@nfschina.com are

mm-damon-remove-unnecessary-type-castings.patch


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

only message in thread, other threads:[~2022-04-21 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 18:45 + mm-damon-remove-unnecessary-type-castings.patch added to -mm tree Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).