1. 26 9月, 2013 7 次提交
  2. 10 9月, 2013 1 次提交
    • A
      clk: only call get_parent if there is one · 12d29886
      Alex Elder 提交于
      In __clk_init(), after a clock is mostly initialized, a scan is done
      of the orphan clocks to see if the clock being registered is the
      parent of any of them.
      
      This code assumes that any clock that provides a get_parent method
      actually has at least one parent, and that's not a valid assumption.
      
      As a result, an orphan clock with no parent can return *something*
      as the parent index, and that value is blindly used to dereference
      the orphan's parent_names[] array (which will be ZERO_SIZE_PTR or
      NULL).
      
      Fix this by ensuring get_parent is only called for orphans with at
      least one parent.
      Signed-off-by: NAlex Elder <elder@linaro.org>
      Signed-off-by: NMike Turquette <mturquette@linaro.org>
      12d29886
  3. 07 9月, 2013 13 次提交
  4. 04 9月, 2013 1 次提交
  5. 31 8月, 2013 2 次提交
  6. 30 8月, 2013 6 次提交
  7. 29 8月, 2013 2 次提交
  8. 28 8月, 2013 8 次提交