Bug 176280 - [kernel] On net/if_var.h we can't return a value in a void function.
Summary: [kernel] On net/if_var.h we can't return a value in a void function.
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 03:20 UTC by Marcelo Araujo
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments
file.diff (278 bytes, patch)
2013-02-20 03:20 UTC, Marcelo Araujo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Araujo freebsd_committer freebsd_triage 2013-02-20 03:20:01 UTC
On FreeBSD-HEAD specifically on sys/net/if_var.h at line 695 on the function drbr_advance we cannot call a return in a void function, we should use the mbuf struct.

Fix: Patch attached with submission follows:
How-To-Repeat: Build it using clang.
Comment 1 Marcelo Araujo freebsd_committer freebsd_triage 2013-02-20 04:03:57 UTC
State Changed
From-To: open->closed

It is not a problem... :)
Comment 2 Marcelo Araujo freebsd_committer freebsd_triage 2013-02-21 02:47:04 UTC
State Changed
From-To: closed->open

Re-open this PR, discussed with Eitan Adler
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:44 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped