| Summary: | x11/nvidia-driver: nvidia_sysctl.c:38:5: error: static_assert failed "compile-time assertion failed" SYSCTL_ADD_STRING(&sysctl_ctx, | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
| Component: | Individual Port(s) | Assignee: | Alexey Dokuchaev <danfe> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | hselasky | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Jan Beich
2014-10-22 03:38:16 UTC
Auto-assigned to maintainer danfe@FreeBSD.org Comment on attachment 148557 [details]
fix
Your patch is correct. You don't actually need the OS check.
--HPS
It might also be possible that I can allow in the kernel, that only invalid overspecifier will trigger an CTASSERT(). What do you think? --HPS A commit references this bug: Author: hselasky Date: Wed Oct 22 07:16:47 UTC 2014 New revision: 273455 URL: https://svnweb.freebsd.org/changeset/base/273455 Log: Allow overspecification of SYSCTL type in external kernel modules. PR: 194523 MFC after: 3 days Changes: head/sys/sys/sysctl.h Please re-open if still an issue. Thank you! --HPS |