]> git.neil.brown.name Git - history.git/commit
[PATCH] efivars fixes
authorAndrew Morton <akpm@osdl.org>
Mon, 26 Apr 2004 16:00:32 +0000 (09:00 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 26 Apr 2004 16:00:32 +0000 (09:00 -0700)
commit03d1c495cbeed575926dfd1c3b6dd1c61ad0ff25
treede2aaf7064565e4471308fc7d3f3f6194ab394f1
parent1079344cf85f7cbd24dc184a813f82bd754d1e85
[PATCH] efivars fixes

From: Matt Domsch <Matt_Domsch@dell.com>

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!

- 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.

- efivar_delete() should return the number of bytes written on success, not
  zero.
drivers/firmware/efivars.c