Skip to contentSkip to conversation

efivars driver update and move

PATCH Matt Tolentino 1 participant 1 message Apr 26, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines

Patch below fixes three small bugs in efivars.c as posted by Matt Tolentino last week and included in the latest -mm. Aside from this small patch, I'm quite pleased with Matt T's work, thanks!=20

* dummy() used for reading write-only sysfs files should return -ENODEV to indicate failure, not 0.
* efivar_create() should return the number of bytes written on success, not zero. =20
* efivar_delete() should return the number of bytes written on success, not zero.

Quoted 3 lines

Compiled, tested with efibootmgr-0.5.0-test3. The anomolies I noted late Friday night are resolved by this kernel patch - efibootmgr was actually testing the values returned by writes.

Thanks for taking the time to look at this Matt...

matt