Re: [PATCH v2][next] UAPI: ndctl / acpi: intel: Avoid multiple -Wflex-array-member-not-at-end warnings

2025-02-14 Thread Dave Jiang
so on. > > So, with these changes, fix 12 of the following warnings: > > drivers/acpi/nfit/intel.c:692:35: warning: structure containing a flexible > array member is not at the end of another structure > [-Wflex-array-member-not-at-end] > > Signed-off-by: Gustavo A. R. S

Re: [djiang:cxl/fwctl 13/25] drivers/cxl/cxlmem.h:798:44: error: 'counted_by' argument must be a simple declaration reference

2024-09-27 Thread Dave Jiang
On 9/27/24 6:41 AM, Nathan Chancellor wrote: > On Fri, Sep 27, 2024 at 09:39:54AM +0800, kernel test robot wrote: >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git >> cxl/fwctl >> head: b4f2900f53c72de8fc639b62e44763c6a9695d3b >> commit: 5a0496c19151d83cd0d926f8a1488

Re: [PATCH] nvdimm/btt: use sizeof(*pointer) instead of sizeof(type)

2024-06-06 Thread Dave Jiang
f-by: Erick Archer Reviewed-by: Dave Jiang > --- > drivers/nvdimm/btt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/nvdimm/btt.c b/drivers/nvdimm/btt.c > index 1e5aedaf8c7b..b25df8fa8e8e 100644 > --- a/drivers/nvdimm/btt.c > +++

Re: [PATCH] cxl/acpi: Annotate struct cxl_cxims_data with __counted_by

2023-09-22 Thread Dave Jiang
earlier. > > [1] > https://github.com/kees/kernel-tools/blob/trunk/coccinelle/examples/counted_by.cocci > > Cc: Davidlohr Bueso > Cc: Jonathan Cameron > Cc: Dave Jiang > Cc: Alison Schofield > Cc: Vishal Verma > Cc: Ira Weiny > Cc: Dan Williams > Cc: lin

Re: [PATCH] libnvdimm: Annotate struct nd_region with __counted_by

2023-09-22 Thread Dave Jiang
earlier. > > [1] > https://github.com/kees/kernel-tools/blob/trunk/coccinelle/examples/counted_by.cocci > > Cc: Dan Williams > Cc: Vishal Verma > Cc: Dave Jiang > Cc: Ira Weiny > Cc: nvd...@lists.linux.dev > Signed-off-by: Kees Cook Reviewed-by: Dave Jiang >