Page MenuHomeFreeBSD

Fix build for platforms using GCC
ClosedPublic

Authored by lwhsu on May 10 2018, 4:51 PM.
Tags
None
Referenced Files
F164978677: D15383.id42372.diff
Wed, Aug 5, 5:04 AM
Unknown Object (File)
Wed, Jul 29, 7:17 AM
Unknown Object (File)
Mon, Jul 27, 5:21 AM
Unknown Object (File)
Sat, Jul 25, 5:58 PM
Unknown Object (File)
Mon, Jul 20, 1:24 AM
Unknown Object (File)
Sat, Jul 18, 10:26 AM
Unknown Object (File)
Jul 3 2026, 6:38 AM
Unknown Object (File)
Jul 2 2026, 3:13 PM
Subscribers

Details

Summary

Fix build for platforms using GCC:

  • Remove unused or dead store variable
  • Remove unused function ctl_copyin_alloc
  • Add missing curly brackets, this seems a regression in r287720

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16518
Build 16432: arc lint + arc unit

Event Timeline

sys/cam/ctl/ctl.c
8610

I'm not 100% sure about this is right, but I highly suspect it should do so after checking https://svnweb.freebsd.org/base/head/sys/cam/ctl/ctl.c?annotate=333446#l8481

jhibbits added a subscriber: jhibbits.

If it builds, looks good to me.

This revision is now accepted and ready to land.May 10 2018, 5:05 PM
This revision was automatically updated to reflect the committed changes.