-
jbki have some simple changes that address most of the (currently suppressed) compiler warnings in mac, but there are a few bits i'm unsure of (and might require more digging, depending on time)... would it be worth throwing up what I have that's pretty straightforward (mostly just initializing values)
-
jbkeven if it's not entirely complete?
-
andyfI'm all in favour of removing warning suppression, yes please, and I can work through it - I'm always wary of changes that just initialise values :)
-
jbki did go through and look at the relevant code for these
-
jbkthat's why there some that i wasn't sure about and left them
-
jbk(well for some unrelated work, i do have a separate change i'm not planning to put up for now that just quiets them only so i can build my changes to make sure they don't add any)
-
andyfI didn't mean to imply you didn't, bad choice of words there. I just meant that I always give them a bit more scrutiny and I'm happy to review.
-
jbkillumos/illumos-gate 8e1b7a3 if you want a preview
-
jbkthere's actually one (not in that change) that I'm completely baffled by: src.illumos.org/source/xref/illumos….c?r=119d61cc&mo=87558&fi=3057#3057
-
jbkit's complaining that on line 3207, flent is uninitialized (which it is)
-
jbkoh wait.. i guess i just rubber ducked it
-
jbkthat argument is completely ignored in mac_client_datapath_teardown
-
jbk(or i guess overwritten before any passed-in value is ever used)
-
jbk.... which i guess brings up why it's a parameter in the first place if it's not used
-
jbkit doesn't look (from first glance) to be something that's used as a callback
-
andyfI agree with what you've said. The other call site for mac_client_datapath_teardown passes in what will be used anyway. Looks to me like the parameter could be removed.
-
jbkyeah..
-
jbklet me update that branch with that, plus a few other things I missed
-
jbknow the only thing left is this: src.illumos.org/source/xref/illumos…c?r=2aaafd60&mo=179446&fi=6756#6882
-
jbkwe're ignoring the return value
-
jbkbut i'm not sure if we should just continue to do that, or if we should try to 'undo' what was done earlier
-
jbklike some of the earlier code in the function
-
jbkthough it's all for functionality that seems to only be present on some NICs that I think were sparc-only
-
jbkand i don't want to just silence it if that's a legitimate bug
-
jbkthat's been masked
-
gitomat[illumos-gate] 15986 svcs can stumble over file dependencies -- Mike Zeller <mike⊙mn>
-
gitomat[illumos-gate] 15995 2GB arc_c_min ceiling should be 1GB -- Dan McDonald <danmcd⊙mi>