Attention is currently required from: Hoernchen, ale-leehrtz, tnt.
5 comments:
Patchset:
Thanks for the contribution! beside the in-line comments below, I also think it would be a good idea to have a #ifdef around this code so that people who don't need it can simply disable it by not defining that define durign build time
File drivers/dahdi/dahdi-base.c:
Patch Set #1, Line 216: int32_t target_fudge;
you could nest those into a sub-structure to make it more obvious that these fields are specific to the sd-ri-pll.
like
```
struct sd_ri_pll {
int32_t curent_fudge;
ktime_t raw_time_offset;
...
}
```
Patch Set #1, Line 10143: typedef uint32_t ui32_t;
why those custom typedefs and not use the C standard [u]int32_t types directly? Also, if creating shorthands, why not use the shorthands the kernel does provide anyway (linux/types.h: s32/u32)?
Patch Set #1, Line 10148: ui32_t h;
doesn't appear to be using kernel coding style (at leaset no tab indent). Please use a coding style consistent with the surrounding code of the file, and the project (both dahdi, kernel) in general.
Patch Set #1, Line 10487: *ql = qc;
as this is a lot of very isolated/self-contained code, it might be better put in a separate file. You could use a C file and link to the only used function compute_fudged_now? Or in the worst case all the it might also instead be folded into a header file, but I don't see the benefit over a .c file with a signle non-static function used by the code here in this file.
To view, visit change 44234. To unsubscribe, or for help writing mail filters, visit settings.