Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102723598
D36097.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
609 B
Referenced Files
None
Subscribers
None
D36097.diff
View Options
diff --git a/sys/dev/gpio/gpioc.c b/sys/dev/gpio/gpioc.c
--- a/sys/dev/gpio/gpioc.c
+++ b/sys/dev/gpio/gpioc.c
@@ -269,7 +269,8 @@
{
struct gpioc_privs *priv_link;
struct gpioc_pins *pin_link;
- unsigned int consistency_a, consistency_b;
+ unsigned int consistency_a __diagused;
+ unsigned int consistency_b __diagused;
consistency_a = 0;
consistency_b = 0;
@@ -634,7 +635,7 @@
struct gpioc_cdevpriv *priv;
struct gpioc_privs *priv_link, *priv_link_temp;
struct gpioc_pins *pin_link, *pin_link_temp;
- unsigned int consistency;
+ unsigned int consistency __diagused;
priv = data;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 9:20 AM (21 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14673986
Default Alt Text
D36097.diff (609 B)
Attached To
Mode
D36097: gpio: mark INVARIANTS variables as __diagused
Attached
Detach File
Event Timeline
Log In to Comment