== Series Details == Series: series starting with [1/2] dma-buf: add dma_resv_for_each_fence v3 URL : https://patchwork.freedesktop.org/series/95560/ State : warning == Summary == $ dim checkpatch origin/drm-tip 34a8413e8f2b dma-buf: add dma_resv_for_each_fence v3 -:109: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'cursor' - possible side-effects? #109: FILE: include/linux/dma-resv.h:262: +#define dma_resv_for_each_fence(cursor, obj, all_fences, fence) \ + for (dma_resv_iter_begin(cursor, obj, all_fences), \ + fence = dma_resv_iter_first(cursor); fence; \ + fence = dma_resv_iter_next(cursor)) -:109: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'fence' - possible side-effects? #109: FILE: include/linux/dma-resv.h:262: +#define dma_resv_for_each_fence(cursor, obj, all_fences, fence) \ + for (dma_resv_iter_begin(cursor, obj, all_fences), \ + fence = dma_resv_iter_first(cursor); fence; \ + fence = dma_resv_iter_next(cursor)) -:116: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken@xxxxxxxxx>' != 'Signed-off-by: Christian König <christian.koenig@xxxxxxx>' total: 0 errors, 1 warnings, 2 checks, 89 lines checked 92d8e5c71ccd dma-buf: add dma_resv selftest v3 -:40: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #40: new file mode 100644 -:45: WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'drivers/dma-buf/st-dma-resv.c', please use '//' instead #45: FILE: drivers/dma-buf/st-dma-resv.c:1: +/* SPDX-License-Identifier: MIT */ -:45: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #45: FILE: drivers/dma-buf/st-dma-resv.c:1: +/* SPDX-License-Identifier: MIT */ -:48: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #48: FILE: drivers/dma-buf/st-dma-resv.c:4: +/* +* Copyright © 2019 Intel Corporation -:235: ERROR:OPEN_BRACE: that open brace { should be on the previous line #235: FILE: drivers/dma-buf/st-dma-resv.c:191: +static int test_for_each_unlocked(void *arg, bool shared) +{ -:302: ERROR:OPEN_BRACE: that open brace { should be on the previous line #302: FILE: drivers/dma-buf/st-dma-resv.c:258: +static int test_excl_for_each_unlocked(void *arg) +{ -:307: ERROR:OPEN_BRACE: that open brace { should be on the previous line #307: FILE: drivers/dma-buf/st-dma-resv.c:263: +static int test_shared_for_each_unlocked(void *arg) +{ -:326: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken@xxxxxxxxx>' != 'Signed-off-by: Christian König <christian.koenig@xxxxxxx>' total: 3 errors, 5 warnings, 0 checks, 294 lines checked