All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-nonmm-stable] resource-replace-open-coded-variant-of-define_res_named_desc.patch removed from -mm tree
@ 2025-03-22  5:10 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-03-22  5:10 UTC (permalink / raw)
  To: mm-commits, ilpo.jarvinen, andriy.shevchenko, akpm

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]


The quilt patch titled
     Subject: resource: replace open coded variant of DEFINE_RES_NAMED_DESC()
has been removed from the -mm tree.  Its filename was
     resource-replace-open-coded-variant-of-define_res_named_desc.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: resource: replace open coded variant of DEFINE_RES_NAMED_DESC()
Date: Mon, 17 Mar 2025 20:11:11 +0200

Replace open coded variant of DEFINE_RES_NAMED_DESC().

Link: https://lkml.kernel.org/r/20250317181412.1560630-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/resource.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- a/kernel/resource.c~resource-replace-open-coded-variant-of-define_res_named_desc
+++ a/kernel/resource.c
@@ -1975,11 +1975,7 @@ get_free_mem_region(struct device *dev,
 			 */
 			revoke_iomem(res);
 		} else {
-			res->start = addr;
-			res->end = addr + size - 1;
-			res->name = name;
-			res->desc = desc;
-			res->flags = IORESOURCE_MEM;
+			*res = DEFINE_RES_NAMED_DESC(addr, size, name, IORESOURCE_MEM, desc);
 
 			/*
 			 * Only succeed if the resource hosts an exclusive
_

Patches currently in -mm which might be from andriy.shevchenko@linux.intel.com are



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

only message in thread, other threads:[~2025-03-22  5:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-22  5:10 [merged mm-nonmm-stable] resource-replace-open-coded-variant-of-define_res_named_desc.patch removed from -mm tree Andrew Morton

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.