ethercat/master
Bjarne von Horn 27db882dab Fix setting flag in vm_area_struct for Kernel 6.3
The error was:
```
[  150s]   gcc -Wp,-MMD,/home/abuild/rpmbuild/BUILD/build-default/devices/ccat/.netdev.o.d -nostdinc -I/usr/src/linux-6.3.1-1/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-6.3.1-1/include -I./include -I/usr/src/linux-6.3.1-1/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-6.3.1-1/include/uapi -I./include/generated/uapi -include /usr/src/linux-6.3.1-1/include/linux/compiler-version.h -include /usr/src/linux-6.3.1-1/include/linux/kconfig.h -include /usr/src/linux-6.3.1-1/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-6.3.1-1/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -funsigned-char -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -gdwarf-5  -DMODULE  -DKBUILD_BASENAME='"netdev"' -DKBUILD_MODNAME='"ec_ccat"' -D__KBUILD_MODNAME=kmod_ec_ccat -c -o /home/abuild/rpmbuild/BUILD/build-default/devices/ccat/netdev.o /home/abuild/rpmbuild/BUILD/build-default/devices/ccat/netdev.c   ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --orc --retpoline --rethunk --sls --static-call --uaccess --prefix=16   --module /home/abuild/rpmbuild/BUILD/build-default/devices/ccat/netdev.o
[  151s] /home/abuild/rpmbuild/BUILD/build-default/master/cdev.c: In function 'eccdev_mmap':
[  151s] /home/abuild/rpmbuild/BUILD/build-default/master/cdev.c:246:19: error: assignment of read-only member 'vm_flags'
[  151s]   246 |     vma->vm_flags |= VM_DONTDUMP; /* Pages will not be swapped out */
[  151s]       |                   ^~
[  151s] make[3]: *** [/usr/src/linux-6.3.1-1/scripts/Makefile.build:253: /home/abuild/rpmbuild/BUILD/build-default/master/cdev.o] Error 1
```
2023-05-09 14:28:11 +02:00
..
Kbuild.in Added feature flags to API. 2021-07-23 15:53:11 +02:00
Makefile.am Revive 'make distcheck' 2021-06-22 14:43:07 +00:00
cdev.c Fix setting flag in vm_area_struct for Kernel 6.3 2023-05-09 14:28:11 +02:00
cdev.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
coe_emerg_ring.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
coe_emerg_ring.h Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
datagram.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
datagram.h Redundant outputs via datagram pairs. 2012-01-12 17:41:05 +01:00
datagram_pair.c Output datagram stats only if EC_RT_SYSLOG. 2013-12-04 19:53:59 +01:00
datagram_pair.h Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
debug.c Fix setting mac_address 2022-05-17 12:17:28 +02:00
debug.h Improved syslog macros. 2010-05-03 18:07:57 +02:00
device.c Doc. 2017-10-12 13:09:52 +02:00
device.h Removed unused field. 2012-11-30 12:09:12 +01:00
domain.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
domain.h Added configure option for redundancy (--with-devices). 2012-11-30 20:15:31 +01:00
doxygen.c Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
ethernet.c Minor: Fixed indent. 2022-05-17 14:10:51 +02:00
ethernet.h Fixed semaphore header for kernels < 2.6.27. 2012-01-10 10:43:36 +01:00
flag.c Avoided warning about unreasonable use of strncpy(). 2021-08-25 12:00:01 +02:00
flag.h Added feature flags to API. 2021-07-23 15:53:11 +02:00
fmmu_config.c Improved syslog macros. 2010-05-03 18:07:57 +02:00
fmmu_config.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
foe.h Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
foe_request.c Using vmalloc() for FoE memory allocation. 2020-01-24 11:09:48 +01:00
foe_request.h Removed unnecessary ec_master_foe_request_t; fixed FoE access. 2012-12-04 14:26:30 +01:00
fsm_change.c Fixed AL status code lookup. 2012-08-06 14:18:05 +02:00
fsm_change.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_coe.c Centrally defined mailbox types. 2022-03-04 10:00:47 +01:00
fsm_coe.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_foe.c Centrally defined mailbox types. 2022-03-04 10:00:47 +01:00
fsm_foe.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_master.c First feature flag: AssignToPdi. 2021-07-23 16:16:18 +02:00
fsm_master.h Do not use slaves's SoE state machine for configuration. 2012-12-06 14:06:10 +01:00
fsm_pdo.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
fsm_pdo.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_pdo_entry.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
fsm_pdo_entry.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_sii.c Minor: Improved SII debugging. 2010-09-22 12:26:32 +02:00
fsm_sii.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_slave.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
fsm_slave.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
fsm_slave_config.c First feature flag: AssignToPdi. 2021-07-23 16:16:18 +02:00
fsm_slave_config.h Do not use slaves's SoE state machine for configuration. 2012-12-06 14:06:10 +01:00
fsm_slave_scan.c Improved debugging and behavior on sick SII contents. 2020-09-03 12:53:53 +02:00
fsm_slave_scan.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_soe.c Centrally defined mailbox types. 2022-03-04 10:00:47 +01:00
fsm_soe.h Avoided io_sem locking from userspace/rtdm library. 2013-01-10 17:36:41 +01:00
globals.h Also changed license of gloabl headers to LGPL. 2021-07-23 13:33:54 +02:00
ioctl.c master/ioctl.c: FIX -- more points where io_sem must be locked 2021-11-04 13:50:55 +01:00
ioctl.h Added feature flags to API. 2021-07-23 15:53:11 +02:00
mailbox.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
mailbox.h Centrally defined mailbox types. 2022-03-04 10:00:47 +01:00
master.c master: added 'run_on_cpu' module parameter to bind kthreads to a cpu 2021-09-27 14:56:01 +02:00
master.h master: added 'run_on_cpu' module parameter to bind kthreads to a cpu 2021-09-27 14:56:01 +02:00
module.c master: added 'run_on_cpu' module parameter to bind kthreads to a cpu 2021-09-27 14:56:01 +02:00
pdo.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
pdo.h Improved output when PDO assignment/mapping fails. 2010-02-23 15:49:12 +01:00
pdo_entry.c Removed trailing spaces. 2012-09-06 20:22:24 +02:00
pdo_entry.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
pdo_list.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-09-01 11:00:49 +02:00
pdo_list.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
reg_request.c Implemented emergency register requests to analyze a broken bus. 2013-05-13 20:21:19 +02:00
reg_request.h Implemented emergency register requests to analyze a broken bus. 2013-05-13 20:21:19 +02:00
rtdm-ioctl.c Re-worked and seamlessly integrated RTDM interface. 2012-09-20 15:28:25 +02:00
rtdm.c Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
rtdm.h Some more doxygen documentation. 2013-02-12 17:15:09 +01:00
sdo.c Removed trailing spaces. 2012-09-06 20:22:24 +02:00
sdo.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
sdo_entry.c Read SDO entry access rights. 2009-04-08 08:13:33 +00:00
sdo_entry.h Read SDO entry access rights. 2009-04-08 08:13:33 +00:00
sdo_request.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
sdo_request.h Added ecrt_sdo_request_index() method to change index and subindex. 2012-10-04 10:07:52 +02:00
slave.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
slave.h Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
slave_config.c Merge branch 'feature-flags' into 'stable-1.5' 2021-08-24 10:15:10 +00:00
slave_config.h Find flag method with const char * parameter; added method to header. 2021-07-23 16:15:05 +02:00
soe_errors.c Included list of common SoE error messages. 2010-03-19 12:01:32 +01:00
soe_request.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
soe_request.h Added drive_no parameter to SoE layer. 2010-07-20 10:52:31 +02:00
sync.c Updated Doxygen documentation. 2013-02-12 15:46:43 +01:00
sync.h Always enable a sync manager, if there are registered PDOs conatined (and it 2011-10-24 10:47:36 +02:00
sync_config.c Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
sync_config.h Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
voe_handler.c Centrally defined mailbox types. 2022-03-04 10:00:47 +01:00
voe_handler.h Improved and added license headers. 2009-02-24 12:51:39 +00:00