Message ID | 20211102202901.3675568-1-ira.weiny@intel.com |
---|---|
Headers | show |
Series | CXL: Clarify struct cxl_mem | expand |
There is nothing 'INTERNAL' about this series... Just cruft left over from my generate/send scripts I forgot to remove... Ira On Tue, Nov 02, 2021 at 01:28:59PM -0700, 'Ira Weiny' wrote: > From: Ira Weiny <ira.weiny@intel.com> > > The first patch is a simple clean up. > > The cxl_mem object actually represents the state of a CXL device within the > driver. Furthermore, there was confusion with the cxl_memdev structure. > > Clean this up with a new structure name, function names and kernel docs. > > --- > Changes made based on Ben's comments. > > Ira Weiny (2): > cxl/mbox: Remove bad comment > cxl/cxlmem: Change cxl_mem to a more descriptive name > > drivers/cxl/core/mbox.c | 184 +++++++++++++++++------------------ > drivers/cxl/core/memdev.c | 48 ++++----- > drivers/cxl/cxlmem.h | 35 ++++--- > drivers/cxl/pci.c | 146 +++++++++++++-------------- > drivers/cxl/pmem.c | 39 ++++---- > tools/testing/cxl/test/mem.c | 50 +++++----- > 6 files changed, 252 insertions(+), 250 deletions(-) > > -- > 2.28.0.rc0.12.gb6a658bd00c9 >
From: Ira Weiny <ira.weiny@intel.com> The first patch is a simple clean up. The cxl_mem object actually represents the state of a CXL device within the driver. Furthermore, there was confusion with the cxl_memdev structure. Clean this up with a new structure name, function names and kernel docs. --- Changes made based on Ben's comments. Ira Weiny (2): cxl/mbox: Remove bad comment cxl/cxlmem: Change cxl_mem to a more descriptive name drivers/cxl/core/mbox.c | 184 +++++++++++++++++------------------ drivers/cxl/core/memdev.c | 48 ++++----- drivers/cxl/cxlmem.h | 35 ++++--- drivers/cxl/pci.c | 146 +++++++++++++-------------- drivers/cxl/pmem.c | 39 ++++---- tools/testing/cxl/test/mem.c | 50 +++++----- 6 files changed, 252 insertions(+), 250 deletions(-)