Bug 11832 - sg.h renamed symbols
Summary: sg.h renamed symbols
Status: RESOLVED FIXED
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 09:29 UTC by Ross Burton
Modified: 2007-08-28 02:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch (427 bytes, patch)
2007-08-03 09:29 UTC, Ross Burton
Details | Splinter Review

Description Ross Burton 2007-08-03 09:29:16 UTC
sg.h appears to have renamed SG_FLAG_LUN_INHIBIT to SG_FLAG_UNUSED_LUN_INHIBIT (or vice versa, I can't find a decent changelog).  A quick google codesearch shows many projects handling this, attaching a patch to do the same for HAL.
Comment 1 Ross Burton 2007-08-03 09:29:35 UTC
Created attachment 10981 [details] [review]
Patch
Comment 2 Danny Kukawka 2007-08-28 02:52:24 UTC
commit 72510af187df46dfc2cc268d51ca2d47f4bb3b89
Author: Frederic Crozat <fcrozat@mandriva.com>
Date:   Tue Aug 28 11:10:17 2007 +0200

    handle renaming of SG_FLAG_LUN_INHIBIT in sg.h

    > while fixing sg_ui.sbp is relatively easy (just add cast), what
    > SG_FLAG_LUN_INHIBIT is supposed to do and what should be used instead?

    I've attached an improved patch (inspired from k3b).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.