20 Jul, 2020

1 commit

  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719123244.58718-1-grandmaster@al2klimov.de
    Signed-off-by: Greg Kroah-Hartman

    Alexander A. Klimov
     

01 Jul, 2020

1 commit

  • The Xilinx Clocking Wizard driver uses the devm_ioremap_resource
    function, but does not specify a dependency on IOMEM in Kconfig. This
    causes a build failure on architectures without IOMEM, for example, UML
    (notably with make allyesconfig).

    Fix this by making CONFIG_COMMON_CLK_XLNX_CLKWZRD depend on CONFIG_IOMEM.

    Signed-off-by: David Gow
    Link: https://lore.kernel.org/r/20200630044518.1084468-1-davidgow@google.com
    Signed-off-by: Greg Kroah-Hartman

    David Gow
     

10 Oct, 2019

1 commit


03 Apr, 2019

2 commits


09 Oct, 2018

1 commit


17 Jun, 2018

1 commit


15 Jan, 2018

2 commits

  • Now that the SPDX tag is in the clocking-wizard driver files, that
    identifies the license in a specific and legally-defined manner. So the
    extra GPL text wording can be removed as it is no longer needed at all.

    This is done on a quest to remove the 700+ different ways that files in
    the kernel describe the GPL license text. And there's unneeded stuff
    like the address (sometimes incorrect) for the FSF which is never
    needed.

    No copyright headers or other non-license-description text was removed.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • It's good to have SPDX identifiers in all files to make it easier to
    audit the kernel tree for correct licenses.

    Fix up the staging clocking-wizard driver to have a proper SPDX
    identifier, based on the license text in the file itself. The SPDX
    identifier is a legally binding shorthand, which can be used instead of
    the full boiler plate text.

    This work is based on a script and data from Thomas Gleixner, Philippe
    Ombredanne, and Kate Stewart.

    Cc: Thomas Gleixner
    Cc: Kate Stewart
    Cc: Philippe Ombredanne
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

25 Oct, 2016

1 commit

  • The speed grade type is unsigned according to the dt-bindings.

    Fix sparse issue (-Wtypesign):
    CHECK drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c
    drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:162:56: warning: incorrect type in argument 3 (different signedness)
    drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:162:56: expected unsigned int [usertype] *out_value
    drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:162:56: got int *

    Signed-off-by: Xavier Roumegue
    Acked-by: Sören Brinkmann
    Acked-by: Moritz Fischer
    Signed-off-by: Greg Kroah-Hartman

    Xavier Roumegue
     

08 Feb, 2016

2 commits


21 Jul, 2015

1 commit


18 Jan, 2015

2 commits

  • Even though it should never happen, handle the case that the clock
    notifier is called with an unexpected clock handle. This avoids the
    compiler warning:
    drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c: In function 'clk_wzrd_clk_notifier':
    >> drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c:99:6: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if (ndata->new_rate > max)
    ^

    Reported-by: kbuild test robot
    Signed-off-by: Soren Brinkmann
    Signed-off-by: Greg Kroah-Hartman

    Soren Brinkmann
     
  • Added a new line after declaration to remove the warning
    'Missing a blank line after declarations'

    Signed-off-by: Athira Lekshmi
    Acked-by: Soren Brinkmann
    Signed-off-by: Greg Kroah-Hartman

    Athira Lekshmi
     

03 Dec, 2014

2 commits


29 Oct, 2014

1 commit


20 Oct, 2014

1 commit