[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230530140223.13994-1-mariusz.tkaczyk@linux.intel.com>
Date: Tue, 30 May 2023 16:02:21 +0200
From: Mariusz Tkaczyk <mariusz.tkaczyk@...ux.intel.com>
To: arnd@...db.de
Cc: hch@....de, andriy.shevchenko@...el.com, dan.j.williams@...el.com,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/2] Enclosure interface cleanups
Hi Arnd,
While looking into adding Native PCIE Enclosure Management (NPEM) support
behind the existing enclosure ABI, I noticed a few opportunities for
cleanups.
Changes since v1[1] + internal review:
- Keep reporting the cached version of ecomp->active (Dan).
- Preserve cached values in ecomp, drop patch 2 (Dan).
- Add comment documenting cached ecomp->active (Dan).
- Move ATTRS macros close to appropriate _show and _store functions (Andy).
- Make comment shorter (Christoph).
- Update patch2 title (Christoph).
[1] https://lore.kernel.org/linux-pci/20221117163407.28472-1-mariusz.tkaczyk@linux.intel.com/
[2] https://lore.kernel.org/linux-kernel/20230524111231.14506-3-mariusz.tkaczyk@linux.intel.com/
Mariusz Tkaczyk (2):
misc: enclosure: remove get_active callback
misc: enclosure: update sysfs api
drivers/misc/enclosure.c | 84 ++++++++++++++++++---------------------
include/linux/enclosure.h | 2 -
2 files changed, 39 insertions(+), 47 deletions(-)
--
2.26.2
Powered by blists - more mailing lists