* [xlnx:master 12/20] drivers/misc/xilinx-ai-engine/ai-engine-fpga.c:21:2: note: in expansion of macro 'mutex_lock_interruptible'
@ 2020-06-18 19:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-18 19:48 UTC (permalink / raw)
To: Wendy Liang; +Cc: Michal Simek, kbuild-all, Hyun Kwon, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 3013 bytes --]
tree: https://github.com/Xilinx/linux-xlnx master
head: 319e5bc767fe351a63744daa9cdd69b1915956d0
commit: e24d5dbb603552c4cb9c9e946c78055a60f83d85 [12/20] misc: ai-engine: Add FPGA bridge to AI engine partition
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout e24d5dbb603552c4cb9c9e946c78055a60f83d85
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/kernfs.h:12,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/cdev.h:5,
from drivers/misc/xilinx-ai-engine/ai-engine-internal.h:12,
from drivers/misc/xilinx-ai-engine/ai-engine-fpga.c:8:
drivers/misc/xilinx-ai-engine/ai-engine-fpga.c: In function 'aie_fpga_bridge_enable_set':
include/linux/mutex.h:154:40: warning: ignoring return value of 'mutex_lock_interruptible_nested', declared with attribute warn_unused_result [-Wunused-result]
154 | #define mutex_lock_interruptible(lock) mutex_lock_interruptible_nested(lock, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/misc/xilinx-ai-engine/ai-engine-fpga.c:21:2: note: in expansion of macro 'mutex_lock_interruptible'
21 | mutex_lock_interruptible(&apart->mlock);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/xilinx-ai-engine/ai-engine-fpga.c: In function 'aie_fpga_bridge_enable_show':
include/linux/mutex.h:154:40: warning: ignoring return value of 'mutex_lock_interruptible_nested', declared with attribute warn_unused_result [-Wunused-result]
154 | #define mutex_lock_interruptible(lock) mutex_lock_interruptible_nested(lock, 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/xilinx-ai-engine/ai-engine-fpga.c:35:2: note: in expansion of macro 'mutex_lock_interruptible'
35 | mutex_lock_interruptible(&apart->mlock);
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/mutex_lock_interruptible +21 drivers/misc/xilinx-ai-engine/ai-engine-fpga.c
9
10 static int aie_fpga_bridge_enable_set(struct fpga_bridge *bridge, bool enable)
11 {
12 struct aie_partition *apart = bridge->priv;
13
14 /*
15 * TBD:
16 * "Enable" should enable the SHIM tile configuration.
17 * "Disable" should should disable SHIM DMAs, and wait
18 * until SHIM DMA stops, and disable SHIM
19 * to PL streams within partition.
20 */
> 21 mutex_lock_interruptible(&apart->mlock);
22 if (enable)
23 apart->status |= XAIE_PART_STATUS_BRIDGE_ENABLED;
24 else
25 apart->status &= ~XAIE_PART_STATUS_BRIDGE_ENABLED;
26 mutex_unlock(&apart->mlock);
27 return 0;
28 }
29
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 70364 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-18 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 19:48 [xlnx:master 12/20] drivers/misc/xilinx-ai-engine/ai-engine-fpga.c:21:2: note: in expansion of macro 'mutex_lock_interruptible' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).