1. 27 Jul, 2020 2 commits
    • Amir Goldstein's avatar
      fanotify: remove event FAN_DIR_MODIFY · 08b95c33
      Amir Goldstein authored
      It was never enabled in uapi and its functionality is about to be
      superseded by events FAN_CREATE, FAN_DELETE, FAN_MOVE with group
      flag FAN_REPORT_NAME.
      
      Keep a place holder variable name_event instead of removing the
      name recording code since it will be used by the new events.
      
      Link: https://lore.kernel.org/r/20200708111156.24659-17-amir73il@gmail.comSigned-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      08b95c33
    • Amir Goldstein's avatar
      fsnotify: pass dir argument to handle_event() callback · b54cecf5
      Amir Goldstein authored
      The 'inode' argument to handle_event(), sometimes referred to as
      'to_tell' is somewhat obsolete.
      It is a remnant from the times when a group could only have an inode mark
      associated with an event.
      
      We now pass an iter_info array to the callback, with all marks associated
      with an event.
      
      Most backends ignore this argument, with two exceptions:
      1. dnotify uses it for sanity check that event is on directory
      2. fanotify uses it to report fid of directory on directory entry
         modification events
      
      Remove the 'inode' argument and add a 'dir' argument.
      The callback function signature is deliberately changed, because
      the meaning of the argument has changed and the arguments have
      been documented.
      
      The 'dir' argument is set to when 'file_name' is specified and it is
      referring to the directory that the 'file_name' entry belongs to.
      Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      b54cecf5
  2. 15 Jul, 2020 9 commits
  3. 08 Jul, 2020 3 commits
    • Randy Dunlap's avatar
      Documentation: update for gcc 4.9 requirement · 0bddd227
      Randy Dunlap authored
      Update Documentation for the gcc v4.9 upgrade requirement.
      
      Fixes: 5429ef62 ("compiler/gcc: Raise minimum GCC version for kernel builds to 4.8")
      Fixes: 6ec4476a ("Raise gcc version requirement to 4.9")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Acked-by: default avatarJonathan Corbet <corbet@lwn.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0bddd227
    • Linus Torvalds's avatar
      Merge tag 'sound-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 63e1968a
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A collection of small, mostly device-specific fixes.
      
        The significant one is the regression fix for USB-audio implicit
        feedback devices due to the incorrect frame size calculation, which
        landed in 5.8 and stable trees.
      
        In addition, a few usual HD-audio and USB-audio quirks, Intel HDMI
        fixes, ASoC fsl and rt5682 fixes, as well as the fix in
        compress-offload partial drain operation"
      
      * tag 'sound-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: compress: fix partial_drain completion state
        ALSA: usb-audio: Add implicit feedback quirk for RTX6001
        ALSA: usb-audio: add quirk for MacroSilicon MS2109
        ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC
        ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC
        ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC
        ALSA: hda/realtek - Fix Lenovo Thinkpad X1 Carbon 7th quirk subdevice id
        ALSA: hda/hdmi: improve debug traces for stream lookups
        ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
        ALSA: opl3: fix infoleak in opl3
        ALSA: usb-audio: Replace s/frame/packet/ where appropriate
        ALSA: usb-audio: Fix packet size calculation
        AsoC: amd: add missing snd- module prefix to the acp3x-rn driver kernel module
        ALSA: hda - let hs_mic be picked ahead of hp_mic
        ASoC: rt5682: fix the pop noise while OMTP type headset plugin
        ASoC: fsl_mqs: Fix unchecked return value for clk_prepare_enable
        ASoC: fsl_mqs: Don't check clock is NULL before calling clk API
      63e1968a
    • Linus Torvalds's avatar
      Raise gcc version requirement to 4.9 · 6ec4476a
      Linus Torvalds authored
      I realize that we fairly recently raised it to 4.8, but the fact is, 4.9
      is a much better minimum version to target.
      
      We have a number of workarounds for actual bugs in pre-4.9 gcc versions
      (including things like internal compiler errors on ARM), but we also
      have some syntactic workarounds for lacking features.
      
      In particular, raising the minimum to 4.9 means that we can now just
      assume _Generic() exists, which is likely the much better replacement
      for a lot of very convoluted built-time magic with conditionals on
      sizeof and/or __builtin_choose_expr() with same_type() etc.
      
      Using _Generic also means that you will need to have a very recent
      version of 'sparse', but thats easy to build yourself, and much less of
      a hassle than some old gcc version can be.
      
      The latest (in a long string) of reasons for minimum compiler version
      upgrades was commit 5435f73d ("efi/x86: Fix build with gcc 4").
      
      Ard points out that RHEL 7 uses gcc-4.8, but the people who stay back on
      old RHEL versions persumably also don't build their own kernels anyway.
      And maybe they should cross-built or just have a little side affair with
      a newer compiler?
      Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6ec4476a
  4. 07 Jul, 2020 17 commits
  5. 06 Jul, 2020 9 commits