[ofa-general] Re: [PATCH] ibsim: Change lid print format to unsigned

Sasha Khapyorsky sashak at voltaire.com
Sat Feb 7 02:44:21 PST 2009


On 16:31 Thu 05 Feb     , Hal Rosenstock wrote:
> Sasha,
> 
> Patch to change lid print format to unsigned to be consistent elsewhere.

dev_sysfs_create() umad2sim.c generates simulated sysfs tree. In native
sysfs tree port lid and sm_lid files store lid values in hex form
(core/sysfs.c lid_show() and sm_lid_show()), so I don't see any good
reason to make simulation differently (unless you are going to change
this in kernel first). I'm removing this part from the patch.

Sasha



More information about the general mailing list