Page MenuHomeFreeBSD

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

Authored by ngie on Mon, Aug 31, 2:47 AM.
Tags
None
Referenced Files
F169690652: D59286.id.diff
Wed, Sep 2, 7:30 AM
F169679338: D59286.diff
Wed, Sep 2, 6:49 AM
F169553870: D59286.id185466.diff
Tue, Sep 1, 9:56 PM
Unknown Object (File)
Mon, Aug 31, 7:33 AM
Unknown Object (File)
Mon, Aug 31, 7:31 AM
Unknown Object (File)
Mon, Aug 31, 6:49 AM
Unknown Object (File)
Mon, Aug 31, 5:39 AM
Unknown Object (File)
Mon, Aug 31, 5:36 AM
Subscribers

Details

Reviewers
glebius
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