Any reason why the kernel like to use this:Most of the driver code is easy if you understand C bit-banging and memory structures.
https://www.kernel.org/doc/html/latest/driver-api/index.html
struct foo {
int balh1;
int blah2;
...
}
struct foo foo_1;
typedef struct FOO{
int blah1;
int blah2;
...
}foot_t;
foo_t foo_1;
Clarity of memory structures.Any reason why the kernel like to use this:
Instead of this:C:struct foo { int balh1; int blah2; ... } struct foo foo_1;
???C:typedef struct FOO{ int blah1; int blah2; ... }foot_t; foo_t foo_1;
Answer: no.Any reason why the kernel like to use this:
by Robert Keim
by Aaron Carman
by Duane Benson
by Aaron Carman