| raw e-mail | index | archive | help
<...> /usr/src/sys/compat/linuxkpi/common/include/linux/ioport.h:40:8: error: redefinition of 'linux_res ource'=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 40 | struct resource {=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 | ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/obj/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_1/linu= xkpi/gplv2/include/linu x/pci.h:24:18: note: expanded from macro 'resource'=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 24 | #define resource linux_resource=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 /usr/obj/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_1/linu= xkpi/gplv2/include/linu x/pci.h:19:8: note: previous definition is here=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 19 | struct linux_resource {=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 |=20=20=20=20=20=20=20=20 <...> /usr/src/sys/compat/linuxkpi/common/include/linux/ioport.h:46:1: error: redefinition of 'resource_ size'=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 46 | resource_size(const struct resource *r)=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/obj/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_1/linu= xkpi/gplv2/include/linu x/pci.h:27:1: note: previous definition is here=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 27 | resource_size(const struct linux_resource *res)=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 | ^ <...> /usr/src/sys/compat/linuxkpi/common/include/linux/ioport.h:52:1: error: redefinition of 'resource_contains' 52 | resource_contains(struct resource *a, struct resource *b) | ^ /usr/obj/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_1/linu= xkpi/gplv2/include/linux/pci.h:33:1: note: previous definition is here 33 | resource_contains(struct linux_resource *a, struct linux_resource *= b) | ^ <...> /usr/obj/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_1/driv= ers/gpu/drm/i915/gem/i915_gem_object.h:43:6: error: shift count >=3D width of type [-Werror,-Wshift-count-overflow] 43 | if (overflows_type(size, obj->base.size)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/obj/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_1/driv= ers/gpu/drm/i915/i915_utils.h:125:32: note: expanded from macro 'overflows_type' 125 | (sizeof(x) > sizeof(T) && (x) >> BITS_PER_TYPE(T)) | ^ ~~~~~~~~~~~~~~~~ 5 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>