diff options
| author | Mika Kukkonen <mika@osdl.org> | 2004-06-28 19:34:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-28 19:34:15 -0700 |
| commit | 0816a653a7ebdb43233b5a07042aecdb1f70e633 (patch) | |
| tree | 6d9ea822bb2dbf7e2517a4e23b48c92cad009024 /kernel | |
| parent | 7df8818da1e3493340c385d1dc61524941b55e38 (diff) | |
[PATCH] sparse: fix ugly include/linux/efi.h typedef
efi.h declares a function type, and then uses that as an argument to
another function, and expects the compiler to magically demote the
function to a function pointer.
Even a gcc person (rth) was surprised that this was legal, and it
doesn't match any other use of a function pointer in the kernel, and
sparse doesn't like the implicit type-conversion.
So make the type sane in the first place, instead of depending on
a very weird corner case of the C language.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
