1. 17 Aug, 2022 35 commits
  2. 15 Aug, 2022 2 commits
    • Daniel Lezcano's avatar
      dt-bindings: thermal: Fix missing required property · 8c596324
      Daniel Lezcano authored
      When the thermal zone description was converted to yaml schema, the
      required 'trips' property was forgotten.
      
      The initial text bindings was describing:
      
      "
      [ ... ]
      
      * Thermal zone nodes
      
      The thermal zone node is the node containing all the required info
      for describing a thermal zone, including its cooling device bindings. The
      thermal zone node must contain, apart from its own properties, one sub-node
      containing trip nodes and one sub-node containing all the zone cooling maps.
      
      Required properties:
      - polling-delay:        The maximum number of milliseconds to wait between polls
        Type: unsigned        when checking this thermal zone.
        Size: one cell
      
      - polling-delay-passive: The maximum number of milliseconds to wait
        Type: unsigned        between polls when performing passive cooling.
        Size: one cell
      
      - thermal-sensors:      A list of thermal sensor phandles and sensor specifier
        Type: list of         used while monitoring the thermal zone.
        phandles + sensor
        specifier
      
      - trips:                A sub-node which is a container of only trip point nodes
        Type: sub-node        required to describe the thermal zone.
      
      Optional property:
      - cooling-maps:         A sub-node which is a container of only cooling device
        Type: sub-node        map nodes, used to describe the relation between trips
                              and cooling devices.
        [ ... ]
      
      "
      
      Now the schema describes:
      
      "
          [ ... ]
      
          required:
            - polling-delay
            - polling-delay-passive
            - thermal-sensors
      
          [ ... ]
      "
      
      Add the missing 'trips' property in the required properties.
      
      Fixed: 1202a442 ("dt-bindings: thermal: Add yaml bindings for thermal zones")
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20220809085629.509116-3-daniel.lezcano@linaro.org
      8c596324
    • Daniel Lezcano's avatar
      thermal/core: Add missing EXPORT_SYMBOL_GPL · a921be53
      Daniel Lezcano authored
      The function thermal_zone_device_register_with_trips() is not exported
      for modules.
      
      Add the missing EXPORT_SYMBOL_GPL().
      
      Fixes: fae11de5 ("thermal/core: Add thermal_trip in thermal_zone")
      Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Link: https://lore.kernel.org/r/20220810100731.749317-1-daniel.lezcano@linaro.org
      a921be53
  3. 14 Aug, 2022 3 commits
    • Linus Torvalds's avatar
      Linux 6.0-rc1 · 568035b0
      Linus Torvalds authored
      568035b0
    • Yury Norov's avatar
      radix-tree: replace gfp.h inclusion with gfp_types.h · 9f162193
      Yury Norov authored
      Radix tree header includes gfp.h for __GFP_BITS_SHIFT only. Now we
      have gfp_types.h for this.
      
      Fixes powerpc allmodconfig build:
      
         In file included from include/linux/nodemask.h:97,
                          from include/linux/mmzone.h:17,
                          from include/linux/gfp.h:7,
                          from include/linux/radix-tree.h:12,
                          from include/linux/idr.h:15,
                          from include/linux/kernfs.h:12,
                          from include/linux/sysfs.h:16,
                          from include/linux/kobject.h:20,
                          from include/linux/pci.h:35,
                          from arch/powerpc/kernel/prom_init.c:24:
         include/linux/random.h: In function 'add_latent_entropy':
      >> include/linux/random.h:25:46: error: 'latent_entropy' undeclared (first use in this function); did you mean 'add_latent_entropy'?
            25 |         add_device_randomness((const void *)&latent_entropy, sizeof(latent_entropy));
               |                                              ^~~~~~~~~~~~~~
               |                                              add_latent_entropy
         include/linux/random.h:25:46: note: each undeclared identifier is reported only once for each function it appears in
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
      CC: Andrew Morton <akpm@linux-foundation.org>
      CC: Jason A. Donenfeld <Jason@zx2c4.com>
      Signed-off-by: default avatarYury Norov <yury.norov@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9f162193
    • Linus Torvalds's avatar
      Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 74cbb480
      Linus Torvalds authored
      Pull vfs lseek fix from Al Viro:
       "Fix proc_reg_llseek() breakage. Always had been possible if somebody
        left NULL ->proc_lseek, became a practical issue now"
      
      * tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        take care to handle NULL ->proc_lseek()
      74cbb480