Re: [PATCH] ndtest: Convert to platform remove callback returning void

2024-03-29 Thread Dan Williams
Uwe Kleine-König wrote: > The .remove() callback for a platform driver returns an int which makes > many driver authors wrongly assume it's possible to do error handling by > returning an error code. However the value returned is ignored (apart > from emitting a warning) and this typically results

Re: [ndctl PATCH] cxl/test: Add test case for region info to cxl-events.sh

2024-03-29 Thread Dave Jiang
On 3/27/24 9:37 PM, alison.schofi...@intel.com wrote: > From: Alison Schofield > > Events cxl_general_media and cxl_dram both report DPAs that may > be mapped in a region. If the DPA is mapped, the trace event will > include the HPA translation, region name and region uuid in the > trace event

Re: [PATCH] ndtest: Convert to platform remove callback returning void

2024-03-29 Thread Dave Jiang
On 3/8/24 1:51 AM, Uwe Kleine-König wrote: > The .remove() callback for a platform driver returns an int which makes > many driver authors wrongly assume it's possible to do error handling by > returning an error code. However the value returned is ignored (apart > from emitting a warning) and t