Page MenuHomeFreeBSD

tests/sys/kern/ssl_sendfile: fix the build with ATF 0.22+
ClosedPublic

Authored by ngie on Mon, Aug 31, 2:47 AM.
Tags
None
Referenced Files
F171380011: D59286.id186019.diff
Thu, Sep 10, 7:40 PM
F171377915: D59286.id185466.diff
Thu, Sep 10, 7:18 PM
F171291822: D59286.id.diff
Thu, Sep 10, 4:47 AM
Unknown Object (File)
Wed, Sep 9, 1:31 PM
Unknown Object (File)
Mon, Sep 7, 11:24 PM
Unknown Object (File)
Mon, Sep 7, 7:53 PM
Unknown Object (File)
Mon, Sep 7, 6:49 PM
Unknown Object (File)
Sun, Sep 6, 8:46 PM
Subscribers

Details

Summary

Code that assigned variables as part of ATF_\* are no longer
permitted due to changes introduced in [ATF 0.22][1].

MFC after: 2 weeks
Reported by: clang/gcc (-Wparenthesis)
[1]: https://github.com/freebsd/atf/pull/72

Test Plan

The test passes after the change.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76344
Build 73227: arc lint + arc unit

Event Timeline

ngie requested review of this revision.Mon, Aug 31, 2:47 AM
ngie added a reviewer: glebius.
ngie edited the summary of this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Sun, Sep 6, 7:19 PM
This revision was automatically updated to reflect the committed changes.