- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm a PhD student and have been trying to configure an Intel Xeon Phi Coprocessor 7120P since a while now. Earlier i had issues in getting it to recognize on my PC but now i have resolved that and the 7120P card is getting recognized on my pc.
Now i'm trying to configure it but facing issues in the first step itself. The user guide given in the mpss-3.8.6 mentions to "Regenerate the Intel(R) MPSS driver module package". But when i try that i get an error. I have mentioned the complete outputand my OS environment below. Can anyone please help ?
OS: CentOS Linux release 7.9.2009 (Core)
Kernel: Linux 3.10.0-1160.11.1.el7.x86_64
Output:
[root@Titan02 src]# rpmbuild --rebuild mpss-modules-*.rpm
Installing mpss-modules-3.8.6-1.src.rpm
warning: user qb_user does not exist - using root
warning: group qb_user does not exist - using root
warning: user qb_user does not exist - using root
warning: group qb_user does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XcWAGq
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf mpss-modules-3.8.6
+ /usr/bin/mkdir -p mpss-modules-3.8.6
+ cd mpss-modules-3.8.6
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/mpss-modules-3.8.6.tar.bz2
+ /usr/bin/tar -xvvf -
drwxrwxr-x qb_user/qb_user 0 2019-07-25 18:09 ./
-rw-rw-r-- qb_user/qb_user 411 2019-07-01 21:45 ./udev-mic.rules
-rw-rw-r-- qb_user/qb_user 49 2019-07-01 21:45 ./.mpss-metadata
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./dma/
-rw-rw-r-- qb_user/qb_user 120 2019-07-01 21:45 ./dma/Kbuild
-rw-rw-r-- qb_user/qb_user 16015 2019-07-01 21:45 ./dma/mic_dma_md.c
-rw-rw-r-- qb_user/qb_user 2151 2019-07-01 21:45 ./dma/mic_sbox_md.c
-rw-rw-r-- qb_user/qb_user 54732 2019-07-01 21:45 ./dma/mic_dma_lib.c
-rw-rw-r-- qb_user/qb_user 3589 2019-07-01 21:45 ./Kbuild
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./mpssboot/
-rw-rw-r-- qb_user/qb_user 6910 2019-07-01 21:45 ./mpssboot/mpssboot.c
-rw-rw-r-- qb_user/qb_user 20 2019-07-01 21:45 ./mpssboot/Kbuild
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./pm_scif/
-rw-rw-r-- qb_user/qb_user 19 2019-07-01 21:45 ./pm_scif/Kbuild
-rw-rw-r-- qb_user/qb_user 10092 2019-07-01 21:45 ./pm_scif/pm_scif.c
-rw-rw-r-- qb_user/qb_user 2152 2019-07-01 21:45 ./pm_scif/pm_scif.h
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./ras/
-rw-rw-r-- qb_user/qb_user 32564 2019-07-01 21:45 ./ras/micras_uncore.c
-rw-rw-r-- qb_user/qb_user 207 2019-07-01 21:45 ./ras/Kbuild
-rw-rw-r-- qb_user/qb_user 68817 2019-07-01 21:45 ./ras/micras_main.c
-rw-rw-r-- qb_user/qb_user 32895 2019-07-01 21:45 ./ras/micras_api.h
-rw-rw-r-- qb_user/qb_user 6557 2019-07-01 21:45 ./ras/monahan.h
-rw-rw-r-- qb_user/qb_user 37460 2019-07-01 21:45 ./ras/micras_knf.c
-rw-rw-r-- qb_user/qb_user 77928 2019-07-01 21:45 ./ras/micras_elog.c
-rw-rw-r-- qb_user/qb_user 69571 2019-07-01 21:45 ./ras/micras_knc.c
-rw-rw-r-- qb_user/qb_user 6491 2019-07-01 21:45 ./ras/Makefile
-rw-rw-r-- qb_user/qb_user 30533 2019-07-01 21:45 ./ras/micras_core.c
-rw-rw-r-- qb_user/qb_user 24090 2019-07-01 21:45 ./ras/micras_common.c
-rw-rw-r-- qb_user/qb_user 28421 2019-07-01 21:45 ./ras/micras_pm.c
-rw-rw-r-- qb_user/qb_user 10224 2019-07-01 21:45 ./ras/micpm_api.h
-rw-rw-r-- qb_user/qb_user 14455 2019-07-01 21:45 ./ras/micras.h
-rw-rw-r-- qb_user/qb_user 4687 2019-07-01 21:45 ./ras/micmca_api.h
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./trace_capture/
-rw-rw-r-- qb_user/qb_user 25 2019-07-01 21:45 ./trace_capture/Kbuild
-rw-rw-r-- qb_user/qb_user 10647 2019-07-01 21:45 ./trace_capture/tc_host.c
-rw-rw-r-- qb_user/qb_user 2415 2019-07-01 21:45 ./trace_capture/docapture.c
-rw-rw-r-- qb_user/qb_user 8602 2019-07-01 21:45 ./trace_capture/trace_capture.h
-rw-rw-r-- qb_user/qb_user 569 2019-07-01 21:45 ./trace_capture/Makefile
-rw-rw-r-- qb_user/qb_user 2816 2019-07-01 21:45 ./trace_capture/tc_memcvt.c
-rw-rw-r-- qb_user/qb_user 68560 2019-07-01 21:45 ./trace_capture/trace_capture.c
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./micscif/
-rw-rw-r-- qb_user/qb_user 11996 2019-07-01 21:45 ./micscif/micscif_rb.c
-rw-rw-r-- qb_user/qb_user 74401 2019-07-01 21:45 ./micscif/micscif_rma.c
-rw-rw-r-- qb_user/qb_user 16182 2019-07-01 21:45 ./micscif/micscif_va_gen.c
-rw-rw-r-- qb_user/qb_user 16374 2019-07-01 21:45 ./micscif/micscif_rma_list.c
-rw-rw-r-- qb_user/qb_user 31378 2019-07-01 21:45 ./micscif/micscif_debug.c
-rw-rw-r-- qb_user/qb_user 12177 2019-07-01 21:45 ./micscif/micscif_select.c
-rw-rw-r-- qb_user/qb_user 44878 2019-07-01 21:45 ./micscif/micscif_nm.c
-rw-rw-r-- qb_user/qb_user 584 2019-07-01 21:45 ./micscif/Kbuild
-rw-rw-r-- qb_user/qb_user 6661 2019-07-01 21:45 ./micscif/micscif_sysfs.c
-rw-rw-r-- qb_user/qb_user 13498 2019-07-01 21:45 ./micscif/micscif_smpt.c
-rw-rw-r-- qb_user/qb_user 96705 2019-07-01 21:45 ./micscif/micscif_api.c
-rw-rw-r-- qb_user/qb_user 18490 2019-07-01 21:45 ./micscif/micscif_main.c
-rw-rw-r-- qb_user/qb_user 5143 2019-07-01 21:45 ./micscif/micscif_intr.c
-rw-rw-r-- qb_user/qb_user 29259 2019-07-01 21:45 ./micscif/micscif_rma_dma.c
-rw-rw-r-- qb_user/qb_user 12840 2019-07-01 21:45 ./micscif/micscif_fd.c
-rw-rw-r-- qb_user/qb_user 85521 2019-07-01 21:45 ./micscif/micscif_nodeqp.c
-rw-rw-r-- qb_user/qb_user 6601 2019-07-01 21:45 ./micscif/micscif_va_node.c
-rw-rw-r-- qb_user/qb_user 8999 2019-07-01 21:45 ./micscif/micscif_ports.c
-rw-rw-r-- qb_user/qb_user 18092 2019-07-01 21:45 ./COPYING
-rw-rw-r-- qb_user/qb_user 4436 2019-07-01 21:45 ./Makefile
-rwxrwxr-x qb_user/qb_user 88 2019-07-01 21:45 ./mic.modules
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./include/
-rw-rw-r-- qb_user/qb_user 6481 2019-07-01 21:45 ./include/scif_ioctl.h
-rw-rw-r-- qb_user/qb_user 3744 2019-07-01 21:45 ./include/micint.h
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./include/mic/
-rw-rw-r-- qb_user/qb_user 2515 2019-07-01 21:45 ./include/mic/micscif_kmem_cache.h
-rw-rw-r-- qb_user/qb_user 12511 2019-07-01 21:45 ./include/mic/mic_pm.h
-rw-rw-r-- qb_user/qb_user 4050 2019-07-01 21:45 ./include/mic/micveth.h
-rw-rw-r-- qb_user/qb_user 4823 2019-07-01 21:45 ./include/mic/micvcons.h
-rw-rw-r-- qb_user/qb_user 7461 2019-07-01 21:45 ./include/mic/micveth_dma.h
-rw-rw-r-- qb_user/qb_user 3993 2019-07-01 21:45 ./include/mic/micscif_smpt.h
-rw-rw-r-- qb_user/qb_user 8075 2019-07-01 21:45 ./include/mic/micscif_nm.h
-rw-rw-r-- qb_user/qb_user 27176 2019-07-01 21:45 ./include/mic/micscif_rma.h
-rw-rw-r-- qb_user/qb_user 6156 2019-07-01 21:45 ./include/mic/compl_buf_ring.h
-rw-rw-r-- qb_user/qb_user 6023 2019-07-01 21:45 ./include/mic/io_interface.h
-rw-rw-r-- qb_user/qb_user 4631 2019-07-01 21:45 ./include/mic/bootparams.h
-rw-rw-r-- qb_user/qb_user 9223 2019-07-01 21:45 ./include/mic/micscif_nodeqp.h
-rw-rw-r-- qb_user/qb_user 27016 2019-07-01 21:45 ./include/mic/micscif.h
-rw-rw-r-- qb_user/qb_user 2272 2019-07-01 21:45 ./include/mic/micpsmi.h
-rw-rw-r-- qb_user/qb_user 4292 2019-07-01 21:45 ./include/mic/micbaseaddressdefine.h
-rw-rw-r-- qb_user/qb_user 2517 2019-07-01 21:45 ./include/mic/micveth_common.h
-rw-rw-r-- qb_user/qb_user 3220 2019-07-01 21:45 ./include/mic/micscif_va_gen.h
-rw-rw-r-- qb_user/qb_user 4929 2019-07-01 21:45 ./include/mic/micscif_rma_list.h
-rw-rw-r-- qb_user/qb_user 3120 2019-07-01 21:45 ./include/mic/mic_sbox_md.h
-rw-rw-r-- qb_user/qb_user 2635 2019-07-01 21:45 ./include/mic/mic_virtio.h
-rw-rw-r-- qb_user/qb_user 3835 2019-07-01 21:45 ./include/mic/micscif_va_node.h
-rw-rw-r-- qb_user/qb_user 7775 2019-07-01 21:45 ./include/mic/ringbuffer.h
-rw-rw-r-- qb_user/qb_user 2351 2019-07-01 21:45 ./include/mic/micscif_intr.h
-rw-rw-r-- qb_user/qb_user 14550 2019-07-01 21:45 ./include/mic/mic_dma_md.h
-rw-rw-r-- qb_user/qb_user 2108 2019-07-01 21:45 ./include/mic/micdboxdefine.h
-rw-rw-r-- qb_user/qb_user 7436 2019-07-01 21:45 ./include/mic/mic_dma_lib.h
-rw-rw-r-- qb_user/qb_user 5778 2019-07-01 21:45 ./include/mic/micscif_rb.h
-rw-rw-r-- qb_user/qb_user 7402 2019-07-01 21:45 ./include/mic/micscif_map.h
-rw-rw-r-- qb_user/qb_user 10281 2019-07-01 21:45 ./include/mic/micsboxdefine.h
-rw-rw-r-- qb_user/qb_user 4215 2019-07-01 21:45 ./include/mic/mic_macaddr.h
-rw-rw-r-- qb_user/qb_user 6544 2019-07-01 21:45 ./include/mic/mic_dma_api.h
-rw-rw-r-- qb_user/qb_user 3953 2019-07-01 21:45 ./include/mic_interrupts.h
-rw-rw-r-- qb_user/qb_user 22586 2019-07-01 21:45 ./include/mic_common.h
-rw-rw-r-- qb_user/qb_user 68604 2019-07-01 21:45 ./include/scif.h
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./virtio/
-rw-rw-r-- qb_user/qb_user 24 2019-07-01 21:45 ./virtio/Kbuild
-rw-rw-r-- qb_user/qb_user 22334 2019-07-01 21:45 ./virtio/mic_virtblk.c
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./vcons/
-rw-rw-r-- qb_user/qb_user 44 2019-07-01 21:45 ./vcons/Kbuild
-rw-rw-r-- qb_user/qb_user 3737 2019-07-01 21:45 ./vcons/hvc_console.h
-rw-rw-r-- qb_user/qb_user 9616 2019-07-01 21:45 ./vcons/hvc_mic.c
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./ramoops/
-rw-rw-r-- qb_user/qb_user 4216 2019-07-01 21:45 ./ramoops/ramoops.c
-rw-rw-r-- qb_user/qb_user 19 2019-07-01 21:45 ./ramoops/Kbuild
-rw-rw-r-- qb_user/qb_user 1334 2019-07-01 21:45 ./mic.conf
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./host/
-rw-rw-r-- qb_user/qb_user 17157 2019-07-01 21:45 ./host/pm_ioctl.c
-rw-rw-r-- qb_user/qb_user 28523 2019-07-01 21:45 ./host/micscif_pm.c
-rw-rw-r-- qb_user/qb_user 21744 2019-07-01 21:45 ./host/linvnet.c
-rw-rw-r-- qb_user/qb_user 4940 2019-07-01 21:45 ./host/linpsmi.c
-rw-rw-r-- qb_user/qb_user 19188 2019-07-01 21:45 ./host/linvcons.c
-rw-rw-r-- qb_user/qb_user 29774 2019-07-01 21:45 ./host/pm_pcstate.c
-rw-rw-r-- qb_user/qb_user 29536 2019-07-01 21:45 ./host/tools_support.c
-rw-rw-r-- qb_user/qb_user 9705 2019-07-01 21:45 ./host/linscif_host.c
-rw-rw-r-- qb_user/qb_user 1444 2019-07-01 21:45 ./host/Makefile
-rw-rw-r-- qb_user/qb_user 22761 2019-07-01 21:45 ./host/linsysfs.c
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./host/vhost/
-rw-rw-r-- qb_user/qb_user 7930 2019-07-01 21:45 ./host/vhost/vhost.h
-rw-rw-r-- qb_user/qb_user 18710 2019-07-01 21:45 ./host/vhost/mic_vhost.c
-rw-rw-r-- qb_user/qb_user 16910 2019-07-01 21:45 ./host/vhost/mic_blk.c
-rw-rw-r-- qb_user/qb_user 6527 2019-07-01 21:45 ./host/linpm.c
-rw-rw-r-- qb_user/qb_user 5404 2019-07-01 21:45 ./host/ioctl.c
-rw-rw-r-- qb_user/qb_user 22242 2019-07-01 21:45 ./host/linux.c
-rw-rw-r-- qb_user/qb_user 22798 2019-07-01 21:45 ./host/vmcore.c
-rw-rw-r-- qb_user/qb_user 53803 2019-07-01 21:45 ./host/uos_download.c
-rw-rw-r-- qb_user/qb_user 5386 2019-07-01 21:45 ./host/acptboot.c
-rw-rw-r-- qb_user/qb_user 6154 2019-07-01 21:45 ./host/micpsmi.c
drwxrwxr-x qb_user/qb_user 0 2019-07-01 21:45 ./vnet/
-rw-rw-r-- qb_user/qb_user 88 2019-07-01 21:45 ./vnet/Kbuild
-rw-rw-r-- qb_user/qb_user 3205 2019-07-01 21:45 ./vnet/mic.h
-rw-rw-r-- qb_user/qb_user 43086 2019-07-01 21:45 ./vnet/micveth_dma.c
-rw-rw-r-- qb_user/qb_user 3320 2019-07-01 21:45 ./vnet/micveth_param.c
-rw-rw-r-- qb_user/qb_user 24018 2019-07-01 21:45 ./vnet/micveth.c
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.16KaFy
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd mpss-modules-3.8.6
+ '[' -d modules ']'
+ /usr/bin/make -j32 KERNEL_VERSION=3.10.0-1160.11.1.el7.x86_64 KERNEL_src=/lib/modules/3.10.0-1160.11.1.el7.x86_64/build CC=gcc 'LD=ld ' MIC_CARD_ARCH=k1om
/usr/bin/make -C /lib/modules/3.10.0-1160.11.1.el7.x86_64/build M=/root/rpmbuild/BUILD/mpss-modules-3.8.6 modules \
INSTALL_MOD_PATH=
make[1]: Entering directory `/usr/src/kernels/3.10.0-1160.11.1.el7.x86_64'
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/dma/mic_dma_lib.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/dma/mic_dma_md.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/acptboot.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/ioctl.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linpm.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linpsmi.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linscif_host.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linsysfs.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvcons.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvnet.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/micpsmi.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/micscif_pm.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/pm_ioctl.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/pm_pcstate.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/tools_support.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/uos_download.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vhost/mic_vhost.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vhost/mic_blk.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vmcore.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_api.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_debug.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_fd.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_intr.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_nm.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_nodeqp.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_ports.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rb.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma_dma.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma_list.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma.o
CC [M] /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_select.o
/root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_select.c: In function 'poll_schedule_timeout':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_select.c:274:2: error: implicit declaration of function 'set_mb' [-Werror=implicit-function-declaration]
set_mb(pwq->triggered, 0);
^
cc1: some warnings being treated as errors
make[2]: *** [/root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_select.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_nm.c:40:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif.h:43,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_nm.c:38:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvnet.c:36:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/tools_support.c:38:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/ioctl.c:38:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linpm.c:68:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/micpsmi.c:36:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c:39:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linpsmi.c:36:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma.c:41:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma_dma.c:47:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/pm_pcstate.c:36:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/acptboot.c:40:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_intr.c:39:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvcons.c:36:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma_list.c:45:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:39,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linpsmi.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linsysfs.c:36:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:47,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/ioctl.c:38:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:47,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/tools_support.c:38:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif.h:43,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif_kmem_cache.h:40,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c:38:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:39,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/micpsmi.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linpm.c:40:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:47,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/pm_pcstate.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_debug.c:38:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif.h:43,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma_dma.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/uos_download.c:38:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/acptboot.c:37:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:39,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvnet.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif.h:43,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_intr.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/micscif_pm.c:36:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:39,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvcons.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif.h:43,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_rma_list.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:39,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linsysfs.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:47,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/uos_download.c:38:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:47,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/micscif_pm.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif.h:43,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_debug.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vmcore.c:62:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_api.c:45:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vmcore.c:51:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/dma/mic_dma_lib.c:55:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/pm_ioctl.c:39:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linscif_host.c:36:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_nodeqp.c:41:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c: In function 'mic_probe':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vhost/mic_blk.c:39:0:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/dma/mic_dma_lib.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_api.c:41:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c:343:5: error: too many arguments to function 'sysfs_get_dirent'
"state");
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif.h:43,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/micscif/micscif_nodeqp.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:47,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/pm_ioctl.c:39:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif_kmem_cache.h:40,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c:38:
include/linux/sysfs.h:503:35: note: declared here
static inline struct kernfs_node *sysfs_get_dirent(struct kernfs_node *parent,
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:47,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linscif_host.c:36:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c:339:23: warning: assignment from incompatible pointer type [enabled by default]
mic_ctx->sysfs_state = sysfs_get_dirent(mic_ctx->bd_info->bi_sysfsdev->kobj.sd,
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c: In function 'mic_remove':
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/micint.h:68:0,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micveth_dma.h:40,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vhost/mic_vhost.c:52:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h: In function 'mic_setstate':
/root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic_common.h:705:3: warning: passing argument 1 of 'sysfs_notify_dirent' from incompatible pointer type [enabled by default]
sysfs_notify_dirent(mic_ctx->sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/device.h:17,
from include/linux/virtio.h:8,
from include/linux/virtio_config.h:6,
from ./include/uapi/linux/vhost.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vhost/mic_vhost.c:25:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
In file included from include/linux/kobject.h:21:0,
from include/linux/device.h:17,
from include/linux/virtio.h:8,
from include/linux/virtio_config.h:6,
from ./include/uapi/linux/vhost.h:16,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vhost/mic_blk.c:23:
include/linux/sysfs.h:498:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_notify_dirent(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c:404:2: warning: passing argument 1 of 'sysfs_put' from incompatible pointer type [enabled by default]
sysfs_put(bd_info->bi_ctx.sysfs_state);
^
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:317,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/include/mic/micscif_kmem_cache.h:40,
from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.c:38:
include/linux/sysfs.h:515:20: note: expected 'struct kernfs_node *' but argument is of type 'struct sysfs_dirent *'
static inline void sysfs_put(struct kernfs_node *kn)
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vmcore.c: At top level:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vmcore.c:164:16: error: conflicting types for 'read_from_oldmem'
static ssize_t read_from_oldmem(mic_ctx_t *mic_ctx,
^
In file included from /root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vmcore.c:55:0:
include/linux/crash_dump.h:112:9: note: previous declaration of 'read_from_oldmem' was here
ssize_t read_from_oldmem(char *buf, size_t count,
^
make[2]: *** [/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/vmcore.o] Error 1
make[2]: *** [/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linux.o] Error 1
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvnet.c: At top level:
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvnet.c:206:2: error: unknown field 'ndo_change_mtu' specified in initializer
.ndo_change_mtu = micveth_change_mtu,
^
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvnet.c:206:2: warning: initialization from incompatible pointer type [enabled by default]
/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvnet.c:206:2: warning: (near initialization for 'veth_netdev_ops.ndo_validate_addr') [enabled by default]
make[2]: *** [/root/rpmbuild/BUILD/mpss-modules-3.8.6/host/linvnet.o] Error 1
make[1]: *** [_module_/root/rpmbuild/BUILD/mpss-modules-3.8.6] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-1160.11.1.el7.x86_64'
make: *** [modules] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.16KaFy (%build)
RPM build errors:
user qb_user does not exist - using root
group qb_user does not exist - using root
user qb_user does not exist - using root
group qb_user does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.16KaFy (%build)
Regards,
Vikrant
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page