Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1487082
| From | Julia Lawall <julia.lawall@lip6.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | question about clk_hw_register_fixed_factor |
| Date | 2016-09-20 08:20 +0200 |
| Message-ID | <sjmzn-7Jp-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello, The function clk_hw_register_fixed_factor from drivers/clk/clk-fixed-factor.c contains: struct clk_init_data init; ... fix->hw.init = &init; ... hw = &fix->hw; ... return hw; It looks like hw would then contain a dangling pointer, to init. Should this be nulled out, or does it not matter because it is certain that no one will look at it anyway? Or did I miss a null assignment elsewhere? thanks, julia
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
question about clk_hw_register_fixed_factor Julia Lawall <julia.lawall@lip6.fr> - 2016-09-20 08:20 +0200
Re: question about clk_hw_register_fixed_factor Stephen Boyd <sboyd@codeaurora.org> - 2016-09-20 19:40 +0200
Re: question about clk_hw_register_fixed_factor Julia Lawall <julia.lawall@lip6.fr> - 2016-09-20 19:40 +0200
csiph-web