Skip to contentSkip to conversation

Linux 5.10.248

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Jan 19 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.10.248 kernel.

All users of the 5.10 kernel series must upgrade.

The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

------------

 Documentation/filesystems/mount_api.rst                                  |    1 
 Documentation/process/2.Process.rst                                      |    6 
 Makefile                                                                 |    2 
 arch/alpha/include/uapi/asm/ioctls.h                                     |    8 
 arch/arm/Kconfig                                                         |    2 
 arch/arm/boot/dts/imx6q-ba16.dtsi                                        |    2 
 arch/arm/include/asm/word-at-a-time.h                                    |   10 
 arch/arm64/net/bpf_jit_comp.c                                            |    2 
 arch/mips/sgi-ip22/ip22-gio.c                                            |    3 
 arch/parisc/kernel/asm-offsets.c                                         |    2 
 arch/parisc/kernel/entry.S                                               |   16 
 arch/powerpc/boot/addnote.c                                              |    7 
 arch/powerpc/kernel/process.c                                            |    5 
 arch/powerpc/mm/book3s64/internal.h                                      |    1 
 arch/powerpc/mm/book3s64/mmu_context.c                                   |    2 
 arch/powerpc/mm/book3s64/slb.c                                           |   88 ----
 arch/powerpc/mm/ptdump/hashpagetable.c                                   |    6 
 arch/powerpc/platforms/pseries/cmm.c                                     |    5 
 arch/s390/kernel/smp.c                                                   |    1 
 arch/x86/crypto/blake2s-core.S                                           |    4 
 arch/x86/events/intel/core.c                                             |    4 
 arch/x86/include/asm/ptrace.h                                            |   20 
 arch/x86/include/asm/stacktrace.h                                        |    3 
 arch/x86/kernel/dumpstack.c                                              |   29 +
 arch/x86/kernel/unwind_frame.c                                           |   11 
 arch/x86/kvm/lapic.c                                                     |   32 +
 arch/x86/kvm/svm/nested.c                                                |    4 
 arch/x86/kvm/svm/svm.c                                                   |   18 
 block/blk-mq.c                                                           |   18 
 block/blk-throttle.c                                                     |   16 
 crypto/af_alg.c                                                          |    5 
 crypto/algif_hash.c                                                      |    3 
 crypto/algif_rng.c                                                       |    3 
 crypto/asymmetric_keys/asymmetric_type.c                                 |   14 
 crypto/seqiv.c                                                           |    8 
 drivers/acpi/acpica/nswalk.c                                             |    9 
 drivers/acpi/apei/ghes.c                                                 |   16 
 drivers/acpi/cppc_acpi.c                                                 |    3 
 drivers/acpi/processor_core.c                                            |    2 
 drivers/acpi/property.c                                                  |    9 
 drivers/amba/tegra-ahb.c                                                 |    1 
 drivers/atm/he.c                                                         |    3 
 drivers/base/power/runtime.c                                             |   22 -
 drivers/block/floppy.c                                                   |    2 
 drivers/block/nbd.c                                                      |   92 ++--
 drivers/block/rnbd/rnbd-clt.c                                            |   20 
 drivers/block/rnbd/rnbd-clt.h                                            |    2 
 drivers/bluetooth/btusb.c                                                |    2 
 drivers/bus/fsl-mc/fsl-mc-bus.c                                          |    6 
 drivers/bus/ti-sysc.c                                                    |   11 
 drivers/char/applicom.c                                                  |    5 
 drivers/char/ipmi/ipmi_msghandler.c                                      |   20 
 drivers/char/tpm/tpm-chip.c                                              |    1 
 drivers/char/tpm/tpm1-cmd.c                                              |    5 
 drivers/char/tpm/tpm2-cmd.c                                              |    8 
 drivers/char/virtio_console.c                                            |    2 
 drivers/clk/mvebu/cp110-system-controller.c                              |   20 
 drivers/clk/renesas/r9a06g032-clocks.c                                   |    7 
 drivers/cpufreq/cpufreq-nforce2.c                                        |    3 
 drivers/cpufreq/s5pv210-cpufreq.c                                        |    6 
 drivers/cpufreq/scmi-cpufreq.c                                           |   10 
 drivers/crypto/ccree/cc_buffer_mgr.c                                     |    6 
 drivers/firewire/nosy.c                                                  |   47 +-
 drivers/firmware/efi/cper-arm.c                                          |   52 +-
 drivers/firmware/efi/cper.c                                              |   60 ++
 drivers/firmware/imx/imx-scu-irq.c                                       |   26 -
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c                       |    8 
 drivers/gpu/drm/amd/display/dc/core/dc_surface.c                         |    2 
 drivers/gpu/drm/gma500/framebuffer.c                                     |   44 --
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c                              |    2 
 drivers/gpu/drm/nouveau/dispnv50/atom.h                                  |   13 
 drivers/gpu/drm/nouveau/dispnv50/wndw.c                                  |    2 
 drivers/gpu/drm/panel/panel-visionox-rm69299.c                           |    2 
 drivers/gpu/drm/pl111/pl111_drv.c                                        |    2 
 drivers/gpu/drm/vgem/vgem_fence.c                                        |    2 
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c                                  |   17 
 drivers/hid/hid-core.c                                                   |    7 
 drivers/hid/hid-input.c                                                  |   18 
 drivers/hid/hid-logitech-dj.c                                            |   56 +-
 drivers/hid/hid-quirks.c                                                 |    9 
 drivers/hwmon/applesmc.c                                                 |   34 -
 drivers/hwmon/ibmpex.c                                                   |    9 
 drivers/hwmon/ina209.c                                                   |    6 
 drivers/hwmon/ina2xx.c                                                   |    2 
 drivers/hwmon/ina3221.c                                                  |    2 
 drivers/hwmon/lineage-pem.c                                              |    8 
 drivers/hwmon/ltc2945.c                                                  |    4 
 drivers/hwmon/ltc2990.c                                                  |    2 
 drivers/hwmon/ltc4151.c                                                  |    2 
 drivers/hwmon/ltc4215.c                                                  |    8 
 drivers/hwmon/ltc4222.c                                                  |    4 
 drivers/hwmon/ltc4260.c                                                  |    4 
 drivers/hwmon/ltc4261.c                                                  |    4 
 drivers/hwmon/max16065.c                                                 |   19 
 drivers/hwmon/occ/common.c                                               |   69 +--
 drivers/hwmon/occ/sysfs.c                                                |    4 
 drivers/hwmon/pmbus/inspur-ipsps.c                                       |   28 -
 drivers/hwmon/pmbus/pmbus_core.c                                         |    8 
 drivers/hwmon/s3c-hwmon.c                                                |    4 
 drivers/hwmon/sch5627.c                                                  |   24 -
 drivers/hwmon/sch5636.c                                                  |   20 
 drivers/hwmon/smm665.c                                                   |    4 
 drivers/hwmon/stts751.c                                                  |   20 
 drivers/hwmon/vexpress-hwmon.c                                           |   12 
 drivers/hwmon/w83791d.c                                                  |   17 
 drivers/hwmon/w83l786ng.c                                                |   26 -
 drivers/hwmon/xgene-hwmon.c                                              |   14 
 drivers/hwtracing/intel_th/core.c                                        |   20 
 drivers/i2c/busses/i2c-amd-mp2-pci.c                                     |    5 
 drivers/i3c/master.c                                                     |    8 
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h                                  |   24 +
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c                           |   71 ++-
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c                             |   32 -
 drivers/infiniband/core/addr.c                                           |   33 -
 drivers/infiniband/core/cma.c                                            |    3 
 drivers/infiniband/core/device.c                                         |    5 
 drivers/infiniband/core/verbs.c                                          |    2 
 drivers/infiniband/hw/bnxt_re/ib_verbs.c                                 |    7 
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c                               |    2 
 drivers/infiniband/hw/bnxt_re/qplib_res.c                                |    8 
 drivers/infiniband/hw/efa/efa_verbs.c                                    |    4 
 drivers/infiniband/ulp/rtrs/rtrs-srv.c                                   |    2 
 drivers/input/serio/i8042-acpipnpio.h                                    |    7 
 drivers/input/touchscreen/ti_am335x_tsc.c                                |    2 
 drivers/iommu/amd/init.c                                                 |   28 -
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c                               |   27 -
 drivers/iommu/arm/arm-smmu/qcom_iommu.c                                  |   10 
 drivers/iommu/exynos-iommu.c                                             |    9 
 drivers/iommu/ipmmu-vmsa.c                                               |    2 
 drivers/iommu/mtk_iommu.c                                                |    2 
 drivers/iommu/mtk_iommu_v1.c                                             |    2 
 drivers/iommu/omap-iommu.c                                               |    2 
 drivers/iommu/omap-iommu.h                                               |    2 
 drivers/iommu/sun50i-iommu.c                                             |    2 
 drivers/irqchip/qcom-irq-combiner.c                                      |    2 
 drivers/leds/leds-lp50xx.c                                               |   95 ++--
 drivers/leds/leds-netxbig.c                                              |   36 +
 drivers/macintosh/mac_hid.c                                              |    3 
 drivers/md/dm-ebs-target.c                                               |    2 
 drivers/md/dm-log-writes.c                                               |    1 
 drivers/md/dm-raid.c                                                     |    2 
 drivers/media/cec/core/cec-core.c                                        |    1 
 drivers/media/i2c/adv7604.c                                              |    4 
 drivers/media/i2c/adv7842.c                                              |   11 
 drivers/media/i2c/msp3400-kthreads.c                                     |    2 
 drivers/media/i2c/tda1997x.c                                             |    1 
 drivers/media/platform/davinci/vpif_capture.c                            |    4 
 drivers/media/platform/exynos4-is/media-dev.c                            |   10 
 drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c                    |    4 
 drivers/media/platform/rcar_drif.c                                       |    1 
 drivers/media/rc/st_rc.c                                                 |    2 
 drivers/media/test-drivers/vidtv/vidtv_channel.c                         |    3 
 drivers/media/usb/dvb-usb/dtv5100.c                                      |    5 
 drivers/media/usb/pvrusb2/pvrusb2-hdw.c                                  |    2 
 drivers/mfd/altera-sysmgr.c                                              |    2 
 drivers/mfd/da9055-core.c                                                |    1 
 drivers/mfd/max77620.c                                                   |   15 
 drivers/mfd/mt6358-irq.c                                                 |    1 
 drivers/mfd/mt6397-irq.c                                                 |    1 
 drivers/misc/mei/hw-me-regs.h                                            |    2 
 drivers/misc/mei/pci-me.c                                                |    2 
 drivers/misc/vmw_balloon.c                                               |    3 
 drivers/mtd/lpddr/lpddr_cmds.c                                           |    8 
 drivers/net/dsa/b53/b53_common.c                                         |    3 
 drivers/net/ethernet/3com/3c59x.c                                        |    2 
 drivers/net/ethernet/broadcom/b44.c                                      |    3 
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                                |   87 ++--
 drivers/net/ethernet/broadcom/bnxt/bnxt.h                                |    4 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c                  |    3 
 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c                |    4 
 drivers/net/ethernet/intel/e1000/e1000_main.c                            |   10 
 drivers/net/ethernet/intel/i40e/i40e_main.c                              |    1 
 drivers/net/ethernet/intel/iavf/iavf_main.c                              |    4 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c                |    8 
 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c                 |  122 +++++
 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h                 |    2 
 drivers/net/ethernet/mellanox/mlx5/core/en.h                             |    4 
 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c                         |    4 
 drivers/net/ethernet/mellanox/mlx5/core/port.c                           |    3 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c                        |    2 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c                    |   17 
 drivers/net/fjes/fjes_hw.c                                               |   12 
 drivers/net/ipvlan/ipvlan_core.c                                         |    3 
 drivers/net/mdio/mdio-aspeed.c                                           |   77 ++-
 drivers/net/team/team.c                                                  |    2 
 drivers/net/usb/pegasus.c                                                |    2 
 drivers/net/usb/rtl8150.c                                                |    2 
 drivers/net/usb/sr9700.c                                                 |    4 
 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c                       |    9 
 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c                       |   27 -
 drivers/net/wireless/st/cw1200/bh.c                                      |    6 
 drivers/nfc/pn533/usb.c                                                  |    2 
 drivers/nvme/host/fc.c                                                   |    6 
 drivers/parisc/gsc.c                                                     |    4 
 drivers/pci/controller/dwc/pci-keystone.c                                |    2 
 drivers/pci/controller/dwc/pcie-designware.h                             |    2 
 drivers/pci/controller/pcie-brcmstb.c                                    |   10 
 drivers/pci/pci-driver.c                                                 |    4 
 drivers/phy/broadcom/phy-bcm63xx-usbh.c                                  |    6 
 drivers/pinctrl/pinctrl-single.c                                         |   25 -
 drivers/pinctrl/qcom/pinctrl-msm.c                                       |    2 
 drivers/pinctrl/stm32/pinctrl-stm32.c                                    |    2 
 drivers/platform/chrome/cros_ec_ishtp.c                                  |    1 
 drivers/platform/x86/acer-wmi.c                                          |    4 
 drivers/platform/x86/asus-wmi.c                                          |    8 
 drivers/platform/x86/huawei-wmi.c                                        |    4 
 drivers/platform/x86/ibm_rtl.c                                           |    2 
 drivers/platform/x86/msi-laptop.c                                        |    3 
 drivers/power/supply/apm_power.c                                         |    3 
 drivers/power/supply/wm831x_power.c                                      |   10 
 drivers/powercap/powercap_sys.c                                          |   22 -
 drivers/pwm/pwm-bcm2835.c                                                |   93 +---
 drivers/pwm/pwm-stm32.c                                                  |    3 
 drivers/regulator/core.c                                                 |   37 +
 drivers/rpmsg/qcom_glink_native.c                                        |    8 
 drivers/s390/crypto/ap_bus.c                                             |    8 
 drivers/scsi/aic94xx/aic94xx_init.c                                      |    3 
 drivers/scsi/ipr.c                                                       |   28 +
 drivers/scsi/iscsi_tcp.c                                                 |   11 
 drivers/scsi/libiscsi.c                                                  |   39 +
 drivers/scsi/libsas/sas_internal.h                                       |   14 
 drivers/scsi/qla2xxx/qla_mbx.c                                           |    2 
 drivers/scsi/qla2xxx/qla_os.c                                            |   14 
 drivers/scsi/sg.c                                                        |   20 
 drivers/scsi/sim710.c                                                    |    2 
 drivers/scsi/stex.c                                                      |    1 
 drivers/scsi/ufs/ufshcd.c                                                |    4 
 drivers/soc/amlogic/meson-canvas.c                                       |    5 
 drivers/soc/qcom/ocmem.c                                                 |    2 
 drivers/spi/spi-fsl-spi.c                                                |    2 
 drivers/spi/spi-imx.c                                                    |   15 
 drivers/spi/spi-xilinx.c                                                 |    2 
 drivers/staging/comedi/comedi_fops.c                                     |   42 +
 drivers/staging/comedi/drivers/c6xdigio.c                                |   46 +-
 drivers/staging/comedi/drivers/multiq3.c                                 |    9 
 drivers/staging/fbtft/fbtft-core.c                                       |    4 
 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c                            |    5 
 drivers/target/target_core_configfs.c                                    |    1 
 drivers/target/target_core_transport.c                                   |    1 
 drivers/tty/serial/8250/8250_pci.c                                       |   37 +
 drivers/tty/serial/sprd_serial.c                                         |    6 
 drivers/usb/core/message.c                                               |    2 
 drivers/usb/dwc2/platform.c                                              |   16 
 drivers/usb/dwc3/dwc3-of-simple.c                                        |    7 
 drivers/usb/dwc3/gadget.c                                                |    2 
 drivers/usb/dwc3/host.c                                                  |    2 
 drivers/usb/gadget/legacy/raw_gadget.c                                   |    3 
 drivers/usb/gadget/udc/core.c                                            |   17 
 drivers/usb/gadget/udc/lpc32xx_udc.c                                     |   20 
 drivers/usb/gadget/udc/tegra-xudc.c                                      |    6 
 drivers/usb/host/ohci-nxp.c                                              |   20 
 drivers/usb/host/xhci-dbgtty.c                                           |    6 
 drivers/usb/host/xhci-hub.c                                              |    2 
 drivers/usb/host/xhci-mem.c                                              |   10 
 drivers/usb/host/xhci-ring.c                                             |    8 
 drivers/usb/host/xhci.h                                                  |   16 
 drivers/usb/misc/chaoskey.c                                              |   16 
 drivers/usb/misc/sisusbvga/sisusb_con.c                                  |   21 
 drivers/usb/phy/phy.c                                                    |    4 
 drivers/usb/renesas_usbhs/pipe.c                                         |    2 
 drivers/usb/serial/belkin_sa.c                                           |   28 -
 drivers/usb/serial/ftdi_sio.c                                            |   72 +--
 drivers/usb/serial/kobil_sct.c                                           |   18 
 drivers/usb/serial/option.c                                              |   22 -
 drivers/usb/storage/unusual_uas.h                                        |    2 
 drivers/usb/typec/ucsi/ucsi.c                                            |    6 
 drivers/usb/usbip/vhci_hcd.c                                             |    6 
 drivers/vhost/vsock.c                                                    |   15 
 drivers/video/backlight/led_bl.c                                         |   18 
 drivers/video/console/dummycon.c                                         |   20 
 drivers/video/console/sticore.c                                          |    8 
 drivers/video/fbdev/core/fbcon.c                                         |   68 ---
 drivers/video/fbdev/core/fbcon_rotate.c                                  |    3 
 drivers/video/fbdev/core/tileblit.c                                      |    4 
 drivers/video/fbdev/gbefb.c                                              |    5 
 drivers/video/fbdev/pxafb.c                                              |   12 
 drivers/video/fbdev/ssd1307fb.c                                          |    4 
 drivers/video/fbdev/tcx.c                                                |    2 
 drivers/virtio/virtio_balloon.c                                          |    4 
 drivers/watchdog/via_wdt.c                                               |    1 
 drivers/watchdog/wdat_wdt.c                                              |   65 ++-
 fs/bfs/inode.c                                                           |   19 
 fs/btrfs/extent_io.c                                                     |   15 
 fs/btrfs/ioctl.c                                                         |    4 
 fs/btrfs/scrub.c                                                         |    5 
 fs/btrfs/volumes.c                                                       |    1 
 fs/exfat/super.c                                                         |   19 
 fs/ext4/inline.c                                                         |   14 
 fs/ext4/inode.c                                                          |    5 
 fs/ext4/mballoc.c                                                        |   58 +-
 fs/ext4/move_extent.c                                                    |   18 
 fs/ext4/super.c                                                          |    7 
 fs/ext4/xattr.c                                                          |   38 -
 fs/ext4/xattr.h                                                          |   10 
 fs/f2fs/f2fs.h                                                           |    3 
 fs/f2fs/file.c                                                           |    3 
 fs/f2fs/namei.c                                                          |    6 
 fs/f2fs/recovery.c                                                       |    9 
 fs/f2fs/super.c                                                          |   53 +-
 fs/f2fs/xattr.c                                                          |   32 -
 fs/f2fs/xattr.h                                                          |   10 
 fs/hfsplus/bnode.c                                                       |    4 
 fs/hfsplus/dir.c                                                         |    7 
 fs/hfsplus/inode.c                                                       |   32 +
 fs/jbd2/journal.c                                                        |   14 
 fs/jbd2/transaction.c                                                    |   21 
 fs/lockd/svc4proc.c                                                      |    4 
 fs/lockd/svclock.c                                                       |   21 
 fs/lockd/svcproc.c                                                       |    5 
 fs/locks.c                                                               |   13 
 fs/nfs/dir.c                                                             |  150 +++++--
 fs/nfs/inode.c                                                           |    6 
 fs/nfs/internal.h                                                        |    5 
 fs/nfs/namespace.c                                                       |   11 
 fs/nfs/nfs4proc.c                                                        |   13 
 fs/nfs/nfs4trace.h                                                       |    1 
 fs/nfs/pnfs.c                                                            |    1 
 fs/nfs/super.c                                                           |   26 -
 fs/nfs/unlink.c                                                          |    6 
 fs/nfs/write.c                                                           |    8 
 fs/nfsd/blocklayout.c                                                    |    7 
 fs/nfsd/export.c                                                         |    2 
 fs/nfsd/netns.h                                                          |    2 
 fs/nfsd/nfs4state.c                                                      |   46 ++
 fs/nfsd/nfs4xdr.c                                                        |    5 
 fs/nfsd/nfsctl.c                                                         |    3 
 fs/nfsd/state.h                                                          |    2 
 fs/nfsd/vfs.c                                                            |    2 
 fs/nls/nls_base.c                                                        |   27 -
 fs/notify/fsnotify.c                                                     |    9 
 fs/ocfs2/alloc.c                                                         |    1 
 fs/ocfs2/move_extents.c                                                  |    8 
 fs/ocfs2/suballoc.c                                                      |   10 
 fs/overlayfs/export.c                                                    |    2 
 fs/overlayfs/overlayfs.h                                                 |    2 
 fs/xfs/xfs_buf_item.c                                                    |    1 
 include/linux/balloon_compaction.h                                       |   65 ---
 include/linux/blk_types.h                                                |    5 
 include/linux/compiler-clang.h                                           |   23 +
 include/linux/compiler-gcc.h                                             |   14 
 include/linux/console.h                                                  |    1 
 include/linux/cper.h                                                     |   12 
 include/linux/font.h                                                     |    1 
 include/linux/fs_context.h                                               |    1 
 include/linux/genalloc.h                                                 |    1 
 include/linux/ieee80211.h                                                |    4 
 include/linux/netdevice.h                                                |    3 
 include/linux/nfs_fs.h                                                   |    9 
 include/linux/platform_data/lp855x.h                                     |    4 
 include/linux/rculist_nulls.h                                            |   59 ++
 include/linux/security.h                                                 |    2 
 include/linux/tpm.h                                                      |    9 
 include/linux/usb/gadget.h                                               |    5 
 include/linux/virtio_config.h                                            |    2 
 include/media/v4l2-mem2mem.h                                             |    3 
 include/net/netfilter/nf_conntrack_count.h                               |   16 
 include/net/sock.h                                                       |   13 
 include/net/xfrm.h                                                       |   13 
 include/scsi/libiscsi.h                                                  |    2 
 include/uapi/linux/kd.h                                                  |    2 
 include/uapi/linux/mptcp.h                                               |    1 
 include/uapi/sound/asound.h                                              |    2 
 io_uring/io_uring.c                                                      |    2 
 kernel/dma/pool.c                                                        |    2 
 kernel/livepatch/core.c                                                  |    8 
 kernel/locking/spinlock_debug.c                                          |    4 
 kernel/scs.c                                                             |    2 
 kernel/trace/trace_events.c                                              |    2 
 lib/crypto/aes.c                                                         |    4 
 lib/fonts/font_10x18.c                                                   |    1 
 lib/fonts/font_6x10.c                                                    |    1 
 lib/fonts/font_6x11.c                                                    |    1 
 lib/fonts/font_6x8.c                                                     |    1 
 lib/fonts/font_7x14.c                                                    |    1 
 lib/fonts/font_8x16.c                                                    |    1 
 lib/fonts/font_8x8.c                                                     |    1 
 lib/fonts/font_acorn_8x8.c                                               |    1 
 lib/fonts/font_mini_4x6.c                                                |    1 
 lib/fonts/font_pearl_8x8.c                                               |    1 
 lib/fonts/font_sun12x22.c                                                |    1 
 lib/fonts/font_sun8x16.c                                                 |    1 
 lib/fonts/font_ter16x32.c                                                |    1 
 lib/idr.c                                                                |    2 
 lib/vsprintf.c                                                           |    6 
 mm/balloon_compaction.c                                                  |   15 
 net/bridge/br_private.h                                                  |    1 
 net/bridge/br_vlan_tunnel.c                                              |   11 
 net/caif/cffrml.c                                                        |    9 
 net/can/j1939/transport.c                                                |    2 
 net/ceph/osd_client.c                                                    |   11 
 net/ceph/osdmap.c                                                        |  140 +++---
 net/core/sock.c                                                          |    7 
 net/core/sock_map.c                                                      |   53 +-
 net/ethtool/ioctl.c                                                      |  134 ++++--
 net/hsr/hsr_forward.c                                                    |    2 
 net/ipv4/arp.c                                                           |    7 
 net/ipv4/fib_trie.c                                                      |    7 
 net/ipv4/inet_hashtables.c                                               |    8 
 net/ipv4/ip_output.c                                                     |    3 
 net/ipv4/ipcomp.c                                                        |    2 
 net/ipv4/ping.c                                                          |    4 
 net/ipv4/raw.c                                                           |    3 
 net/ipv6/calipso.c                                                       |    3 
 net/ipv6/ip6_gre.c                                                       |    9 
 net/ipv6/ip6_output.c                                                    |    3 
 net/ipv6/ipcomp6.c                                                       |    2 
 net/ipv6/xfrm6_tunnel.c                                                  |    2 
 net/key/af_key.c                                                         |    2 
 net/mac80211/rx.c                                                        |    5 
 net/mptcp/pm_netlink.c                                                   |    3 
 net/netfilter/ipvs/ip_vs_xmit.c                                          |    3 
 net/netfilter/nf_conncount.c                                             |  211 ++++++----
 net/netfilter/nft_connlimit.c                                            |   69 +--
 net/netfilter/nft_synproxy.c                                             |    6 
 net/netfilter/xt_connlimit.c                                             |   14 
 net/netrom/nr_out.c                                                      |    4 
 net/nfc/core.c                                                           |    9 
 net/openvswitch/conntrack.c                                              |   16 
 net/openvswitch/flow_netlink.c                                           |   13 
 net/openvswitch/vport-netdev.c                                           |   17 
 net/rose/af_rose.c                                                       |    2 
 net/sched/sch_cake.c                                                     |   58 +-
 net/sched/sch_ets.c                                                      |    6 
 net/sched/sch_qfq.c                                                      |    2 
 net/sunrpc/auth_gss/svcauth_gss.c                                        |    3 
 net/wireless/wext-core.c                                                 |    4 
 net/wireless/wext-priv.c                                                 |    4 
 net/xfrm/xfrm_ipcomp.c                                                   |    1 
 net/xfrm/xfrm_state.c                                                    |   41 -
 net/xfrm/xfrm_user.c                                                     |    2 
 security/integrity/ima/ima_policy.c                                      |    2 
 security/smack/smack_lsm.c                                               |   41 +
 sound/firewire/dice/dice-extension.c                                     |    4 
 sound/isa/wavefront/wavefront_midi.c                                     |    2 
 sound/isa/wavefront/wavefront_synth.c                                    |    4 
 sound/pcmcia/pdaudiocf/pdaudiocf.c                                       |    8 
 sound/pcmcia/vx/vxpocket.c                                               |    8 
 sound/soc/bcm/bcm63xx-pcm-whistler.c                                     |    4 
 sound/soc/codecs/ak4458.c                                                |   10 
 sound/soc/codecs/ak5558.c                                                |   10 
 sound/soc/fsl/fsl_sai.c                                                  |    3 
 sound/soc/qcom/qdsp6/q6adm.c                                             |  146 +++---
 sound/soc/qcom/qdsp6/q6asm-dai.c                                         |    7 
 sound/soc/stm/stm32_i2s.c                                                |   62 --
 sound/soc/stm/stm32_sai.c                                                |   39 -
 sound/soc/stm/stm32_sai_sub.c                                            |   46 +-
 sound/soc/stm/stm32_spdifrx.c                                            |   44 --
 sound/usb/mixer_us16x08.c                                                |   20 
 tools/perf/util/symbol.c                                                 |    4 
 tools/testing/ktest/config-bisect.pl                                     |    4 
 tools/testing/nvdimm/test/nfit.c                                         |    7 
 tools/testing/radix-tree/idr-test.c                                      |   21 
 tools/testing/selftests/bpf/prog_tests/perf_branches.c                   |   16 
 tools/testing/selftests/bpf/prog_tests/send_signal.c                     |    5 
 tools/testing/selftests/bpf/progs/test_perf_branches.c                   |    3 
 tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc |    5 
 456 files changed, 3699 insertions(+), 2386 deletions(-)

Abdun Nihaal (3):
wifi: cw1200: Fix potential memory leak in cw1200_bh_rx_helper()
wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring()
fbdev: ssd1307fb: fix potential page leak in ssd1307fb_probe()

Ahelenia Ziemiańska (1):
power: supply: apm_power: only unset own apm_get_power_status

Akhil P Oommen (1):
drm/msm/a6xx: Fix out of bound IO access in a6xx_get_gmu_registers

Alan Stern (1):
HID: core: Harden s32ton() against conversion to 0 bits

Alex Deucher (1):
drm/amd/display: Use GFP_ATOMIC in dc_create_plane_state()

Alexander Potapenko (2):
kmsan: introduce __no_sanitize_memory and __no_kmsan_checks
x86: kmsan: don't instrument stack walking functions

Alexander Stein (1):
ASoC: fsl_sai: Add missing registers to cache default

Alexander Sverdlin (1):
locking/spinlock/debug: Fix data-race in do_raw_write_lock

Alexander Usyskin (1):
mei: me: add nova lake point S DID

Alexandre Knecht (1):
bridge: fix C-VLAN preservation in 802.1ad vlan_tunnel egress

Alexei Starovoitov (1):
selftests/bpf: Fix failure paths in send_signal test

Alexey Nepomnyashih (1):
ext4: add i_data_sem protection in ext4_destroy_inline_data_nolock()

Alexey Simakov (2):
dm-raid: fix possible NULL dereference with undefined raid type
broadcom: b44: prevent uninitialized value usage

Alison Schofield (1):
tools/testing/nvdimm: Use per-DIMM device handle

Alok Tiwari (2):
RDMA/bnxt_re: Fix incorrect BAR check in bnxt_qplib_map_creq_db() RDMA/bnxt_re: Fix IB_SEND_IP_CSUM handling in post_send

Alvaro Gamez Machado (1):
spi: xilinx: increase number of retries before declaring stall

Amir Goldstein (1):
fsnotify: do not generate ACCESS/MODIFY events on child for special files

Andres J Rosa (1):
ALSA: uapi: Fix typo in asound.h comment

Andrew Morton (1):
genalloc.h: fix htmldocs warning

Andrey Vatoropin (1):
scsi: target: Reset t_task_cdb pointer in error case

Andy Shevchenko (4):
lib/vsprintf: Check pointer before dereferencing in time_and_date()
nfsd: Mark variable __maybe_unused to avoid W=1 build break
leds: lp50xx: Reduce level of dereferences
leds: lp50xx: Get rid of redundant check in lp50xx_enable_disable()

Anshumali Gaur (1):
octeontx2-pf: fix "UBSAN: shift-out-of-bounds error"

Anton Khirnov (1):
platform/x86: asus-wmi: use brightness_set_blocking() for kbd led

Armin Wolf (3):
platform/x86: acer-wmi: Ignore backlight event
fs/nls: Fix utf16 to utf8 conversion
fs/nls: Fix inconsistency between utf8_to_utf32() and utf32_to_utf8()

Bagas Sanjaya (2):
Documentation: process: Also mention Sasha Levin as stable tree maintainer
net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct

Bart Van Assche (1):
scsi: target: Do not write NUL characters into ASCII configfs output

Ben Collins (1):
powerpc/addnote: Fix overflow on 32-bit builds

Byungchul Park (1):
jbd2: use a weaker annotation in journal handling

Chao Yu (5):
f2fs: fix return value of f2fs_recover_fsync_data()
f2fs: use global inline_xattr_slab instead of per-sb slab cache
f2fs: fix to detect recoverable inode during dryrun of find_fsync_dnodes()
f2fs: fix to propagate error from f2fs_enable_checkpoint()
f2fs: fix to avoid updating zero-sized extent in extent cache

Chen Changcheng (2):
usb: usb-storage: No additional quirks need to be added to the EL-R12 optical drive.
usb: usb-storage: Maintain minimal modifications to the bcdDevice range.

Christian Hitz (3):

      leds: leds-lp50xx: Allow LED 0 to be added to module bank
      leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDs
      leds: leds-lp50xx: Enable chip before any communication

Christoffer Sandberg (1):
Input: i8042 - add TUXEDO InfinityBook Max Gen10 AMD to i8042 quirk table

Christophe JAILLET (3):
block/rnbd: Remove a useless mutex
firewire: nosy: switch from 'pci_' to 'dma_' API
ASoC: stm32: sai: Use the devm_clk_get_optional() helper

Christophe Leroy (1):
spi: fsl-cpm: Check length parity before switching to 16 bit mode

Chuck Lever (2):
NFSD: Clear SECLABEL in the suppattr_exclcreat bitmap
NFSD: NFSv4 file creation neglects setting ACL

Colin Ian King (1):
media: pvrusb2: Fix incorrect variable used in trace message

Cong Zhang (1):
blk-mq: Abort suspend when wakeup events are pending

Cryolitia PukNgae (1):
ACPICA: Avoid walking the Namespace if start_node is NULL

Dai Ngo (1):
NFSD: use correct reservation type in nfsd4_scsi_fence_client

Dan Carpenter (3):
drm/amd/display: Fix logical vs bitwise bug in get_embedded_panel_info_v2_1()
nfc: pn533: Fix error code in pn533_acr122_poweron_rdr()
block: rnbd-clt: Fix signedness bug in init_dev()

Daniel Wagner (1):
nvme-fc: don't hold rport lock when putting ctrl

Daniil Tatianin (2):
net/ethtool/ioctl: remove if n_stats checks from ethtool_get_phy_stats net/ethtool/ioctl: split ethtool_get_phy_stats into multiple helpers

Dapeng Mi (1):
perf/x86/intel: Correct large PEBS flag check

Dave Kleikamp (1):
dma/pool: eliminate alloc_pages warning in atomic_pool_expand

David Hildenbrand (4):
powerpc/pseries/cmm: call balloon_devinfo_init() also without CONFIG_BALLOON_COMPACTION mm/balloon_compaction: we cannot have isolated pages in the balloon list mm/balloon_compaction: convert balloon_page_delete() to balloon_page_finalize() powerpc/pseries/cmm: adjust BALLOON_MIGRATE when migrating pages

Deepakkumar Karn (1):
net: usb: rtl8150: fix memory leak on usb_submit_urb() failure

Deepanshu Kartikey (4):
ext4: refresh inline data size before write operations
btrfs: fix memory leak of fs_devices in degraded seed device path
f2fs: invalidate dentry cache on failed whiteout creation
net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write

Di Zhu (1):
netdev: preserve NETIF_F_ALL_FOR_ALL across TSO updates

Diogo Ivo (1):
usb: phy: Initialize struct usb_phy list_head

Dmitry Antipov (2):
ocfs2: relax BUG() to ocfs2_error() in __ocfs2_move_extent()
ocfs2: fix memory leak in ocfs2_merge_rec_left()

Dmitry Skorodumov (1):
ipvlan: Ignore PACKET_LOOPBACK in handle_mode_l2()

Donet Tom (1):
powerpc/64s/slb: Fix SLB multihit issue during SLB preload

Duoming Zhou (3):
media: TDA1997x: Remove redundant cancel_delayed_work in probe
media: i2c: ADV7604: Remove redundant cancel_delayed_work in probe
media: i2c: adv7842: Remove redundant cancel_delayed_work in probe

Eric Biggers (2):
lib/crypto: x86/blake2s: Fix 32-bit arg treated as 64-bit lib/crypto: aes: Fix missing MMU protection for AES S-box

Eric Dumazet (3):
ip6_gre: make ip6gre_header() robust
wifi: avoid kernel-infoleak from struct iw_point
arp: do not assume dev_hard_header() does not change skb->head

Eric Whitney (1):
ext4: minor defrag code improvements

Ethan Nelson-Moore (1):
net: usb: sr9700: fix incorrect command used to write single register

Fabio Porcedda (2):
USB: serial: option: add Telit Cinterion FE910C04 new compositions
USB: serial: option: move Telit 0x10c7 composition in the right place

Fedor Pchelkin (1):
ext4: fix string copying in parse_apply_sb_mount_options()

Fernando Fernandez Mancera (5):
netfilter: nf_conncount: rework API to use sk_buff directly
netfilter: nft_connlimit: update the count if add was skipped
netfilter: nf_conncount: fix leaked ct in error paths
netfilter: nft_synproxy: avoid possible data-race on update operation
netfilter: nf_conncount: update last_gc only when GC has been performed

Francesco Lavra (1):
iio: imu: st_lsm6dsx: Fix measurement unit for odr struct member

Frank Li (1):
i3c: fix refcount inconsistency in i3c_master_register

Gabor Juhos (1):
regulator: core: disable supply if enabling main regulator fails

Gal Pressman (2):
ethtool: Avoid overflowing userspace buffer on stats query net/mlx5e: Don't print error message due to invalid module

Gongwei Li (1):

      Bluetooth: btusb: Add new VID/PID 13d3/3533 for RTL8821CE

Gopi Krishna Menon (1):
usb: raw-gadget: cap raw_io transfer length to KMALLOC_MAX_SIZE

Greg Kroah-Hartman (2):
Revert "iommu/amd: Skip enabling command/event buffers for kdump" Linux 5.10.248

Guangshuo Li (1):

      e1000: fix OOB in e1000_tbi_should_accept()

Guenter Roeck (1):
hwmon: replace snprintf in show functions with sysfs_emit

Gui-Dong Han (3):
hwmon: (w83791d) Convert macros to functions to avoid TOCTOU
hwmon: (w83l786ng) Convert macros to functions to avoid TOCTOU
hwmon: (max16065) Use local variable to avoid TOCTOU

Guido Günther (1):
drm/panel: visionox-rm69299: Don't clear all mode flags

Guoqing Jiang (1):
block/rnbd-clt: fix wrong max ID in ida_alloc_max

Hans de Goede (1):
HID: logitech-dj: Remove duplicate error logging

Haotian Zhang (18):
pinctrl: stm32: fix hwspinlock resource leak in probe function
mfd: da9055: Fix missing regmap_del_irq_chip() in error path
scsi: stex: Fix reboot_notifier leak in probe error path
clk: renesas: r9a06g032: Fix memory leak in error path
ACPI: property: Fix fwnode refcount leak in acpi_fwnode_graph_parse_endpoint()
scsi: sim710: Fix resource leak by adding missing ioport_unmap() calls
leds: netxbig: Fix GPIO descriptor leak in error paths
watchdog: wdat_wdt: Fix ACPI table leak in probe function
mfd: mt6397-irq: Fix missing irq_domain_remove() in error path
mfd: mt6358-irq: Fix missing irq_domain_remove() in error path
crypto: ccree - Correctly handle return of sg_nents_for_len
pinctrl: single: Fix incorrect type for error return variable
ASoC: bcm: bcm63xx-pcm-whistler: Check return value of of_dma_configure() dm log-writes: Add missing set_freezable() for freezable kthread
ALSA: vxpocket: Fix resource leak in vxpocket_probe error path
ALSA: pcmcia: Fix resource leak in snd_pdacf_probe error path
media: rc: st_rc: Fix reset control resource leak
media: cec: Fix debugfs leak on bus_register() failure

Haotien Hsu (1):
usb: gadget: tegra-xudc: Always reinitialize data toggle when clear halt

Haoxiang Li (6):
MIPS: Fix a reference leak bug in ip22_check_gio()
usb: renesas_usbhs: Fix a resource leak in usbhs_pipe_malloc()
fjes: Add missing iounmap in fjes_hw_init()
nfsd: Drop the client reference in client_states_open()
xfs: fix a memory leak in xfs_buf_item_init()
media: mediatek: vcodec: Fix a reference leak in mtk_vcodec_fw_vpu_init()

Heiko Carstens (2):
s390/smp: Fix fallback CPU detection
s390/ap: Don't leak debug feature files if AP instructions are not available

Helge Deller (1):
parisc: Do not reprogram affinitiy on ASP chip

Henry Martin (1):
cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()

Herbert Xu (1):

      crypto: seqiv - Do not use req->iv after crypto_aead_encrypt

Hongyu Xie (1):
usb: xhci: limit run_graceperiod for only usb 3.0 devices

Hui Su (1):
x86/dumpstack: Make show_trace_log_lvl() static

Ian Abbott (1):
comedi: c6xdigio: Fix invalid PNP driver unregistration

Ian Ray (1):
ARM: dts: imx6q-ba16: fix RTC interrupt level

Ido Schimmel (3):
mlxsw: spectrum_router: Fix neighbour use-after-free
mlxsw: spectrum_mr: Fix use-after-free when updating multicast route stats
ipv4: Fix reference count leak when using error routes with nexthop objects

Ilya Dryomov (3):
libceph: make decode_pool() more resilient against corrupted osdmaps
libceph: replace overzealous BUG_ON in osdmap_apply_incremental()
libceph: make calc_target() set t->paused, not just clear it

Ilya Maximets (1):
net: openvswitch: fix middle attribute validation in push_nsh() action

Ivan Abramov (3):
power: supply: wm831x: Check wm831x_set_bits() return value
media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()
media: msp3400: Avoid possible out-of-bounds array accesses in msp3400c_thread()

Ivan Stepchenko (1):
mtd: lpddr_cmds: fix signed shifts in lpddr_cmds

Jacky Chou (1):
net: mdio: aspeed: add dummy read to avoid read-after-write issue

Jakub Kicinski (1):
eth: bnxt: move and rename reset helpers

Jakub Sitnicki (1):
bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself

Jamal Hadi Salim (1):
net/sched: ets: Always remove class from active list before deleting in ets_qdisc_change

Jang Ingyu (1):
RDMA/core: Fix logic error in ib_get_gids_from_rdma_hdr()

Janusz Krzysztofik (1):
drm/vgem-fence: Fix potential deadlock on release

Jarkko Sakkinen (1):
tpm: Cap the number of PCR banks

Jason Gunthorpe (2):
RDMA/core: Check for the presence of LS_NLA_TYPE_DGID correctly RDMA/cm: Fix leaking the multicast GID table reference

Jeongjun Park (2):
media: dvb-usb: dtv5100: fix out-of-bounds in dtv5100_i2c_msg()
media: vidtv: initialize local pointers upon transfer of memory ownership

Jia Ston (1):
platform/x86: huawei-wmi: add keys for HONOR models

Jian Shen (2):
net: hns3: using the num_tqps in the vf driver to apply for resources
net: hns3: add VLAN id validation before using

Jianglei Nie (1):
staging: fbtft: core: fix potential memory leak in fbtft_probe_common()

Jim Quinlan (1):
PCI: brcmstb: Fix disabling L0s capability

Jimmy Hu (1):
usb: gadget: udc: fix use-after-free in usb_gadget_state_work

Jinhui Guo (2):
ipmi: Fix the race between __scan_channels() and deliver_response()
ipmi: Fix __scan_channels() failing to rescan channels

Jiri Pirko (1):
team: fix check for port enabled in team_queue_override_port_prio_changed()

Jisheng Zhang (3):
usb: dwc2: disable platform lowlevel hw resources during shutdown
usb: dwc2: fix hang during shutdown if set as peripheral
usb: dwc2: fix hang during suspend if set as peripheral

Johan Hovold (21):
USB: serial: ftdi_sio: match on interface number for jtag
USB: serial: belkin_sa: fix TIOCMBIS and TIOCMBIC
USB: serial: kobil_sct: fix TIOCMBIS and TIOCMBIC irqchip/qcom-irq-combiner: Fix section mismatch
phy: broadcom: bcm63xx-usbh: fix section mismatches
amba: tegra-ahb: Fix device leak on SMMU enable
soc: qcom: ocmem: fix device leak on lookup
soc: amlogic: canvas: fix device leak on lookup
ASoC: stm32: sai: fix device leak on probe iommu/exynos: fix device leak on of_xlate() iommu/ipmmu-vmsa: fix device leak on of_xlate() iommu/mediatek-v1: fix device leak on probe_device() iommu/mediatek: fix device leak on of_xlate() iommu/omap: fix device leaks on probe_device() iommu/sun50i: fix device leak on of_xlate()
mfd: altera-sysmgr: Fix device leak on sysmgr regmap lookup
usb: ohci-nxp: fix device leak on probe failure iommu/qcom: fix device leak on of_xlate()
ASoC: stm32: sai: fix clk prepare imbalance on probe failure
media: vpif_capture: fix section mismatch
usb: gadget: lpc32xx_udc: fix clock imbalance in error path

Jonas Gorski (1):
net: dsa: b53: skip multicast entries for fdb_dump()

Jonathan Curley (1):
NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid

Josef Bacik (2):
btrfs: don't rewrite ret from inode_permission
btrfs: do not clean up repair bio if submit fails

Joshua Rogers (1):
SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf

Josua Mayer (1):
clk: mvebu: cp110 add CLK_IGNORE_UNUSED to pcie_x10, pcie_x11 & pcie_x4

Jouni Malinen (1):
wifi: mac80211: Discard Beacon frames to non-broadcast address

Junjie Cao (1):
Input: ti_am335x_tsc - fix off-by-one error in wire_order validation

Junrui Luo (7):
ALSA: dice: fix buffer overflow in detect_stream_formats()
caif: fix integer underflow in cffrml_receive()
hwmon: (ibmpex) fix use-after-free in high/low store
scsi: aic94xx: fix use-after-free in device removal path platform/x86: ibm_rtl: fix EBDA signature search pointer arithmetic
ALSA: wavefront: Clear substream pointers on close
ALSA: wavefront: Fix integer overflow in sample size validation

Kalesh AP (1):
RDMA/bnxt_re: Fix to use correct page size for PDE table

Karina Yankevich (1):
ext4: xattr: fix null pointer deref in ext4_raw_inode()

Kees Cook (3):
compiler-gcc.h: Define __SANITIZE_ADDRESS__ under hwaddress sanitizer net/mlx5e: Avoid field-overflowing memcpy()
ovl: Use "buf" flexible array for memcpy() destination

Kemeng Shi (1):
ext4: remove unused return value of __mb_check_buddy

Kohei Enju (1):
iavf: fix off-by-one issues in iavf_config_rss_reg()

Konstantin Andreev (1):
smack: fix bug: unprivileged task can create labels

Krzysztof Kozlowski (1):
mfd: max77620: Fix potential IRQ chip conflict when probing two devices

Kuninori Morimoto (1):
ASoC: stm: Use dev_err_probe() helper

Laibin Qiu (1):
blk-throttle: Set BIO_THROTTLED when bio has been throttled

Laurent Pinchart (1):
media: v4l2-mem2mem: Fix outdated documentation

Li Qiang (1):
via_wdt: fix critical boot hang due to unnamed resource allocation

Lino Sanfilippo (1):
pwm: bcm2835: Support apply function for atomic configuration

Liu Xinpeng (1):
watchdog: wdat_wdt: Stop watchdog when uninstalling module

Liyuan Pang (1):
ARM: 9464/1: fix input-only operand modification in load_unaligned_zeropad()

Lizhi Xu (1):
usbip: Fix locking bug in RT-enabled kernels

Long Li (1):
macintosh/mac_hid: fix race condition in mac_hid_toggle_emumouse

Lorenzo Bianconi (2):
iio: imu: st_lsm6dsx: introduce st_lsm6dsx_device_set_enable routine
iio: imu: st_lsm6dsx: discard samples during filters settling time

Luca Ceresoli (1):
backlight: led-bl: Add devlink to supplier LEDs

Lukas Wunner (1):
PCI/PM: Reinstate clearing state_saved in legacy and !PM codepaths

Lyude Paul (1):
drm/nouveau/dispnv50: Don't call drm_atomic_get_crtc_state() in prepare_fb

Ma Ke (4):
RDMA/rtrs: server: Fix error handling in get_or_create_srv
USB: lpc32xx_udc: Fix error handling in probe
intel_th: Fix error handling in intel_th_output_open
i2c: amd-mp2: fix reference leak in MP2 PCI device

Magne Bruno (1):
serial: add support of CPCI cards

Mans Rullgard (1):
backlight: led_bl: Take led_access lock when required

Marek Szyprowski (1):
media: samsung: exynos4-is: fix potential ABBA deadlock on init

Mark Pearson (1):
usb: typec: ucsi: Handle incorrect num_connectors capability

Matt Bobrowski (1):
selftests/bpf: Improve reliability of test_perf_branches_no_hw()

Matthew Wilcox (Oracle) (1):
idr: fix idr_alloc() returning an ID out of range

Matthias Schiffer (1):
ti-sysc: allow OMAP2 and OMAP4 timers to be reserved on AM33xx

Matthieu Baerts (NGI0) (1):
mptcp: pm: ignore unknown endpoint flags

Matthijs Kooijman (1):
pinctrl: single: Fix PIN_CONFIG_BIAS_DISABLE handling

Mauro Carvalho Chehab (3):
efi/cper: Add a new helper function to print bitmasks efi/cper: Adjust infopfx size to accept an extra space efi/cper: align ARM CPER type with UEFI 2.9A/2.10 specs

Maximilian Immanuel Brandtner (1):
virtio_console: fix order of fields cols and rows

Miaohe Lin (1):
mm/balloon_compaction: make balloon page compaction callbacks static

Miaoqian Lin (4):
usb: dwc3: of-simple: fix clock resource leak in dwc3_of_simple_probe
cpufreq: nforce2: fix reference count leak in nforce2
media: renesas: rcar_drif: fix device node reference leak in rcar_drif_bond_enabled drm/pl111: Fix error handling in pl111_amba_probe

Michael Margolin (1):
RDMA/efa: Remove possible negative shift

Michael S. Tsirkin (1):
virtio: fix virtqueue_set_affinity() docs

Michal Pecio (1):
usb: xhci: Apply the link chain quirk on NEC isoc endpoints

Michal Rábek (1):
scsi: sg: Fix occasional bogus elapsed time that exceeds timeout

Mike Christie (2):
scsi: iscsi: Move pool freeing
scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress

Morduan Zang (1):
efi/cper: Fix cper_bits_to_str buffer handling and return value

Namhyung Kim (1):
perf tools: Fix split kallsyms DSO counting

Navaneeth K (1):
staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing

NeilBrown (5):
NFS: don't unhash dentry during unlink/rename
lockd: fix vfs_test_lock() calls
nfsd: provide locking for v4_end_grace
NFS: unlink/rmdir shouldn't call d_delete() twice on ENOENT
NFS: add barriers when testing for NFS_FSDATA_BLOCKED

Nicklas Bo Jensen (1):
netfilter: nf_conncount: garbage collection is not skipped when jiffies wrap around

Nikita Zhandarovich (2):
comedi: multiq3: sanitize config options in multiq3_attach()
comedi: check device's attached status in compat ioctls

Niklas Neronin (1):
usb: xhci: move link chain bit quirk checks into one helper function.

Oliver Neukum (1):
usb: chaoskey: fix locking for O_NONBLOCK

Ondrej Mosnacek (2):
fs_context: drop the unused lsm_flags member bpf, arm64: Do not audit capability check in do_jit()

Pablo Neira Ayuso (2):
netfilter: nft_connlimit: move stateful fields out of expression data
netfilter: nft_connlimit: memleak if nf_ct_netns_get() fails

Peilin Ye (5):
console: Delete unused con_font_copy() callback implementations
console: Delete dummy con_font_set() and con_font_default() callback implementations
Fonts: Add charcount field to font_desc
parisc/sticore: Avoid hard-coding built-in font charcount
fbcon: Avoid using FNTCHARCNT() and hard-coded built-in font charcount

Peng Fan (3):
firmware: imx: scu-irq: fix OF node leak in
firmware: imx: scu-irq: Init workqueue before request mbox channel
firmware: imx: scu-irq: Set mu_resource_id before get handle

Pengjie Zhang (1):
ACPI: CPPC: Fix missing PCC check for guaranteed_perf

Peter Zijlstra (1):
x86/ptrace: Always inline trivial accessors

Petko Manolov (1):
net: usb: pegasus: fix memory leak in update_eth_regs_async()

Ping Cheng (1):
HID: input: map HID_GD_Z to ABS_DISTANCE for stylus/pen

Potin Lai (1):
net: mdio: aspeed: move reg accessing part into separate functions

Praveen Talari (1):
pinctrl: qcom: msm: Fix deadlock in pinmux configuration

Prithvi Tambewagh (2):
ocfs2: fix kernel BUG in ocfs2_find_victim_chain
io_uring: fix filename leak in __io_openat_prep()

Przemyslaw Korba (1):
i40e: fix scheduling in set_rx_mode

Pwnverse (1):
net: rose: fix invalid array index in rose_kill_by_device()

Qu Wenruo (1):
btrfs: scrub: always update btrfs_scrub_progress::last_physical

Rafael J. Wysocki (1):
PM: runtime: Do not clear needs_force_resume with enabled runtime PM

Randy Dunlap (1):
backlight: lp855x: Fix lp855x.h kernel-doc warnings

Rene Rebe (2):
floppy: fix for PAGE_SIZE != 4KB
fbdev: gbefb: fix to use physical address instead of dma address

René Rebe (3):
ACPI: processor_core: fix map_x2apic_id for amd-pstate on am4
fbdev: tcx.c fix mem_map to correct smem_start offset
HID: quirks: work around VID/PID conflict for appledisplay

Ria Thomas (1):
wifi: ieee80211: correct FILS status codes

Ritesh Harjani (IBM) (1):
powerpc/64s/ptdump: Fix kernel_hash_pagetable dump for ISA v3.00 HPTE format

Robin Gong (1):
spi: imx: keep dma request disabled before dma transfer setup

Sabrina Dubroca (4):
xfrm: delete x->tunnel as we delete x
Revert "xfrm: destroy xfrm_state synchronously on net exit path"
xfrm: also call xfrm_state_delete_tunnel at destroy time for states that were never added
xfrm: flush all states in xfrm_state_fini

Sakari Ailus (1):
ACPI: property: Use ACPI functions in acpi_graph_get_next_endpoint() only

Sam James (1):
alpha: don't reference obsolete termio struct for TC* constants

Sanjeev Yadav (1):
scsi: core: ufs: Fix a hang in the error handler

Scott Mayhew (1):
NFSv4: ensure the open stateid seqid doesn't go backwards

Sean Christopherson (2):
KVM: x86: WARN if hrtimer callback for periodic APIC timer fires with period=0
KVM: nSVM: Set exit_code_hi to -1 when synthesizing SVM_EXIT_ERR (failed VMRUN)

Sean Nyekjaer (1):
pwm: stm32: Always program polarity

Sebastian Andrzej Siewior (1):
ARM: 9461/1: Disable HIGHPTE on PREEMPT_RT kernels

Sergey Bashirov (1):
NFSD/blocklayout: Fix minlength check in proc_layoutget

Seungjin Bae (2):
USB: Fix descriptor count when handling invalid MBIM extended descriptor
wifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()

Shaurya Rane (1):
net/hsr: fix NULL pointer dereference in prp_get_untagged_frame()

Shawn Lin (1):
PCI: dwc: Fix wrong PORT_LOGIC_LTSSM_STATE_MASK definition

Shay Drory (3):
net/mlx5: fw_tracer, Add support for unrecognized string net/mlx5: fw_tracer, Validate format string parameters net/mlx5: fw_tracer, Handle escaped percent properly

Shengjiu Wang (2):
ASoC: ak4458: Disable regulator when error happens
ASoC: ak5558: Disable regulator when error happens

Shigeru Yoshida (2):
ipv6: Fix potential uninit-value access in __ip6_make_skb()
ipv4: Fix uninit-value access in __ip_make_skb()

Shin'ichiro Kawasaki (1):
bus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()

Shipei Qu (1):
ALSA: usb-mixer: us16x08: validate meter packet indices

Shivani Agarwal (1):
crypto: af_alg - zero initialize memory allocated via sock_kmalloc

Shuhao Fu (1):
cpufreq: s5pv210: fix refcount leak

Siddharth Vadapalli (1):
PCI: keystone: Exit ks_pcie_probe() for invalid mode

Slark Xiao (1):
USB: serial: option: add Foxconn T99W760

Slavin Liu (1):
ipvs: fix ipv4 null-ptr-deref in route error path

Song Liu (1):
livepatch: Match old_sympos 0 and 1 in klp_find_func()

Srijit Bose (1):
bnxt_en: Fix potential data corruption with HW GRO/LRO

Srinivas Kandagatla (4):
rpmsg: glink: fix rpmsg device leak
ASoC: qcom: q6asm-dai: perform correct state check before closing
ASoC: qcom: q6adm: the the copp device only during last instance
ASoC: qcom: qdsp6: q6asm-dai: set 10 ms period and buffer alignment.

Stefano Garzarella (1):
vhost/vsock: improve RCU read sections around vhost_vsock_get()

Stephan Gerhold (1):
iommu/arm-smmu-qcom: Enable use of all SMR groups when running bare-metal

Steven Rostedt (2):
ktest.pl: Fix uninitialized var in config-bisect.pl
tracing: Do not register unsupported perf events

Su Hui (1):
net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()

Sumeet Pawnikar (2):
powercap: fix race condition in register_control_type()
powercap: fix sscanf() error return value handling

Sun Ke (1):
NFS: Fix missing unlock in nfs_unlink()

Sven Schnelle (2):
parisc: entry.S: fix space adjustment on interruption for 64-bit userspace
parisc: entry: set W bit for !compat tasks in syscall_restore_rfi()

Tengda Wu (1):
x86/dumpstack: Prevent KASAN false positive warnings in __show_regs()

Tetsuo Handa (3):
bfs: Reconstruct file type when loading from disk
hfsplus: Verify inode mode when loading from disk
can: j1939: make j1939_session_activate() fail if device is no longer registered

Thomas Fourier (6):
block: rnbd-clt: Fix leaked ID in init_dev() platform/x86: msi-laptop: add missing sysfs_remove_group()
firewire: nosy: Fix dma_free_coherent() size RDMA/bnxt_re: fix dma_free_coherent() pointer
atm: Fix dma_free_coherent() size
net: 3com: 3c59x: fix possible null dereference in vortex_probe1()

Thomas Zimmermann (1):
drm/gma500: Remove unused helper psb_fbdev_fb_setcolreg()

Thorsten Blum (2):
crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id
fbdev: pxafb: Fix multiple clamped values in pxafb_adjust_timing

Tianchu Chen (1):
char: applicom: fix NULL pointer dereference in ac_ioctl

Toke Høiland-Jørgensen (1):
net: openvswitch: Avoid needlessly taking the RTNL on vport destroy

Tom Rix (1):
ethtool: use phydev variable

Tony Battersby (3):
scsi: qla2xxx: Fix initiator mode with qlini_mode=exclusive
scsi: qla2xxx: Use reinit_completion on mbx_intr_comp
scsi: Revert "scsi: qla2xxx: Perform lockless command completion in abort path"

Trond Myklebust (9):
NFS: Clean up function nfs_mark_dir_for_revalidate()
NFS: Fix open coded versions of nfs_set_cache_invalid()
NFS: Label the dentry with a verifier in nfs_rmdir() and nfs_unlink()
NFS: Avoid changing nlink when file removes and attribute updates race Revert "nfs: ignore SB_RDONLY when remounting nfs"
Revert "nfs: clear SB_RDONLY before getting superblock" Revert "nfs: ignore SB_RDONLY when mounting nfs"
NFS: Automounted filesystems should inherit ro,noexec,nodev,sync flags
NFS: Fix up the automount fs_context to use the correct cred

Tuo Li (1):
libceph: make free_choose_arg_map() resilient to partial allocation

Tzung-Bi Shih (1):
platform/chrome: cros_ec_ishtp: Fix UAF after unbinding driver

Udipto Goswami (1):
usb: dwc3: keep susphy enabled during exit to avoid controller faults

Uladzislau Rezki (Sony) (1):
dm-ebs: Mark full buffer dirty even on partial write

Uwe Kleine-König (2):
pwm: bcm2835: Make sure the channel is enabled after pwm_request()
leds: lp50xx: Remove duplicated error reporting in .remove()

Viacheslav Dubeyko (2):
hfsplus: fix volume corruption issue for generic/070
hfsplus: fix volume corruption issue for generic/073

Victor Nogueira (1):
net/sched: ets: Remove drr class from the active list if it changes to strict

Wang Liang (1):
netrom: Fix memory leak in nr_sendmsg()

Weiming Shi (1):
net: sock: fix hardened usercopy panic in sock_recv_errqueue

Wen Xiong (1):
scsi: ipr: Enable/disable IRQD_NO_BALANCING during reset

Wenhua Lin (1):
serial: sprd: Return -EPROBE_DEFER when uart clock is not ready

Will Rosenberg (1):
ipv6: BUG() in pskb_expand_head() as part of calipso_skbuff_setattr()

William Tu (1):
netfilter: nf_conncount: reduce unnecessary GC

Xiang Mei (2):
net/sched: sch_cake: Fix incorrect qlen reduction in cake_drop net/sched: sch_qfq: Fix NULL deref when deactivating inactive aggregate in qfq_reset

Xingui Yang (1):
scsi: Revert "scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed"

Xuanqiang Luo (2):
rculist: Add hlist_nulls_replace_rcu() and hlist_nulls_replace_init_rcu()
inet: Avoid ehash lookup race in inet_ehash_insert()

Yang Chenzhi (1):
hfsplus: fix missing hfs_bnode_get() in __hfs_bnode_create

Ye Bin (4):
jbd2: avoid bug_on in jbd2_journal_get_create_access() when file system corrupted
jbd2: fix the inconsistency between checksum and data in memory for journal sb
ext4: introduce ITAIL helper
ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all()

Yipeng Zou (1):
selftests/ftrace: traceonoff_triggers: strip off names

Yongjian Sun (2):
ext4: improve integrity checking in __mb_check_buddy by enhancing order-0 validation
ext4: fix incorrect group number assertion in mb_check_buddy

Yosry Ahmed (1):
KVM: nSVM: Propagate SVM_EXIT_CR0_SEL_WRITE correctly for LMSW emulation

Yu Kuai (2):
nbd: clean up return value checking of sock_xmit()
nbd: partition nbd_read_stat() into nbd_read_reply() and nbd_handle_reply()

Yuezhang Mo (1):
exfat: fix remount failure in different process environments

Zack Rusin (1):
drm/vmwgfx: Fix a null-ptr access in the cursor snooper

Zhang Yi (1):
ext4: correct the checking of quota files before moving extents

Zhang Zekun (1):
usb: ohci-nxp: Use helper function devm_clk_get_enabled()

Zhao Yipeng (1):
ima: Handle error code returned by ima_filter_rule_match()

Zheng Qixing (2):
nbd: defer config put in recv_work
nbd: defer config unlock in nbd_genl_connect

Zhichi Lin (1):
scs: fix a wrong parameter in __scs_magic

Zhu Yanjun (1):
RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem

fuqiang wang (2):
KVM: x86: Explicitly set new periodic hrtimer expiration in apic_timer_fn()
KVM: x86: Fix VM hard lockup after prolonged inactivity with periodic HV timer

shechenglong (1):
block: fix comment for op_is_zone_mgmt() to include RESET_ALL

sparkhuang (1):
regulator: core: Protect regulator_supply_alias_list with regulator_list_mutex

yuan.gao (1):
inet: ping: Fix icmp out counting

Łukasz Bartosik (1):
xhci: dbgtty: fix device unregister

author maintainer
#1 lore raw
Documentation/filesystems/mount_api.rst +0 -1
index 8fb03f57546d..a38cc2be8d99 100644
@@ -79,7 +79,6 @@ context.  This is represented by the fs_context structure::
 		unsigned int		sb_flags;
 		unsigned int		sb_flags_mask;
 		unsigned int		s_iflags;
-		unsigned int		lsm_flags;
 		enum fs_context_purpose	purpose:8;
 		...
 	};
Documentation/process/2.Process.rst +4 -2
index e05fb1b8f8b6..112a8a70b5ee 100644
@@ -104,8 +104,10 @@ kernels go out with a handful of known regressions though, hopefully, none
 of them are serious.
 
 Once a stable release is made, its ongoing maintenance is passed off to the
-"stable team," currently Greg Kroah-Hartman. The stable team will release
-occasional updates to the stable release using the 5.x.y numbering scheme.
+"stable team," currently consists of Greg Kroah-Hartman and Sasha Levin. The
+stable team will release occasional updates to the stable release using the
+5.x.y numbering scheme.
+
 To be considered for an update release, a patch must (1) fix a significant
 bug, and (2) already be merged into the mainline for the next development
 kernel. Kernels will typically receive stable updates for a little more
Makefile +1 -1
index 6739b0e65702..451389daf57b 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 10
-SUBLEVEL = 247
+SUBLEVEL = 248
 EXTRAVERSION =
 NAME = Dare mighty things
 
arch/alpha/include/uapi/asm/ioctls.h +4 -4
index 971311605288..a09d04b49cc6 100644
@@ -23,10 +23,10 @@
 #define TCSETSW		_IOW('t', 21, struct termios)
 #define TCSETSF		_IOW('t', 22, struct termios)
 
-#define TCGETA		_IOR('t', 23, struct termio)
-#define TCSETA		_IOW('t', 24, struct termio)
-#define TCSETAW		_IOW('t', 25, struct termio)
-#define TCSETAF		_IOW('t', 28, struct termio)
+#define TCGETA          0x40127417
+#define TCSETA          0x80127418
+#define TCSETAW         0x80127419
+#define TCSETAF         0x8012741c
 
 #define TCSBRK		_IO('t', 29)
 #define TCXONC		_IO('t', 30)
arch/arm/Kconfig +1 -1
index 335308aff6ce..05fc9c6ee8c5 100644
@@ -1513,7 +1513,7 @@ config HIGHMEM
 
 config HIGHPTE
 	bool "Allocate 2nd-level pagetables from highmem" if EXPERT
-	depends on HIGHMEM
+	depends on HIGHMEM && !PREEMPT_RT
 	default y
 	help
 	  The VM uses one page of physical memory for each page table.
arch/arm/boot/dts/imx6q-ba16.dtsi +1 -1
index 133991ca8c63..6147d1ff4515 100644
@@ -320,7 +320,7 @@ rtc@32 {
 		pinctrl-0 = <&pinctrl_rtc>;
 		reg = <0x32>;
 		interrupt-parent = <&gpio4>;
-		interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
+		interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
 	};
 };
 
arch/arm/include/asm/word-at-a-time.h +5 -5
index 352ab213520d..2e6d0b4349f4 100644
@@ -66,7 +66,7 @@ static inline unsigned long find_zero(unsigned long mask)
  */
 static inline unsigned long load_unaligned_zeropad(const void *addr)
 {
-	unsigned long ret, offset;
+	unsigned long ret, tmp;
 
 	/* Load word from unaligned pointer addr */
 	asm(
@@ -74,9 +74,9 @@ static inline unsigned long load_unaligned_zeropad(const void *addr)
 	"2:\n"
 	"	.pushsection .text.fixup,\"ax\"\n"
 	"	.align 2\n"
-	"3:	and	%1, %2, #0x3\n"
-	"	bic	%2, %2, #0x3\n"
-	"	ldr	%0, [%2]\n"
+	"3:	bic	%1, %2, #0x3\n"
+	"	ldr	%0, [%1]\n"
+	"	and	%1, %2, #0x3\n"
 	"	lsl	%1, %1, #0x3\n"
 #ifndef __ARMEB__
 	"	lsr	%0, %0, %1\n"
@@ -89,7 +89,7 @@ static inline unsigned long load_unaligned_zeropad(const void *addr)
 	"	.align	3\n"
 	"	.long	1b, 3b\n"
 	"	.popsection"
-	: "=&r" (ret), "=&r" (offset)
+	: "=&r" (ret), "=&r" (tmp)
 	: "r" (addr), "Qo" (*(unsigned long *)addr));
 
 	return ret;
arch/arm64/net/bpf_jit_comp.c +1 -1
index 970d8f318177..e98fe8c006cc 100644
@@ -342,7 +342,7 @@ static void __maybe_unused build_bhb_mitigation(struct jit_ctx *ctx)
 	    arm64_get_spectre_v2_state() == SPECTRE_VULNERABLE)
 		return;
 
-	if (capable(CAP_SYS_ADMIN))
+	if (ns_capable_noaudit(&init_user_ns, CAP_SYS_ADMIN))
 		return;
 
 	if (supports_clearbhb(SCOPE_SYSTEM)) {
arch/mips/sgi-ip22/ip22-gio.c +2 -1
index de0768a49ee8..ef671680740e 100644
@@ -372,7 +372,8 @@ static void ip22_check_gio(int slotno, unsigned long addr, int irq)
 		gio_dev->resource.flags = IORESOURCE_MEM;
 		gio_dev->irq = irq;
 		dev_set_name(&gio_dev->dev, "%d", slotno);
-		gio_device_register(gio_dev);
+		if (gio_device_register(gio_dev))
+			gio_dev_put(gio_dev);
 	} else
 		printk(KERN_INFO "GIO: slot %d : Empty\n", slotno);
 }
arch/parisc/kernel/asm-offsets.c +2 -0
index cd2cc1b1648c..39fac62a8b12 100644
@@ -262,6 +262,8 @@ int main(void)
 	BLANK();
 	DEFINE(TIF_BLOCKSTEP_PA_BIT, 31-TIF_BLOCKSTEP);
 	DEFINE(TIF_SINGLESTEP_PA_BIT, 31-TIF_SINGLESTEP);
+	DEFINE(TIF_32BIT_PA_BIT, 31-TIF_32BIT);
+
 	BLANK();
 	DEFINE(ASM_PMD_SHIFT, PMD_SHIFT);
 	DEFINE(ASM_PGDIR_SHIFT, PGDIR_SHIFT);
arch/parisc/kernel/entry.S +12 -4
index b86ba022136e..d9dc751b91be 100644
@@ -1072,8 +1072,6 @@ ENTRY_CFI(intr_save)		/* for os_hpmc */
 	STREG           %r17, PT_IOR(%r29)
 
 #if defined(CONFIG_64BIT)
-	b,n		intr_save2
-
 skip_save_ior:
 	/* We have a itlb miss, and when executing code above 4 Gb on ILP64, we
 	 * need to adjust iasq/iaoq here in the same way we adjusted isr/ior
@@ -1082,10 +1080,17 @@ skip_save_ior:
 	bb,COND(>=),n	%r8,PSW_W_BIT,intr_save2
 	LDREG		PT_IASQ0(%r29), %r16
 	LDREG		PT_IAOQ0(%r29), %r17
-	/* adjust iasq/iaoq */
+	/* adjust iasq0/iaoq0 */
 	space_adjust	%r16,%r17,%r1
 	STREG           %r16, PT_IASQ0(%r29)
 	STREG           %r17, PT_IAOQ0(%r29)
+
+	LDREG		PT_IASQ1(%r29), %r16
+	LDREG		PT_IAOQ1(%r29), %r17
+	/* adjust iasq1/iaoq1 */
+	space_adjust	%r16,%r17,%r1
+	STREG           %r16, PT_IASQ1(%r29)
+	STREG           %r17, PT_IAOQ1(%r29)
 #else
 skip_save_ior:
 #endif
@@ -1908,6 +1913,10 @@ syscall_restore_rfi:
 	extru,= %r19,TIF_BLOCKSTEP_PA_BIT,1,%r0
 	depi	-1,7,1,%r20			   /* T bit */
 
+#ifdef CONFIG_64BIT
+	extru,<> %r19,TIF_32BIT_PA_BIT,1,%r0
+	depi	-1,4,1,%r20			   /* W bit */
+#endif
 	STREG	%r20,TASK_PT_PSW(%r1)
 
 	/* Always store space registers, since sr3 can be changed (e.g. fork) */
@@ -1921,7 +1930,6 @@ syscall_restore_rfi:
 	STREG   %r25,TASK_PT_IASQ0(%r1)
 	STREG   %r25,TASK_PT_IASQ1(%r1)
 
-	/* XXX W bit??? */
 	/* Now if old D bit is clear, it means we didn't save all registers
 	 * on syscall entry, so do that now.  This only happens on TRACEME
 	 * calls, or if someone attached to us while we were on a syscall.
arch/powerpc/boot/addnote.c +4 -3
index 53b3b2621457..78704927453a 100644
@@ -68,8 +68,8 @@ static int e_class = ELFCLASS32;
 #define PUT_16BE(off, v)(buf[off] = ((v) >> 8) & 0xff, \
 			 buf[(off) + 1] = (v) & 0xff)
 #define PUT_32BE(off, v)(PUT_16BE((off), (v) >> 16L), PUT_16BE((off) + 2, (v)))
-#define PUT_64BE(off, v)((PUT_32BE((off), (v) >> 32L), \
-			  PUT_32BE((off) + 4, (v))))
+#define PUT_64BE(off, v)((PUT_32BE((off), (unsigned long long)(v) >> 32L), \
+			  PUT_32BE((off) + 4, (unsigned long long)(v))))
 
 #define GET_16LE(off)	((buf[off]) + (buf[(off)+1] << 8))
 #define GET_32LE(off)	(GET_16LE(off) + (GET_16LE((off)+2U) << 16U))
@@ -78,7 +78,8 @@ static int e_class = ELFCLASS32;
 #define PUT_16LE(off, v) (buf[off] = (v) & 0xff, \
 			  buf[(off) + 1] = ((v) >> 8) & 0xff)
 #define PUT_32LE(off, v) (PUT_16LE((off), (v)), PUT_16LE((off) + 2, (v) >> 16L))
-#define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 32L))
+#define PUT_64LE(off, v) (PUT_32LE((off), (unsigned long long)(v)), \
+			  PUT_32LE((off) + 4, (unsigned long long)(v) >> 32L))
 
 #define GET_16(off)	(e_data == ELFDATA2MSB ? GET_16BE(off) : GET_16LE(off))
 #define GET_32(off)	(e_data == ELFDATA2MSB ? GET_32BE(off) : GET_32LE(off))
arch/powerpc/kernel/process.c +0 -5
index cf375d67eacb..e4c25944d22a 100644
@@ -1767,8 +1767,6 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,
 	return 0;
 }
 
-void preload_new_slb_context(unsigned long start, unsigned long sp);
-
 /*
  * Set up a thread for executing a new program
  */
@@ -1776,9 +1774,6 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp)
 {
 #ifdef CONFIG_PPC64
 	unsigned long load_addr = regs->gpr[2];	/* saved by ELF_PLAT_INIT */
-
-	if (IS_ENABLED(CONFIG_PPC_BOOK3S_64) && !radix_enabled())
-		preload_new_slb_context(start, sp);
 #endif
 
 	/*
arch/powerpc/mm/book3s64/internal.h +0 -1
index c12d78ee42f5..b3f64e149ece 100644
@@ -13,6 +13,5 @@ static inline bool stress_slb(void)
 	return static_branch_unlikely(&stress_slb_key);
 }
 
-void slb_setup_new_exec(void);
 
 #endif /* ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H */
arch/powerpc/mm/book3s64/mmu_context.c +0 -2
index 0c8557220ae2..86ad6f8b2be2 100644
@@ -147,8 +147,6 @@ static int hash__init_new_context(struct mm_struct *mm)
 void hash__setup_new_exec(void)
 {
 	slice_setup_new_exec();
-
-	slb_setup_new_exec();
 }
 
 static int radix__init_new_context(struct mm_struct *mm)
arch/powerpc/mm/book3s64/slb.c +0 -88

94 lines not on this page · raw message

arch/powerpc/mm/ptdump/hashpagetable.c +6 -0
index ad6df9a2e7c8..6fed0fc236ff 100644
@@ -216,6 +216,8 @@ static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64
 	vpn  = hpt_vpn(ea, vsid, ssize);
 	hash = hpt_hash(vpn, shift, ssize);
 	want_v = hpte_encode_avpn(vpn, psize, ssize);
+	if (cpu_has_feature(CPU_FTR_ARCH_300))
+		want_v = hpte_old_to_new_v(want_v);
 
 	/* to check in the secondary hash table, we invert the hash */
 	if (!primary)
@@ -229,6 +231,10 @@ static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64
 			/* HPTE matches */
 			*v = be64_to_cpu(hptep->v);
 			*r = be64_to_cpu(hptep->r);
+			if (cpu_has_feature(CPU_FTR_ARCH_300)) {
+				*v = hpte_new_to_old_v(*v, *r);
+				*r = hpte_new_to_old_r(*r);
+			}
 			return 0;
 		}
 		++hpte_group;
arch/powerpc/platforms/pseries/cmm.c +3 -2
index 45a3a3022a85..e0886ea54646 100644
@@ -550,7 +550,7 @@ static int cmm_migratepage(struct balloon_dev_info *b_dev_info,
 
 	spin_lock_irqsave(&b_dev_info->pages_lock, flags);
 	balloon_page_insert(b_dev_info, newpage);
-	balloon_page_delete(page);
+	__count_vm_event(BALLOON_MIGRATE);
 	b_dev_info->isolated_pages--;
 	spin_unlock_irqrestore(&b_dev_info->pages_lock, flags);
 
@@ -560,6 +560,7 @@ static int cmm_migratepage(struct balloon_dev_info *b_dev_info,
 	 */
 	plpar_page_set_active(page);
 
+	balloon_page_finalize(page);
 	/* balloon page list reference */
 	put_page(page);
 
@@ -570,7 +571,6 @@ static int cmm_balloon_compaction_init(void)
 {
 	int rc;
 
-	balloon_devinfo_init(&b_dev_info);
 	b_dev_info.migratepage = cmm_migratepage;
 
 	balloon_mnt = kern_mount(&balloon_fs);
@@ -624,6 +624,7 @@ static int cmm_init(void)
 	if (!firmware_has_feature(FW_FEATURE_CMO) && !simulate)
 		return -EOPNOTSUPP;
 
+	balloon_devinfo_init(&b_dev_info);
 	rc = cmm_balloon_compaction_init();
 	if (rc)
 		return rc;
arch/s390/kernel/smp.c +1 -0
index 2e0c3b0a5a58..253774d155a1 100644
@@ -732,6 +732,7 @@ static void __ref smp_get_core_info(struct sclp_core_info *info, int early)
 				continue;
 			info->core[info->configured].core_id =
 				address >> smp_cpu_mt_shift;
+			info->core[info->configured].type = boot_core_type;
 			info->configured++;
 		}
 		info->combined = info->configured;
arch/x86/crypto/blake2s-core.S +2 -2
index b50b35ff1fdb..ca2644820dfc 100644
@@ -54,7 +54,7 @@ SYM_FUNC_START(blake2s_compress_ssse3)
 	movdqa		ROT16(%rip),%xmm12
 	movdqa		ROR328(%rip),%xmm13
 	movdqu		0x20(%rdi),%xmm14
-	movq		%rcx,%xmm15
+	movd		%ecx,%xmm15
 	leaq		SIGMA+0xa0(%rip),%r8
 	jmp		.Lbeginofloop
 	.align		32
@@ -179,7 +179,7 @@ SYM_FUNC_START(blake2s_compress_avx512)
 	vmovdqu		(%rdi),%xmm0
 	vmovdqu		0x10(%rdi),%xmm1
 	vmovdqu		0x20(%rdi),%xmm4
-	vmovq		%rcx,%xmm5
+	vmovd		%ecx,%xmm5
 	vmovdqa		IV(%rip),%xmm14
 	vmovdqa		IV+16(%rip),%xmm15
 	jmp		.Lblake2s_compress_avx512_mainloop
arch/x86/events/intel/core.c +3 -1
index fb2e81fa62c4..73d1cebddee7 100644
@@ -3515,7 +3515,9 @@ static unsigned long intel_pmu_large_pebs_flags(struct perf_event *event)
 	if (!event->attr.exclude_kernel)
 		flags &= ~PERF_SAMPLE_REGS_USER;
 	if (event->attr.sample_regs_user & ~PEBS_GP_REGS)
-		flags &= ~(PERF_SAMPLE_REGS_USER | PERF_SAMPLE_REGS_INTR);
+		flags &= ~PERF_SAMPLE_REGS_USER;
+	if (event->attr.sample_regs_intr & ~PEBS_GP_REGS)
+		flags &= ~PERF_SAMPLE_REGS_INTR;
 	return flags;
 }
 
arch/x86/include/asm/ptrace.h +10 -10
index b94f615600d5..d5186653311d 100644
@@ -109,12 +109,12 @@ convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs);
 extern void send_sigtrap(struct pt_regs *regs, int error_code, int si_code);
 
 
-static inline unsigned long regs_return_value(struct pt_regs *regs)
+static __always_inline unsigned long regs_return_value(struct pt_regs *regs)
 {
 	return regs->ax;
 }
 
-static inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc)
+static __always_inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc)
 {
 	regs->ax = rc;
 }
@@ -195,34 +195,34 @@ static inline bool ip_within_syscall_gap(struct pt_regs *regs)
 }
 #endif
 
-static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
+static __always_inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
 {
 	return regs->sp;
 }
 
-static inline unsigned long instruction_pointer(struct pt_regs *regs)
+static __always_inline unsigned long instruction_pointer(struct pt_regs *regs)
 {
 	return regs->ip;
 }
 
-static inline void instruction_pointer_set(struct pt_regs *regs,
-		unsigned long val)
+static __always_inline
+void instruction_pointer_set(struct pt_regs *regs, unsigned long val)
 {
 	regs->ip = val;
 }
 
-static inline unsigned long frame_pointer(struct pt_regs *regs)
+static __always_inline unsigned long frame_pointer(struct pt_regs *regs)
 {
 	return regs->bp;
 }
 
-static inline unsigned long user_stack_pointer(struct pt_regs *regs)
+static __always_inline unsigned long user_stack_pointer(struct pt_regs *regs)
 {
 	return regs->sp;
 }
 
-static inline void user_stack_pointer_set(struct pt_regs *regs,
-		unsigned long val)
+static __always_inline
+void user_stack_pointer_set(struct pt_regs *regs, unsigned long val)
 {
 	regs->sp = val;
 }
arch/x86/include/asm/stacktrace.h +0 -3
index 49600643faba..f248eb2ac2d4 100644
@@ -88,9 +88,6 @@ get_stack_pointer(struct task_struct *task, struct pt_regs *regs)
 	return (unsigned long *)task->thread.sp;
 }
 
-void show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
-			unsigned long *stack, const char *log_lvl);
-
 /* The form of the top of the frame on the stack */
 struct stack_frame {
 	struct stack_frame *next_frame;
arch/x86/kernel/dumpstack.c +27 -2
index cf92191de2b2..dc0cd8c1ac13 100644
@@ -183,8 +183,14 @@ static void show_regs_if_on_stack(struct stack_info *info, struct pt_regs *regs,
 	}
 }
 
-void show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
-			unsigned long *stack, const char *log_lvl)
+/*
+ * This function reads pointers from the stack and dereferences them. The
+ * pointers may not have their KMSAN shadow set up properly, which may result
+ * in false positive reports. Disable instrumentation to avoid those.
+ */
+__no_kmsan_checks
+static void __show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
+				 unsigned long *stack, const char *log_lvl)
 {
 	struct unwind_state state;
 	struct stack_info stack_info = {0};
@@ -305,6 +311,25 @@ void show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
 	}
 }
 
+static void show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
+			       unsigned long *stack, const char *log_lvl)
+{
+	/*
+	 * Disable KASAN to avoid false positives during walking another
+	 * task's stacks, as values on these stacks may change concurrently
+	 * with task execution.
+	 */
+	bool disable_kasan = task && task != current;
+
+	if (disable_kasan)
+		kasan_disable_current();
+
+	__show_trace_log_lvl(task, regs, stack, log_lvl);
+
+	if (disable_kasan)
+		kasan_enable_current();
+}
+
 void show_stack(struct task_struct *task, unsigned long *sp,
 		       const char *loglvl)
 {
arch/x86/kernel/unwind_frame.c +11 -0
index d7c44b257f7f..8943114f9ebe 100644
@@ -183,6 +183,16 @@ static struct pt_regs *decode_frame_pointer(unsigned long *bp)
 }
 #endif
 
+/*
+ * While walking the stack, KMSAN may stomp on stale locals from other
+ * functions that were marked as uninitialized upon function exit, and
+ * now hold the call frame information for the current function (e.g. the frame
+ * pointer). Because KMSAN does not specifically mark call frames as
+ * initialized, false positive reports are possible. To prevent such reports,
+ * we mark the functions scanning the stack (here and below) with
+ * __no_kmsan_checks.
+ */
+__no_kmsan_checks
 static bool update_stack_state(struct unwind_state *state,
 			       unsigned long *next_bp)
 {
@@ -251,6 +261,7 @@ static bool update_stack_state(struct unwind_state *state,
 	return true;
 }
 
+__no_kmsan_checks
 bool unwind_next_frame(struct unwind_state *state)
 {
 	struct pt_regs *regs;
arch/x86/kvm/lapic.c +25 -7
index fdbca15ecb44..79679dd7ec86 100644
@@ -1790,15 +1790,33 @@ static void advance_periodic_target_expiration(struct kvm_lapic *apic)
 	ktime_t delta;
 
 	/*
-	 * Synchronize both deadlines to the same time source or
-	 * differences in the periods (caused by differences in the
-	 * underlying clocks or numerical approximation errors) will
-	 * cause the two to drift apart over time as the errors
-	 * accumulate.
+	 * Use kernel time as the time source for both the hrtimer deadline and
+	 * TSC-based deadline so that they stay synchronized.  Computing each
+	 * deadline independently will cause the two deadlines to drift apart
+	 * over time as differences in the periods accumulate, e.g. due to
+	 * differences in the underlying clocks or numerical approximation errors.
 	 */
 	apic->lapic_timer.target_expiration =
 		ktime_add_ns(apic->lapic_timer.target_expiration,
 				apic->lapic_timer.period);
+
+	/*
+	 * If the new expiration is in the past, e.g. because userspace stopped
+	 * running the VM for an extended duration, then force the expiration
+	 * to "now" and don't try to play catch-up with the missed events.  KVM
+	 * will only deliver a single interrupt regardless of how many events
+	 * are pending, i.e. restarting the timer with an expiration in the
+	 * past will do nothing more than waste host cycles, and can even lead
+	 * to a hard lockup in extreme cases.
+	 */
+	if (ktime_before(apic->lapic_timer.target_expiration, now))
+		apic->lapic_timer.target_expiration = now;
+
+	/*
+	 * Note, ensuring the expiration isn't in the past also prevents delta
+	 * from going negative, which could cause the TSC deadline to become
+	 * excessively large due to it an unsigned value.
+	 */
 	delta = ktime_sub(apic->lapic_timer.target_expiration, now);
 	apic->lapic_timer.tscdeadline = kvm_read_l1_tsc(apic->vcpu, tscl) +
 		nsec_to_cycles(apic->vcpu, delta);
@@ -2434,9 +2452,9 @@ static enum hrtimer_restart apic_timer_fn(struct hrtimer *data)
 
 	apic_timer_expired(apic, true);
 
-	if (lapic_is_periodic(apic)) {
+	if (lapic_is_periodic(apic) && !WARN_ON_ONCE(!apic->lapic_timer.period)) {
 		advance_periodic_target_expiration(apic);
-		hrtimer_add_expires_ns(&ktimer->timer, ktimer->period);
+		hrtimer_set_expires(&ktimer->timer, ktimer->target_expiration);
 		return HRTIMER_RESTART;
 	} else
 		return HRTIMER_NORESTART;
arch/x86/kvm/svm/nested.c +2 -2
index 3e59df2ebc97..bc523302970e 100644
@@ -528,7 +528,7 @@ int nested_svm_vmrun(struct vcpu_svm *svm)
 	if (!nested_vmcb_check_save(svm, vmcb12) ||
 	    !nested_vmcb_check_controls(&svm->nested.ctl)) {
 		vmcb12->control.exit_code    = SVM_EXIT_ERR;
-		vmcb12->control.exit_code_hi = 0;
+		vmcb12->control.exit_code_hi = -1u;
 		vmcb12->control.exit_info_1  = 0;
 		vmcb12->control.exit_info_2  = 0;
 		goto out;
@@ -587,7 +587,7 @@ int nested_svm_vmrun(struct vcpu_svm *svm)
 	svm->nested.nested_run_pending = 0;
 
 	svm->vmcb->control.exit_code    = SVM_EXIT_ERR;
-	svm->vmcb->control.exit_code_hi = 0;
+	svm->vmcb->control.exit_code_hi = -1u;
 	svm->vmcb->control.exit_info_1  = 0;
 	svm->vmcb->control.exit_info_2  = 0;
 
arch/x86/kvm/svm/svm.c +9 -9
index 8caf3c7a0601..0ca511389227 100644
@@ -3900,20 +3900,20 @@ static int svm_check_intercept(struct kvm_vcpu *vcpu,
 					INTERCEPT_SELECTIVE_CR0)))
 			break;
 
-		cr0 = vcpu->arch.cr0 & ~SVM_CR0_SELECTIVE_MASK;
-		val = info->src_val  & ~SVM_CR0_SELECTIVE_MASK;
-
+		/* LMSW always triggers INTERCEPT_SELECTIVE_CR0 */
 		if (info->intercept == x86_intercept_lmsw) {
-			cr0 &= 0xfUL;
-			val &= 0xfUL;
-			/* lmsw can't clear PE - catch this here */
-			if (cr0 & X86_CR0_PE)
-				val |= X86_CR0_PE;
+			icpt_info.exit_code = SVM_EXIT_CR0_SEL_WRITE;
+			break;
 		}
 
+		/*
+		 * MOV-to-CR0 only triggers INTERCEPT_SELECTIVE_CR0 if any bit
+		 * other than SVM_CR0_SELECTIVE_MASK is changed.
+		 */
+		cr0 = vcpu->arch.cr0 & ~SVM_CR0_SELECTIVE_MASK;
+		val = info->src_val  & ~SVM_CR0_SELECTIVE_MASK;
 		if (cr0 ^ val)
 			icpt_info.exit_code = SVM_EXIT_CR0_SEL_WRITE;
-
 		break;
 	}
 	case SVM_EXIT_READ_DR0:
block/blk-mq.c +16 -2
index 21531aa163cb..a72009746067 100644
@@ -23,6 +23,7 @@
 #include <linux/sched/sysctl.h>
 #include <linux/sched/topology.h>
 #include <linux/sched/signal.h>
+#include <linux/suspend.h>
 #include <linux/delay.h>
 #include <linux/crash_dump.h>
 #include <linux/prefetch.h>
@@ -2548,6 +2549,7 @@ static int blk_mq_hctx_notify_offline(unsigned int cpu, struct hlist_node *node)
 {
 	struct blk_mq_hw_ctx *hctx = hlist_entry_safe(node,
 			struct blk_mq_hw_ctx, cpuhp_online);
+	int ret = 0;
 
 	if (!cpumask_test_cpu(cpu, hctx->cpumask) ||
 	    !blk_mq_last_cpu_in_hctx(cpu, hctx))
@@ -2569,12 +2571,24 @@ static int blk_mq_hctx_notify_offline(unsigned int cpu, struct hlist_node *node)
 	 * frozen and there are no requests.
 	 */
 	if (percpu_ref_tryget(&hctx->queue->q_usage_counter)) {
-		while (blk_mq_hctx_has_requests(hctx))
+		while (blk_mq_hctx_has_requests(hctx)) {
+			/*
+			 * The wakeup capable IRQ handler of block device is
+			 * not called during suspend. Skip the loop by checking
+			 * pm_wakeup_pending to prevent the deadlock and improve
+			 * suspend latency.
+			 */
+			if (pm_wakeup_pending()) {
+				clear_bit(BLK_MQ_S_INACTIVE, &hctx->state);
+				ret = -EBUSY;
+				break;
+			}
 			msleep(5);
+		}
 		percpu_ref_put(&hctx->queue->q_usage_counter);
 	}
 
-	return 0;
+	return ret;
 }
 
 static int blk_mq_hctx_notify_online(unsigned int cpu, struct hlist_node *node)
block/blk-throttle.c +10 -6
index 4bf514a7bd82..4d3436cd677d 100644
@@ -2216,8 +2216,10 @@ bool blk_throtl_bio(struct bio *bio)
 	rcu_read_lock();
 
 	/* see throtl_charge_bio() */
-	if (bio_flagged(bio, BIO_THROTTLED))
-		goto out;
+	if (bio_flagged(bio, BIO_THROTTLED)) {
+		rcu_read_unlock();
+		return false;
+	}
 
 	if (!cgroup_subsys_on_dfl(io_cgrp_subsys)) {
 		blkg_rwstat_add(&tg->stat_bytes, bio->bi_opf,
@@ -2225,8 +2227,10 @@ bool blk_throtl_bio(struct bio *bio)
 		blkg_rwstat_add(&tg->stat_ios, bio->bi_opf, 1);
 	}
 
-	if (!tg->has_rules[rw])
-		goto out;
+	if (!tg->has_rules[rw]) {
+		rcu_read_unlock();
+		return false;
+	}
 
 	spin_lock_irq(&q->queue_lock);
 
@@ -2310,14 +2314,14 @@ bool blk_throtl_bio(struct bio *bio)
 	}
 
 out_unlock:
-	spin_unlock_irq(&q->queue_lock);
-out:
 	bio_set_flag(bio, BIO_THROTTLED);
 
 #ifdef CONFIG_BLK_DEV_THROTTLING_LOW
 	if (throttled || !td->track_bio_latency)
 		bio->bi_issue.value |= BIO_ISSUE_THROTL_SKIP_LATENCY;
 #endif
+	spin_unlock_irq(&q->queue_lock);
+
 	rcu_read_unlock();
 	return throttled;
 }
crypto/af_alg.c +2 -3
index 25cf2fa3dde7..3d622904f4c3 100644
@@ -1127,14 +1127,13 @@ struct af_alg_async_req *af_alg_alloc_areq(struct sock *sk,
 	if (unlikely(!areq))
 		return ERR_PTR(-ENOMEM);
 
+	memset(areq, 0, areqlen);
+
 	ctx->inflight = true;
 
 	areq->areqlen = areqlen;
 	areq->sk = sk;
-	areq->last_rsgl = NULL;
 	INIT_LIST_HEAD(&areq->rsgl_list);
-	areq->tsgl = NULL;
-	areq->tsgl_entries = 0;
 
 	return areq;
 }
crypto/algif_hash.c +1 -2
index be21cfdc6dbc..a48fc7c24341 100644
@@ -423,9 +423,8 @@ static int hash_accept_parent_nokey(void *private, struct sock *sk)
 	if (!ctx)
 		return -ENOMEM;
 
-	ctx->result = NULL;
+	memset(ctx, 0, len);
 	ctx->len = len;
-	ctx->more = false;
 	crypto_init_wait(&ctx->wait);
 
 	ask->private = ctx;
crypto/algif_rng.c +1 -2
index 407408c43730..38a8f20a02e2 100644
@@ -250,9 +250,8 @@ static int rng_accept_parent(void *private, struct sock *sk)
 	if (!ctx)
 		return -ENOMEM;
 
+	memset(ctx, 0, len);
 	ctx->len = len;
-	ctx->addtl = NULL;
-	ctx->addtl_len = 0;
 
 	/*
 	 * No seeding done at that point -- if multiple accepts are
crypto/asymmetric_keys/asymmetric_type.c +10 -4
index 33e77d846caa..ef0e56642a07 100644
@@ -11,6 +11,7 @@
 #include <crypto/public_key.h>
 #include <linux/seq_file.h>
 #include <linux/module.h>
+#include <linux/overflow.h>
 #include <linux/slab.h>
 #include <linux/ctype.h>
 #include <keys/system_keyring.h>
@@ -138,12 +139,17 @@ struct asymmetric_key_id *asymmetric_key_generate_id(const void *val_1,
 						     size_t len_2)
 {
 	struct asymmetric_key_id *kid;
-
-	kid = kmalloc(sizeof(struct asymmetric_key_id) + len_1 + len_2,
-		      GFP_KERNEL);
+	size_t kid_sz;
+	size_t len;
+
+	if (check_add_overflow(len_1, len_2, &len))
+		return ERR_PTR(-EOVERFLOW);
+	if (check_add_overflow(sizeof(struct asymmetric_key_id), len, &kid_sz))
+		return ERR_PTR(-EOVERFLOW);
+	kid = kmalloc(kid_sz, GFP_KERNEL);
 	if (!kid)
 		return ERR_PTR(-ENOMEM);
-	kid->len = len_1 + len_2;
+	kid->len = len;
 	memcpy(kid->data, val_1, len_1);
 	memcpy(kid->data + len_1, val_2, len_2);
 	return kid;
crypto/seqiv.c +5 -3
index b1bcfe537daf..562ab102226a 100644
@@ -51,6 +51,7 @@ static int seqiv_aead_encrypt(struct aead_request *req)
 	struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv);
 	struct aead_request *subreq = aead_request_ctx(req);
 	crypto_completion_t compl;
+	bool unaligned_info;
 	void *data;
 	u8 *info;
 	unsigned int ivsize = 8;
@@ -80,8 +81,9 @@ static int seqiv_aead_encrypt(struct aead_request *req)
 			return err;
 	}
 
-	if (unlikely(!IS_ALIGNED((unsigned long)info,
-				 crypto_aead_alignmask(geniv) + 1))) {
+	unaligned_info = !IS_ALIGNED((unsigned long)info,
+				     crypto_aead_alignmask(geniv) + 1);
+	if (unlikely(unaligned_info)) {
 		info = kmemdup(req->iv, ivsize, req->base.flags &
 			       CRYPTO_TFM_REQ_MAY_SLEEP ? GFP_KERNEL :
 			       GFP_ATOMIC);
@@ -101,7 +103,7 @@ static int seqiv_aead_encrypt(struct aead_request *req)
 	scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1);
 
 	err = crypto_aead_encrypt(subreq);
-	if (unlikely(info != req->iv))
+	if (unlikely(unaligned_info))
 		seqiv_aead_encrypt_complete2(req, err);
 	return err;
 }
drivers/acpi/acpica/nswalk.c +6 -3
index 901fa5ca284d..91c4dc9026bf 100644
@@ -169,9 +169,12 @@ acpi_ns_walk_namespace(acpi_object_type type,
 
 	if (start_node == ACPI_ROOT_OBJECT) {
 		start_node = acpi_gbl_root_node;
-		if (!start_node) {
-			return_ACPI_STATUS(AE_NO_NAMESPACE);
-		}
+	}
+
+	/* Avoid walking the namespace if the StartNode is NULL */
+
+	if (!start_node) {
+		return_ACPI_STATUS(AE_NO_NAMESPACE);
 	}
 
 	/* Null child means "get first node" */
drivers/acpi/apei/ghes.c +10 -6
index 250ea9ec5f0c..bdb23ca251e2 100644
@@ -22,6 +22,7 @@
 #include <linux/moduleparam.h>
 #include <linux/init.h>
 #include <linux/acpi.h>
+#include <linux/bitfield.h>
 #include <linux/io.h>
 #include <linux/interrupt.h>
 #include <linux/timer.h>
@@ -500,6 +501,7 @@ static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata,
 {
 	struct cper_sec_proc_arm *err = acpi_hest_get_payload(gdata);
 	int flags = sync ? MF_ACTION_REQUIRED : 0;
+	char error_type[120];
 	bool queued = false;
 	int sec_sev, i;
 	char *p;
@@ -513,9 +515,8 @@ static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata,
 	p = (char *)(err + 1);
 	for (i = 0; i < err->err_info_num; i++) {
 		struct cper_arm_err_info *err_info = (struct cper_arm_err_info *)p;
-		bool is_cache = (err_info->type == CPER_ARM_CACHE_ERROR);
+		bool is_cache = err_info->type & CPER_ARM_CACHE_ERROR;
 		bool has_pa = (err_info->validation_bits & CPER_ARM_INFO_VALID_PHYSICAL_ADDR);
-		const char *error_type = "unknown error";
 
 		/*
 		 * The field (err_info->error_info & BIT(26)) is fixed to set to
@@ -529,12 +530,15 @@ static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata,
 			continue;
 		}
 
-		if (err_info->type < ARRAY_SIZE(cper_proc_error_type_strs))
-			error_type = cper_proc_error_type_strs[err_info->type];
+		cper_bits_to_str(error_type, sizeof(error_type),
+				 FIELD_GET(CPER_ARM_ERR_TYPE_MASK, err_info->type),
+				 cper_proc_error_type_strs,
+				 ARRAY_SIZE(cper_proc_error_type_strs));
 
 		pr_warn_ratelimited(FW_WARN GHES_PFX
-				    "Unhandled processor error type: %s\n",
-				    error_type);
+				    "Unhandled processor error type 0x%02x: %s%s\n",
+				    err_info->type, error_type,
+				    (err_info->type & ~CPER_ARM_ERR_TYPE_MASK) ? " with reserved bit(s)" : "");
 		p += err_info->length;
 	}
 
drivers/acpi/cppc_acpi.c +2 -1
index b62348a7e4d9..b4cc61cd5d32 100644
@@ -1097,7 +1097,8 @@ int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps)
 	/* Are any of the regs PCC ?*/
 	if (CPC_IN_PCC(highest_reg) || CPC_IN_PCC(lowest_reg) ||
 		CPC_IN_PCC(lowest_non_linear_reg) || CPC_IN_PCC(nominal_reg) ||
-		CPC_IN_PCC(low_freq_reg) || CPC_IN_PCC(nom_freq_reg)) {
+		CPC_IN_PCC(low_freq_reg) || CPC_IN_PCC(nom_freq_reg) ||
+		CPC_IN_PCC(guaranteed_reg)) {
 		if (pcc_ss_id < 0) {
 			pr_debug("Invalid pcc_ss_id\n");
 			return -ENODEV;
drivers/acpi/processor_core.c +1 -1
index 2ac48cda5b20..eae7efae3b5c 100644
@@ -54,7 +54,7 @@ static int map_x2apic_id(struct acpi_subtable_header *entry,
 	if (!(apic->lapic_flags & ACPI_MADT_ENABLED))
 		return -ENODEV;
 
-	if (device_declaration && (apic->uid == acpi_id)) {
+	if (apic->uid == acpi_id && (device_declaration || acpi_id < 255)) {
 		*apic_id = apic->local_apic_id;
 		return 0;
 	}
drivers/acpi/property.c +5 -4
index 821150dcb976..3a3efd15b849 100644
@@ -1188,7 +1188,7 @@ static struct fwnode_handle *acpi_graph_get_next_endpoint(
 
 	if (!prev) {
 		do {
-			port = fwnode_get_next_child_node(fwnode, port);
+			port = acpi_get_next_subnode(fwnode, port);
 			/*
 			 * The names of the port nodes begin with "port@"
 			 * followed by the number of the port node and they also
@@ -1206,13 +1206,13 @@ static struct fwnode_handle *acpi_graph_get_next_endpoint(
 	if (!port)
 		return NULL;
 
-	endpoint = fwnode_get_next_child_node(port, prev);
+	endpoint = acpi_get_next_subnode(port, prev);
 	while (!endpoint) {
-		port = fwnode_get_next_child_node(fwnode, port);
+		port = acpi_get_next_subnode(fwnode, port);
 		if (!port)
 			break;
 		if (is_acpi_graph_node(port, "port"))
-			endpoint = fwnode_get_next_child_node(port, NULL);
+			endpoint = acpi_get_next_subnode(port, NULL);
 	}
 
 	/*
@@ -1423,6 +1423,7 @@ static int acpi_fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
 	if (fwnode_property_read_u32(fwnode, "reg", &endpoint->id))
 		fwnode_property_read_u32(fwnode, "endpoint", &endpoint->id);
 
+	fwnode_handle_put(port_fwnode);
 	return 0;
 }
 
drivers/amba/tegra-ahb.c +1 -0
index 0b2c20fddb7c..39eb1f41b92b 100644
@@ -144,6 +144,7 @@ int tegra_ahb_enable_smmu(struct device_node *dn)
 	if (!dev)
 		return -EPROBE_DEFER;
 	ahb = dev_get_drvdata(dev);
+	put_device(dev);
 	val = gizmo_readl(ahb, AHB_ARBITRATION_XBAR_CTRL);
 	val |= AHB_ARBITRATION_XBAR_CTRL_SMMU_INIT_DONE;
 	gizmo_writel(ahb, val, AHB_ARBITRATION_XBAR_CTRL);
drivers/atm/he.c +2 -1
index 17f44abc9418..ee0c379415b4 100644
@@ -1590,7 +1590,8 @@ he_stop(struct he_dev *he_dev)
 				  he_dev->tbrq_base, he_dev->tbrq_phys);
 
 	if (he_dev->tpdrq_base)
-		dma_free_coherent(&he_dev->pci_dev->dev, CONFIG_TBRQ_SIZE * sizeof(struct he_tbrq),
+		dma_free_coherent(&he_dev->pci_dev->dev,
+				  CONFIG_TPDRQ_SIZE * sizeof(struct he_tpdrq),
 				  he_dev->tpdrq_base, he_dev->tpdrq_phys);
 
 	dma_pool_destroy(he_dev->tpd_pool);
drivers/base/power/runtime.c +12 -10
index 31b77cf9cc8e..d15d033be2c9 100644
@@ -1749,16 +1749,18 @@ void pm_runtime_init(struct device *dev)
  */
 void pm_runtime_reinit(struct device *dev)
 {
-	if (!pm_runtime_enabled(dev)) {
-		if (dev->power.runtime_status == RPM_ACTIVE)
-			pm_runtime_set_suspended(dev);
-		if (dev->power.irq_safe) {
-			spin_lock_irq(&dev->power.lock);
-			dev->power.irq_safe = 0;
-			spin_unlock_irq(&dev->power.lock);
-			if (dev->parent)
-				pm_runtime_put(dev->parent);
-		}
+	if (pm_runtime_enabled(dev))
+		return;
+
+	if (dev->power.runtime_status == RPM_ACTIVE)
+		pm_runtime_set_suspended(dev);
+
+	if (dev->power.irq_safe) {
+		spin_lock_irq(&dev->power.lock);
+		dev->power.irq_safe = 0;
+		spin_unlock_irq(&dev->power.lock);
+		if (dev->parent)
+			pm_runtime_put(dev->parent);
 	}
 	/*
 	 * Clear power.needs_force_resume in case it has been set by
drivers/block/floppy.c +1 -1
index 4ef407a33996..6b78dbe45ef9 100644
@@ -332,7 +332,7 @@ static bool initialized;
  * This default is used whenever the current disk size is unknown.
  * [Now it is rather a minimum]
  */
-#define MAX_DISK_SIZE 4		/* 3984 */
+#define MAX_DISK_SIZE (PAGE_SIZE / 1024)
 
 /*
  * globals used by 'result()'
drivers/block/nbd.c +54 -38

186 lines not on this page · raw message

drivers/block/rnbd/rnbd-clt.c +9 -11
index 71b86fee81c2..2aebb07eff92 100644
@@ -23,7 +23,6 @@ MODULE_LICENSE("GPL");
 
 static int rnbd_client_major;
 static DEFINE_IDA(index_ida);
-static DEFINE_MUTEX(ida_lock);
 static DEFINE_MUTEX(sess_lock);
 static LIST_HEAD(sess_list);
 
@@ -55,9 +54,7 @@ static void rnbd_clt_put_dev(struct rnbd_clt_dev *dev)
 	if (!refcount_dec_and_test(&dev->refcount))
 		return;
 
-	mutex_lock(&ida_lock);
-	ida_simple_remove(&index_ida, dev->clt_device_id);
-	mutex_unlock(&ida_lock);
+	ida_free(&index_ida, dev->clt_device_id);
 	kfree(dev->hw_queues);
 	kfree(dev->pathname);
 	rnbd_clt_put_sess(dev->sess);
@@ -1381,11 +1378,11 @@ static struct rnbd_clt_dev *init_dev(struct rnbd_clt_session *sess,
 		goto out_alloc;
 	}
 
-	mutex_lock(&ida_lock);
-	ret = ida_simple_get(&index_ida, 0, 1 << (MINORBITS - RNBD_PART_BITS),
-			     GFP_KERNEL);
-	mutex_unlock(&ida_lock);
-	if (ret < 0) {
+	dev->clt_device_id = ida_alloc_max(&index_ida,
+					   (1 << (MINORBITS - RNBD_PART_BITS)) - 1,
+					   GFP_KERNEL);
+	if (dev->clt_device_id < 0) {
+		ret = dev->clt_device_id;
 		pr_err("Failed to initialize device '%s' from session %s, allocating idr failed, err: %d\n",
 		       pathname, sess->sessname, ret);
 		goto out_queues;
@@ -1394,10 +1391,9 @@ static struct rnbd_clt_dev *init_dev(struct rnbd_clt_session *sess,
 	dev->pathname = kstrdup(pathname, GFP_KERNEL);
 	if (!dev->pathname) {
 		ret = -ENOMEM;
-		goto out_queues;
+		goto out_ida;
 	}
 
-	dev->clt_device_id	= ret;
 	dev->sess		= sess;
 	dev->access_mode	= access_mode;
 	mutex_init(&dev->lock);
@@ -1412,6 +1408,8 @@ static struct rnbd_clt_dev *init_dev(struct rnbd_clt_session *sess,
 
 	return dev;
 
+out_ida:
+	ida_free(&index_ida, dev->clt_device_id);
 out_queues:
 	kfree(dev->hw_queues);
 out_alloc:
drivers/block/rnbd/rnbd-clt.h +1 -1
index 2941e3862b9c..beda2d6ce910 100644
@@ -105,7 +105,7 @@ struct rnbd_clt_dev {
 	struct rnbd_queue	*hw_queues;
 	u32			device_id;
 	/* local Idr index - used to track minor number allocations. */
-	u32			clt_device_id;
+	int			clt_device_id;
 	struct mutex		lock;
 	enum rnbd_clt_dev_state	dev_state;
 	char			*pathname;
drivers/bluetooth/btusb.c +2 -0
index 155eaaf0485a..c5e4f675270c 100644
@@ -396,6 +396,8 @@ static const struct usb_device_id blacklist_table[] = {
 	/* Realtek 8821CE Bluetooth devices */
 	{ USB_DEVICE(0x13d3, 0x3529), .driver_info = BTUSB_REALTEK |
 						     BTUSB_WIDEBAND_SPEECH },
+	{ USB_DEVICE(0x13d3, 0x3533), .driver_info = BTUSB_REALTEK |
+						     BTUSB_WIDEBAND_SPEECH },
 
 	/* Realtek 8822CE Bluetooth devices */
 	{ USB_DEVICE(0x0bda, 0xb00c), .driver_info = BTUSB_REALTEK |
drivers/bus/fsl-mc/fsl-mc-bus.c +3 -3
index dd7791f48537..4f13e7d8101b 100644
@@ -1085,14 +1085,14 @@ static int fsl_mc_bus_probe(struct platform_device *pdev)
 static int fsl_mc_bus_remove(struct platform_device *pdev)
 {
 	struct fsl_mc *mc = platform_get_drvdata(pdev);
+	struct fsl_mc_io *mc_io;
 
 	if (!fsl_mc_is_root_dprc(&mc->root_mc_bus_dev->dev))
 		return -EINVAL;
 
+	mc_io = mc->root_mc_bus_dev->mc_io;
 	fsl_mc_device_remove(mc->root_mc_bus_dev);
-
-	fsl_destroy_mc_io(mc->root_mc_bus_dev->mc_io);
-	mc->root_mc_bus_dev->mc_io = NULL;
+	fsl_destroy_mc_io(mc_io);
 
 	return 0;
 }
drivers/bus/ti-sysc.c +9 -2
index ed38c25fb0c5..fe5b0997aee6 100644
@@ -37,6 +37,7 @@ enum sysc_soc {
 	SOC_UNKNOWN,
 	SOC_2420,
 	SOC_2430,
+	SOC_AM33,
 	SOC_3430,
 	SOC_AM35,
 	SOC_3630,
@@ -2933,6 +2934,7 @@ static void ti_sysc_idle(struct work_struct *work)
 static const struct soc_device_attribute sysc_soc_match[] = {
 	SOC_FLAG("OMAP242*", SOC_2420),
 	SOC_FLAG("OMAP243*", SOC_2430),
+	SOC_FLAG("AM33*", SOC_AM33),
 	SOC_FLAG("AM35*", SOC_AM35),
 	SOC_FLAG("OMAP3[45]*", SOC_3430),
 	SOC_FLAG("OMAP3[67]*", SOC_3630),
@@ -3121,10 +3123,15 @@ static int sysc_check_active_timer(struct sysc *ddata)
 	 * can be dropped if we stop supporting old beagleboard revisions
 	 * A to B4 at some point.
 	 */
-	if (sysc_soc->soc == SOC_3430 || sysc_soc->soc == SOC_AM35)
+	switch (sysc_soc->soc) {
+	case SOC_AM33:
+	case SOC_3430:
+	case SOC_AM35:
 		error = -ENXIO;
-	else
+		break;
+	default:
 		error = -EBUSY;
+	}
 
 	if ((ddata->cfg.quirks & SYSC_QUIRK_NO_RESET_ON_INIT) &&
 	    (ddata->cfg.quirks & SYSC_QUIRK_NO_IDLE))
drivers/char/applicom.c +4 -1
index 14b2d8034c51..a45bce78f341 100644
@@ -836,7 +836,10 @@ static long ac_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 		ret = -ENOTTY;
 		break;
 	}
-	Dummy = readb(apbs[IndexCard].RamIO + VERS);
+
+	if (cmd != 6)
+		Dummy = readb(apbs[IndexCard].RamIO + VERS);
+
 	kfree(adgl);
 	mutex_unlock(&ac_mutex);
 	return 0;
drivers/char/ipmi/ipmi_msghandler.c +13 -7
index 5b01985aed22..a72cd57dd8a5 100644
@@ -605,7 +605,8 @@ static void __ipmi_bmc_unregister(struct ipmi_smi *intf);
 static int __ipmi_bmc_register(struct ipmi_smi *intf,
 			       struct ipmi_device_id *id,
 			       bool guid_set, guid_t *guid, int intf_num);
-static int __scan_channels(struct ipmi_smi *intf, struct ipmi_device_id *id);
+static int __scan_channels(struct ipmi_smi *intf,
+				struct ipmi_device_id *id, bool rescan);
 
 
 /**
@@ -2556,7 +2557,7 @@ static int __bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc,
 		if (__ipmi_bmc_register(intf, &id, guid_set, &guid, intf_num))
 			need_waiter(intf); /* Retry later on an error. */
 		else
-			__scan_channels(intf, &id);
+			__scan_channels(intf, &id, false);
 
 
 		if (!intf_set) {
@@ -2576,7 +2577,7 @@ static int __bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc,
 		goto out_noprocessing;
 	} else if (memcmp(&bmc->fetch_id, &bmc->id, sizeof(bmc->id)))
 		/* Version info changes, scan the channels again. */
-		__scan_channels(intf, &bmc->fetch_id);
+		__scan_channels(intf, &bmc->fetch_id, true);
 
 	bmc->dyn_id_expiry = jiffies + IPMI_DYN_DEV_ID_EXPIRY;
 
@@ -3305,8 +3306,6 @@ channel_handler(struct ipmi_smi *intf, struct ipmi_recv_msg *msg)
 			intf->channels_ready = true;
 			wake_up(&intf->waitq);
 		} else {
-			intf->channel_list = intf->wchannels + set;
-			intf->channels_ready = true;
 			rv = send_channel_info_cmd(intf, intf->curr_channel);
 		}
 
@@ -3328,10 +3327,17 @@ channel_handler(struct ipmi_smi *intf, struct ipmi_recv_msg *msg)
 /*
  * Must be holding intf->bmc_reg_mutex to call this.
  */
-static int __scan_channels(struct ipmi_smi *intf, struct ipmi_device_id *id)
+static int __scan_channels(struct ipmi_smi *intf,
+				struct ipmi_device_id *id,
+				bool rescan)
 {
 	int rv;
 
+	if (rescan) {
+		/* Clear channels_ready to force channels rescan. */
+		intf->channels_ready = false;
+	}
+
 	if (ipmi_version_major(id) > 1
 			|| (ipmi_version_major(id) == 1
 			    && ipmi_version_minor(id) >= 5)) {
@@ -3503,7 +3509,7 @@ int ipmi_add_smi(struct module         *owner,
 	}
 
 	mutex_lock(&intf->bmc_reg_mutex);
-	rv = __scan_channels(intf, &id);
+	rv = __scan_channels(intf, &id, false);
 	mutex_unlock(&intf->bmc_reg_mutex);
 	if (rv)
 		goto out_err_bmc_reg;
drivers/char/tpm/tpm-chip.c +0 -1
index 1e4f1a5049a5..528ed316150e 100644
@@ -269,7 +269,6 @@ static void tpm_dev_release(struct device *dev)
 
 	kfree(chip->work_space.context_buf);
 	kfree(chip->work_space.session_buf);
-	kfree(chip->allocated_banks);
 	kfree(chip);
 }
 
drivers/char/tpm/tpm1-cmd.c +0 -5
index ca7158fa6e6c..28e562843fa5 100644
@@ -794,11 +794,6 @@ int tpm1_pm_suspend(struct tpm_chip *chip, u32 tpm_suspend_pcr)
  */
 int tpm1_get_pcr_allocation(struct tpm_chip *chip)
 {
-	chip->allocated_banks = kcalloc(1, sizeof(*chip->allocated_banks),
-					GFP_KERNEL);
-	if (!chip->allocated_banks)
-		return -ENOMEM;
-
 	chip->allocated_banks[0].alg_id = TPM_ALG_SHA1;
 	chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1];
 	chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1;
drivers/char/tpm/tpm2-cmd.c +3 -5
index d0e11d7a3c08..0b683d991bed 100644
@@ -574,11 +574,9 @@ ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip)
 
 	nr_possible_banks = be32_to_cpup(
 		(__be32 *)&buf.data[TPM_HEADER_SIZE + 5]);
-
-	chip->allocated_banks = kcalloc(nr_possible_banks,
-					sizeof(*chip->allocated_banks),
-					GFP_KERNEL);
-	if (!chip->allocated_banks) {
+	if (nr_possible_banks > TPM2_MAX_PCR_BANKS) {
+		pr_err("tpm: out of bank capacity: %u > %u\n",
+		       nr_possible_banks, TPM2_MAX_PCR_BANKS);
 		rc = -ENOMEM;
 		goto out;
 	}
drivers/char/virtio_console.c +1 -1
index 5c8f009bb6f7..712db89020f3 100644
@@ -1617,8 +1617,8 @@ static void handle_control_message(struct virtio_device *vdev,
 		break;
 	case VIRTIO_CONSOLE_RESIZE: {
 		struct {
-			__virtio16 rows;
 			__virtio16 cols;
+			__virtio16 rows;
 		} size;
 
 		if (!is_console_port(port))
drivers/clk/mvebu/cp110-system-controller.c +20 -0
index 84c8900542e4..b477396917ad 100644
@@ -110,6 +110,25 @@ static const char * const gate_base_names[] = {
 	[CP110_GATE_EIP197]	= "eip197"
 };
 
+static unsigned long gate_flags(const u8 bit_idx)
+{
+	switch (bit_idx) {
+	case CP110_GATE_PCIE_X1_0:
+	case CP110_GATE_PCIE_X1_1:
+	case CP110_GATE_PCIE_X4:
+		/*
+		 * If a port had an active link at boot time, stopping
+		 * the clock creates a failed state from which controller
+		 * driver can not recover.
+		 * Prevent stopping this clock till after a driver has taken
+		 * ownership.
+		 */
+		return CLK_IGNORE_UNUSED;
+	default:
+		return 0;
+	}
+};
+
 struct cp110_gate_clk {
 	struct clk_hw hw;
 	struct regmap *regmap;
@@ -171,6 +190,7 @@ static struct clk_hw *cp110_register_gate(const char *name,
 	init.ops = &cp110_gate_ops;
 	init.parent_names = &parent_name;
 	init.num_parents = 1;
+	init.flags = gate_flags(bit_idx);
 
 	gate->regmap = regmap;
 	gate->bit_idx = bit_idx;
drivers/clk/renesas/r9a06g032-clocks.c +4 -3
index 285f6ac25372..22212a157acf 100644
@@ -917,9 +917,10 @@ static int __init r9a06g032_clocks_probe(struct platform_device *pdev)
 	if (IS_ERR(mclk))
 		return PTR_ERR(mclk);
 
-	clocks->reg = of_iomap(np, 0);
-	if (WARN_ON(!clocks->reg))
-		return -ENOMEM;
+	clocks->reg = devm_of_iomap(dev, np, 0, NULL);
+	if (IS_ERR(clocks->reg))
+		return PTR_ERR(clocks->reg);
+
 	for (i = 0; i < ARRAY_SIZE(r9a06g032_clocks); ++i) {
 		const struct r9a06g032_clkdesc *d = &r9a06g032_clocks[i];
 		const char *parent_name = d->source ?
drivers/cpufreq/cpufreq-nforce2.c +3 -0
index f7a7bcf6f52e..c58fb697fbba 100644
@@ -145,6 +145,8 @@ static unsigned int nforce2_fsb_read(int bootfsb)
 	pci_read_config_dword(nforce2_sub5, NFORCE2_BOOTFSB, &fsb);
 	fsb /= 1000000;
 
+	pci_dev_put(nforce2_sub5);
+
 	/* Check if PLL register is already set */
 	pci_read_config_byte(nforce2_dev, NFORCE2_PLLENABLE, (u8 *)&temp);
 
@@ -432,6 +434,7 @@ static int __init nforce2_init(void)
 static void __exit nforce2_exit(void)
 {
 	cpufreq_unregister_driver(&nforce2_driver);
+	pci_dev_put(nforce2_dev);
 }
 
 module_init(nforce2_init);
drivers/cpufreq/s5pv210-cpufreq.c +4 -2
index bed496cf8d24..f95b4658097a 100644
@@ -518,7 +518,7 @@ static int s5pv210_cpu_init(struct cpufreq_policy *policy)
 
 	if (policy->cpu != 0) {
 		ret = -EINVAL;
-		goto out_dmc1;
+		goto out;
 	}
 
 	/*
@@ -530,7 +530,7 @@ static int s5pv210_cpu_init(struct cpufreq_policy *policy)
 	if ((mem_type != LPDDR) && (mem_type != LPDDR2)) {
 		pr_err("CPUFreq doesn't support this memory type\n");
 		ret = -EINVAL;
-		goto out_dmc1;
+		goto out;
 	}
 
 	/* Find current refresh counter and frequency each DMC */
@@ -544,6 +544,8 @@ static int s5pv210_cpu_init(struct cpufreq_policy *policy)
 	cpufreq_generic_init(policy, s5pv210_freq_table, 40000);
 	return 0;
 
+out:
+	clk_put(dmc1_clk);
 out_dmc1:
 	clk_put(dmc0_clk);
 out_dmc0:
drivers/cpufreq/scmi-cpufreq.c +8 -2
index bb1389f276d7..6b65d537c95c 100644
@@ -29,12 +29,18 @@ static const struct scmi_handle *handle;
 
 static unsigned int scmi_cpufreq_get_rate(unsigned int cpu)
 {
-	struct cpufreq_policy *policy = cpufreq_cpu_get_raw(cpu);
+	struct cpufreq_policy *policy;
+	struct scmi_data *priv;
 	const struct scmi_perf_ops *perf_ops = handle->perf_ops;
-	struct scmi_data *priv = policy->driver_data;
 	unsigned long rate;
 	int ret;
 
+	policy = cpufreq_cpu_get_raw(cpu);
+	if (unlikely(!policy))
+		return 0;
+
+	priv = policy->driver_data;
+
 	ret = perf_ops->freq_get(handle, priv->domain_id, &rate, false);
 	if (ret)
 		return 0;
drivers/crypto/ccree/cc_buffer_mgr.c +5 -1
index 6140e4927322..5754dc88c684 100644
@@ -1235,6 +1235,7 @@ int cc_map_hash_request_update(struct cc_drvdata *drvdata, void *ctx,
 	int rc = 0;
 	u32 dummy = 0;
 	u32 mapped_nents = 0;
+	int sg_nents;
 
 	dev_dbg(dev, " update params : curr_buff=%pK curr_buff_cnt=0x%X nbytes=0x%X src=%pK curr_index=%u\n",
 		curr_buff, *curr_buff_cnt, nbytes, src, areq_ctx->buff_index);
@@ -1248,7 +1249,10 @@ int cc_map_hash_request_update(struct cc_drvdata *drvdata, void *ctx,
 	if (total_in_len < block_size) {
 		dev_dbg(dev, " less than one block: curr_buff=%pK *curr_buff_cnt=0x%X copy_to=%pK\n",
 			curr_buff, *curr_buff_cnt, &curr_buff[*curr_buff_cnt]);
-		areq_ctx->in_nents = sg_nents_for_len(src, nbytes);
+		sg_nents = sg_nents_for_len(src, nbytes);
+		if (sg_nents < 0)
+			return sg_nents;
+		areq_ctx->in_nents = sg_nents;
 		sg_copy_to_buffer(src, areq_ctx->in_nents,
 				  &curr_buff[*curr_buff_cnt], nbytes);
 		*curr_buff_cnt += nbytes;
drivers/firewire/nosy.c +26 -21

85 lines not on this page · raw message

drivers/firmware/efi/cper-arm.c +25 -27

99 lines not on this page · raw message

drivers/firmware/efi/cper.c +60 -0

72 lines not on this page · raw message

drivers/firmware/imx/imx-scu-irq.c +14 -12
index d9dcc20945c6..1f08b708e83d 100644
@@ -137,6 +137,18 @@ int imx_scu_enable_general_irq_channel(struct device *dev)
 	struct mbox_chan *ch;
 	int ret = 0, i = 0;
 
+	if (!of_parse_phandle_with_args(dev->of_node, "mboxes",
+				       "#mbox-cells", 0, &spec)) {
+		i = of_alias_get_id(spec.np, "mu");
+		of_node_put(spec.np);
+	}
+
+	/* use mu1 as general mu irq channel if failed */
+	if (i < 0)
+		i = 1;
+
+	mu_resource_id = IMX_SC_R_MU_0A + i;
+
 	ret = imx_scu_get_handle(&imx_sc_irq_ipc_handle);
 	if (ret)
 		return ret;
@@ -148,6 +160,8 @@ int imx_scu_enable_general_irq_channel(struct device *dev)
 	cl->dev = dev;
 	cl->rx_callback = imx_scu_irq_callback;
 
+	INIT_WORK(&imx_sc_irq_work, imx_scu_irq_work_handler);
+
 	/* SCU general IRQ uses general interrupt channel 3 */
 	ch = mbox_request_channel_byname(cl, "gip3");
 	if (IS_ERR(ch)) {
@@ -157,18 +171,6 @@ int imx_scu_enable_general_irq_channel(struct device *dev)
 		return ret;
 	}
 
-	INIT_WORK(&imx_sc_irq_work, imx_scu_irq_work_handler);
-
-	if (!of_parse_phandle_with_args(dev->of_node, "mboxes",
-				       "#mbox-cells", 0, &spec))
-		i = of_alias_get_id(spec.np, "mu");
-
-	/* use mu1 as general mu irq channel if failed */
-	if (i < 0)
-		i = 1;
-
-	mu_resource_id = IMX_SC_R_MU_0A + i;
-
 	return ret;
 }
 EXPORT_SYMBOL(imx_scu_enable_general_irq_channel);
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +4 -4
index 9dd41eaf32cb..3cc61bb6f896 100644
@@ -961,10 +961,10 @@ static enum bp_result get_embedded_panel_info_v2_1(
 	/* not provided by VBIOS */
 	info->lcd_timing.misc_info.HORIZONTAL_CUT_OFF = 0;
 
-	info->lcd_timing.misc_info.H_SYNC_POLARITY = ~(uint32_t) (lvds->lcd_timing.miscinfo
-			& ATOM_HSYNC_POLARITY);
-	info->lcd_timing.misc_info.V_SYNC_POLARITY = ~(uint32_t) (lvds->lcd_timing.miscinfo
-			& ATOM_VSYNC_POLARITY);
+	info->lcd_timing.misc_info.H_SYNC_POLARITY = !(lvds->lcd_timing.miscinfo &
+						       ATOM_HSYNC_POLARITY);
+	info->lcd_timing.misc_info.V_SYNC_POLARITY = !(lvds->lcd_timing.miscinfo &
+						       ATOM_VSYNC_POLARITY);
 
 	/* not provided by VBIOS */
 	info->lcd_timing.misc_info.VERTICAL_CUT_OFF = 0;
drivers/gpu/drm/amd/display/dc/core/dc_surface.c +1 -1
index 98391ba103d6..1262b72d532b 100644
@@ -104,7 +104,7 @@ void enable_surface_flip_reporting(struct dc_plane_state *plane_state,
 struct dc_plane_state *dc_create_plane_state(struct dc *dc)
 {
 	struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state),
-							GFP_KERNEL);
+							GFP_ATOMIC);
 
 	if (NULL == plane_state)
 		return NULL;
drivers/gpu/drm/gma500/framebuffer.c +0 -44

68 lines not on this page · raw message

drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c +1 -1
index 87d845d6d3bc..0db27699025a 100644
@@ -794,7 +794,7 @@ static void a6xx_get_gmu_registers(struct msm_gpu *gpu,
 		return;
 
 	/* Set the fence to ALLOW mode so we can access the registers */
-	gpu_write(gpu, REG_A6XX_GMU_AO_AHB_FENCE_CTRL, 0);
+	gmu_write(&a6xx_gpu->gmu, REG_A6XX_GMU_AO_AHB_FENCE_CTRL, 0);
 
 	_a6xx_get_gmu_registers(gpu, a6xx_state, &a6xx_gmu_reglist[2],
 		&a6xx_state->gmu_registers[2], false);
drivers/gpu/drm/nouveau/dispnv50/atom.h +13 -0
index 93f8f4f64578..b43c4f9bbcdf 100644
@@ -152,8 +152,21 @@ static inline struct nv50_head_atom *
 nv50_head_atom_get(struct drm_atomic_state *state, struct drm_crtc *crtc)
 {
 	struct drm_crtc_state *statec = drm_atomic_get_crtc_state(state, crtc);
+
 	if (IS_ERR(statec))
 		return (void *)statec;
+
+	return nv50_head_atom(statec);
+}
+
+static inline struct nv50_head_atom *
+nv50_head_atom_get_new(struct drm_atomic_state *state, struct drm_crtc *crtc)
+{
+	struct drm_crtc_state *statec = drm_atomic_get_new_crtc_state(state, crtc);
+
+	if (!statec)
+		return NULL;
+
 	return nv50_head_atom(statec);
 }
 
drivers/gpu/drm/nouveau/dispnv50/wndw.c +1 -1
index 4ae04a728bd0..4a7fc3921601 100644
@@ -561,7 +561,7 @@ nv50_wndw_prepare_fb(struct drm_plane *plane, struct drm_plane_state *state)
 	asyw->image.offset[0] = nvbo->offset;
 
 	if (wndw->func->prepare) {
-		asyh = nv50_head_atom_get(asyw->state.state, asyw->state.crtc);
+		asyh = nv50_head_atom_get_new(asyw->state.state, asyw->state.crtc);
 		if (IS_ERR(asyh))
 			return PTR_ERR(asyh);
 
drivers/gpu/drm/panel/panel-visionox-rm69299.c +1 -1
index 6134432e4918..2260d5abf1ae 100644
@@ -64,7 +64,7 @@ static int visionox_rm69299_unprepare(struct drm_panel *panel)
 	struct visionox_rm69299 *ctx = panel_to_ctx(panel);
 	int ret;
 
-	ctx->dsi->mode_flags = 0;
+	ctx->dsi->mode_flags &= ~MIPI_DSI_MODE_LPM;
 
 	ret = mipi_dsi_dcs_write(ctx->dsi, MIPI_DCS_SET_DISPLAY_OFF, NULL, 0);
 	if (ret < 0)
drivers/gpu/drm/pl111/pl111_drv.c +1 -1
index d5e8e3a8bff3..0100d6f091b5 100644
@@ -302,7 +302,7 @@ static int pl111_amba_probe(struct amba_device *amba_dev,
 			       variant->name, priv);
 	if (ret != 0) {
 		dev_err(dev, "%s failed irq %d\n", __func__, ret);
-		return ret;
+		goto dev_put;
 	}
 
 	ret = pl111_modeset_init(drm);
drivers/gpu/drm/vgem/vgem_fence.c +1 -1
index 575bc331716e..f860ff1db648 100644
@@ -94,7 +94,7 @@ static struct dma_fence *vgem_fence_create(struct vgem_file *vfile,
 	dma_fence_init(&fence->base, &vgem_fence_ops, &fence->lock,
 		       dma_fence_context_alloc(1), 1);
 
-	timer_setup(&fence->timer, vgem_fence_timeout, 0);
+	timer_setup(&fence->timer, vgem_fence_timeout, TIMER_IRQSAFE);
 
 	/* We force the fence to expire within 10s to prevent driver hangs */
 	mod_timer(&fence->timer, jiffies + VGEM_FENCE_TIMEOUT);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +12 -5
index 17d7f172a9e0..361f96d09374 100644
@@ -1520,6 +1520,7 @@ static int vmw_cmd_dma(struct vmw_private *dev_priv,
 		       SVGA3dCmdHeader *header)
 {
 	struct vmw_buffer_object *vmw_bo = NULL;
+	struct vmw_resource *res;
 	struct vmw_surface *srf = NULL;
 	VMW_DECLARE_CMD_VAR(*cmd, SVGA3dCmdSurfaceDMA);
 	int ret;
@@ -1555,18 +1556,24 @@ static int vmw_cmd_dma(struct vmw_private *dev_priv,
 
 	dirty = (cmd->body.transfer == SVGA3D_WRITE_HOST_VRAM) ?
 		VMW_RES_DIRTY_SET : 0;
-	ret = vmw_cmd_res_check(dev_priv, sw_context, vmw_res_surface,
-				dirty, user_surface_converter,
-				&cmd->body.host.sid, NULL);
+	ret = vmw_cmd_res_check(dev_priv, sw_context, vmw_res_surface, dirty,
+				user_surface_converter, &cmd->body.host.sid,
+				NULL);
 	if (unlikely(ret != 0)) {
 		if (unlikely(ret != -ERESTARTSYS))
 			VMW_DEBUG_USER("could not find surface for DMA.\n");
 		return ret;
 	}
 
-	srf = vmw_res_to_srf(sw_context->res_cache[vmw_res_surface].res);
+	res = sw_context->res_cache[vmw_res_surface].res;
+	if (!res) {
+		VMW_DEBUG_USER("Invalid DMA surface.\n");
+		return -EINVAL;
+	}
 
-	vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->base, header);
+	srf = vmw_res_to_srf(res);
+	vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->base,
+			     header);
 
 	return 0;
 }
drivers/hid/hid-core.c +6 -1
index 89aa7a0e51de..e789452181fe 100644
@@ -1349,7 +1349,12 @@ EXPORT_SYMBOL_GPL(hid_snto32);
 
 static u32 s32ton(__s32 value, unsigned n)
 {
-	s32 a = value >> (n - 1);
+	s32 a;
+
+	if (!value || !n)
+		return 0;
+
+	a = value >> (n - 1);
 	if (a && a != -1)
 		return value < 0 ? 1 << (n - 1) : (1 << (n - 1)) - 1;
 	return value & ((1 << n) - 1);
drivers/hid/hid-input.c +17 -1
index 3399953256d8..1c41a6297d3b 100644
@@ -718,7 +718,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
 
 		switch (usage->hid) {
 		/* These usage IDs map directly to the usage codes. */
-		case HID_GD_X: case HID_GD_Y: case HID_GD_Z:
+		case HID_GD_X: case HID_GD_Y:
 		case HID_GD_RX: case HID_GD_RY: case HID_GD_RZ:
 			if (field->flags & HID_MAIN_ITEM_RELATIVE)
 				map_rel(usage->hid & 0xf);
@@ -726,6 +726,22 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel
 				map_abs_clear(usage->hid & 0xf);
 			break;
 
+		case HID_GD_Z:
+			/* HID_GD_Z is mapped to ABS_DISTANCE for stylus/pen */
+			if (field->flags & HID_MAIN_ITEM_RELATIVE) {
+				map_rel(usage->hid & 0xf);
+			} else {
+				if (field->application == HID_DG_PEN ||
+				    field->physical == HID_DG_PEN ||
+				    field->logical == HID_DG_STYLUS ||
+				    field->physical == HID_DG_STYLUS ||
+				    field->application == HID_DG_DIGITIZER)
+					map_abs_clear(ABS_DISTANCE);
+				else
+					map_abs_clear(usage->hid & 0xf);
+			}
+			break;
+
 		case HID_GD_WHEEL:
 			if (field->flags & HID_MAIN_ITEM_RELATIVE) {
 				set_bit(REL_WHEEL, input->relbit);
drivers/hid/hid-logitech-dj.c +23 -33

123 lines not on this page · raw message

drivers/hid/hid-quirks.c +9 -0
index ee99f5b3342d..0d15148d5253 100644
@@ -220,6 +220,15 @@ static const struct hid_device_id hid_quirks[] = {
  * used as a driver. See hid_scan_report().
  */
 static const struct hid_device_id hid_have_special_driver[] = {
+#if IS_ENABLED(CONFIG_APPLEDISPLAY)
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9218) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9219) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921c) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921d) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9222) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9226) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9236) },
+#endif
 #if IS_ENABLED(CONFIG_HID_A4TECH)
 	{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) },
drivers/hwmon/applesmc.c +17 -17
index 79b498f816fe..ceeb3f891608 100644
@@ -741,7 +741,7 @@ static void applesmc_idev_poll(struct input_dev *idev)
 static ssize_t applesmc_name_show(struct device *dev,
 				   struct device_attribute *attr, char *buf)
 {
-	return snprintf(buf, PAGE_SIZE, "applesmc\n");
+	return sysfs_emit(buf, "applesmc\n");
 }
 
 static ssize_t applesmc_position_show(struct device *dev,
@@ -763,8 +763,8 @@ static ssize_t applesmc_position_show(struct device *dev,
 out:
 	if (ret)
 		return ret;
-	else
-		return snprintf(buf, PAGE_SIZE, "(%d,%d,%d)\n", x, y, z);
+
+	return sysfs_emit(buf, "(%d,%d,%d)\n", x, y, z);
 }
 
 static ssize_t applesmc_light_show(struct device *dev,
@@ -804,8 +804,8 @@ static ssize_t applesmc_light_show(struct device *dev,
 out:
 	if (ret)
 		return ret;
-	else
-		return snprintf(sysfsbuf, PAGE_SIZE, "(%d,%d)\n", left, right);
+
+	return sysfs_emit(sysfsbuf, "(%d,%d)\n", left, right);
 }
 
 /* Displays sensor key as label */
@@ -814,7 +814,7 @@ static ssize_t applesmc_show_sensor_label(struct device *dev,
 {
 	const char *key = smcreg.index[to_index(devattr)];
 
-	return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", key);
+	return sysfs_emit(sysfsbuf, "%s\n", key);
 }
 
 /* Displays degree Celsius * 1000 */
@@ -832,7 +832,7 @@ static ssize_t applesmc_show_temperature(struct device *dev,
 
 	temp = 250 * (value >> 6);
 
-	return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", temp);
+	return sysfs_emit(sysfsbuf, "%d\n", temp);
 }
 
 static ssize_t applesmc_show_fan_speed(struct device *dev,
@@ -851,7 +851,7 @@ static ssize_t applesmc_show_fan_speed(struct device *dev,
 		return ret;
 
 	speed = ((buffer[0] << 8 | buffer[1]) >> 2);
-	return snprintf(sysfsbuf, PAGE_SIZE, "%u\n", speed);
+	return sysfs_emit(sysfsbuf, "%u\n", speed);
 }
 
 static ssize_t applesmc_store_fan_speed(struct device *dev,
@@ -891,7 +891,7 @@ static ssize_t applesmc_show_fan_manual(struct device *dev,
 		return ret;
 
 	manual = ((buffer[0] << 8 | buffer[1]) >> to_index(attr)) & 0x01;
-	return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", manual);
+	return sysfs_emit(sysfsbuf, "%d\n", manual);
 }
 
 static ssize_t applesmc_store_fan_manual(struct device *dev,
@@ -943,14 +943,14 @@ static ssize_t applesmc_show_fan_position(struct device *dev,
 
 	if (ret)
 		return ret;
-	else
-		return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", buffer+4);
+
+	return sysfs_emit(sysfsbuf, "%s\n", buffer + 4);
 }
 
 static ssize_t applesmc_calibrate_show(struct device *dev,
 				struct device_attribute *attr, char *sysfsbuf)
 {
-	return snprintf(sysfsbuf, PAGE_SIZE, "(%d,%d)\n", rest_x, rest_y);
+	return sysfs_emit(sysfsbuf, "(%d,%d)\n", rest_x, rest_y);
 }
 
 static ssize_t applesmc_calibrate_store(struct device *dev,
@@ -992,7 +992,7 @@ static ssize_t applesmc_key_count_show(struct device *dev,
 
 	count = ((u32)buffer[0]<<24) + ((u32)buffer[1]<<16) +
 						((u32)buffer[2]<<8) + buffer[3];
-	return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", count);
+	return sysfs_emit(sysfsbuf, "%d\n", count);
 }
 
 static ssize_t applesmc_key_at_index_read_show(struct device *dev,
@@ -1020,7 +1020,7 @@ static ssize_t applesmc_key_at_index_data_length_show(struct device *dev,
 	if (IS_ERR(entry))
 		return PTR_ERR(entry);
 
-	return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", entry->len);
+	return sysfs_emit(sysfsbuf, "%d\n", entry->len);
 }
 
 static ssize_t applesmc_key_at_index_type_show(struct device *dev,
@@ -1032,7 +1032,7 @@ static ssize_t applesmc_key_at_index_type_show(struct device *dev,
 	if (IS_ERR(entry))
 		return PTR_ERR(entry);
 
-	return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", entry->type);
+	return sysfs_emit(sysfsbuf, "%s\n", entry->type);
 }
 
 static ssize_t applesmc_key_at_index_name_show(struct device *dev,
@@ -1044,13 +1044,13 @@ static ssize_t applesmc_key_at_index_name_show(struct device *dev,
 	if (IS_ERR(entry))
 		return PTR_ERR(entry);
 
-	return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", entry->key);
+	return sysfs_emit(sysfsbuf, "%s\n", entry->key);
 }
 
 static ssize_t applesmc_key_at_index_show(struct device *dev,
 				struct device_attribute *attr, char *sysfsbuf)
 {
-	return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", key_at_index);
+	return sysfs_emit(sysfsbuf, "%d\n", key_at_index);
 }
 
 static ssize_t applesmc_key_at_index_store(struct device *dev,
drivers/hwmon/ibmpex.c +7 -2
index fe90f0536d76..235d56e96879 100644
@@ -282,6 +282,9 @@ static ssize_t ibmpex_high_low_store(struct device *dev,
 {
 	struct ibmpex_bmc_data *data = dev_get_drvdata(dev);
 
+	if (!data)
+		return -ENODEV;
+
 	ibmpex_reset_high_low_data(data);
 
 	return count;
@@ -514,6 +517,9 @@ static void ibmpex_bmc_delete(struct ibmpex_bmc_data *data)
 {
 	int i, j;
 
+	hwmon_device_unregister(data->hwmon_dev);
+	dev_set_drvdata(data->bmc_device, NULL);
+
 	device_remove_file(data->bmc_device,
 			   &sensor_dev_attr_reset_high_low.dev_attr);
 	device_remove_file(data->bmc_device, &sensor_dev_attr_name.dev_attr);
@@ -527,8 +533,7 @@ static void ibmpex_bmc_delete(struct ibmpex_bmc_data *data)
 		}
 
 	list_del(&data->list);
-	dev_set_drvdata(data->bmc_device, NULL);
-	hwmon_device_unregister(data->hwmon_dev);
+
 	ipmi_destroy_user(data->user);
 	kfree(data->sensors);
 	kfree(data);
drivers/hwmon/ina209.c +3 -3
index f4c7b5f76359..fc3007c3e85c 100644
@@ -259,7 +259,7 @@ static ssize_t ina209_interval_show(struct device *dev,
 {
 	struct ina209_data *data = dev_get_drvdata(dev);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", data->update_interval);
+	return sysfs_emit(buf, "%d\n", data->update_interval);
 }
 
 /*
@@ -343,7 +343,7 @@ static ssize_t ina209_value_show(struct device *dev,
 		return PTR_ERR(data);
 
 	val = ina209_from_reg(attr->index, data->regs[attr->index]);
-	return snprintf(buf, PAGE_SIZE, "%ld\n", val);
+	return sysfs_emit(buf, "%ld\n", val);
 }
 
 static ssize_t ina209_alarm_show(struct device *dev,
@@ -363,7 +363,7 @@ static ssize_t ina209_alarm_show(struct device *dev,
 	 * All alarms are in the INA209_STATUS register. To avoid a long
 	 * switch statement, the mask is passed in attr->index
 	 */
-	return snprintf(buf, PAGE_SIZE, "%u\n", !!(status & mask));
+	return sysfs_emit(buf, "%u\n", !!(status & mask));
 }
 
 /* Shunt voltage, history, limits, alarms */
drivers/hwmon/ina2xx.c +1 -1
index ca97f9e931bc..84a03cfe1fed 100644
@@ -386,7 +386,7 @@ static ssize_t ina226_alert_show(struct device *dev,
 		val = ina226_reg_to_alert(data, attr->index, regval);
 	}
 
-	ret = snprintf(buf, PAGE_SIZE, "%d\n", val);
+	ret = sysfs_emit(buf, "%d\n", val);
 abort:
 	mutex_unlock(&data->config_lock);
 	return ret;
drivers/hwmon/ina3221.c +1 -1
index 836e7579e166..7e6720b0157f 100644
@@ -698,7 +698,7 @@ static ssize_t ina3221_shunt_show(struct device *dev,
 	unsigned int channel = sd_attr->index;
 	struct ina3221_input *input = &ina->inputs[channel];
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", input->shunt_resistor);
+	return sysfs_emit(buf, "%d\n", input->shunt_resistor);
 }
 
 static ssize_t ina3221_shunt_store(struct device *dev,
drivers/hwmon/lineage-pem.c +4 -4
index c83eb2fd80eb..1109fffa76fb 100644
@@ -280,7 +280,7 @@ static ssize_t pem_bool_show(struct device *dev, struct device_attribute *da,
 		return PTR_ERR(data);
 
 	status = data->data_string[attr->nr] & attr->index;
-	return snprintf(buf, PAGE_SIZE, "%d\n", !!status);
+	return sysfs_emit(buf, "%d\n", !!status);
 }
 
 static ssize_t pem_data_show(struct device *dev, struct device_attribute *da,
@@ -296,7 +296,7 @@ static ssize_t pem_data_show(struct device *dev, struct device_attribute *da,
 	value = pem_get_data(data->data_string, sizeof(data->data_string),
 			     attr->index);
 
-	return snprintf(buf, PAGE_SIZE, "%ld\n", value);
+	return sysfs_emit(buf, "%ld\n", value);
 }
 
 static ssize_t pem_input_show(struct device *dev, struct device_attribute *da,
@@ -312,7 +312,7 @@ static ssize_t pem_input_show(struct device *dev, struct device_attribute *da,
 	value = pem_get_input(data->input_string, sizeof(data->input_string),
 			      attr->index);
 
-	return snprintf(buf, PAGE_SIZE, "%ld\n", value);
+	return sysfs_emit(buf, "%ld\n", value);
 }
 
 static ssize_t pem_fan_show(struct device *dev, struct device_attribute *da,
@@ -328,7 +328,7 @@ static ssize_t pem_fan_show(struct device *dev, struct device_attribute *da,
 	value = pem_get_fan(data->fan_speed, sizeof(data->fan_speed),
 			    attr->index);
 
-	return snprintf(buf, PAGE_SIZE, "%ld\n", value);
+	return sysfs_emit(buf, "%ld\n", value);
 }
 
 /* Voltages */
drivers/hwmon/ltc2945.c +2 -2
index 65d792f18425..c06ab7317431 100644
@@ -226,7 +226,7 @@ static ssize_t ltc2945_value_show(struct device *dev,
 	value = ltc2945_reg_to_val(dev, attr->index);
 	if (value < 0)
 		return value;
-	return snprintf(buf, PAGE_SIZE, "%lld\n", value);
+	return sysfs_emit(buf, "%lld\n", value);
 }
 
 static ssize_t ltc2945_value_store(struct device *dev,
@@ -335,7 +335,7 @@ static ssize_t ltc2945_bool_show(struct device *dev,
 	if (fault)		/* Clear reported faults in chip register */
 		regmap_update_bits(regmap, LTC2945_FAULT, attr->index, 0);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", !!fault);
+	return sysfs_emit(buf, "%d\n", !!fault);
 }
 
 /* Input voltages */
drivers/hwmon/ltc2990.c +1 -1
index 78b191b26bb2..c126fc3e3449 100644
@@ -147,7 +147,7 @@ static ssize_t ltc2990_value_show(struct device *dev,
 	if (unlikely(ret < 0))
 		return ret;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", value);
+	return sysfs_emit(buf, "%d\n", value);
 }
 
 static umode_t ltc2990_attrs_visible(struct kobject *kobj,
drivers/hwmon/ltc4151.c +1 -1
index 321f54e237bd..13b85367a21f 100644
@@ -128,7 +128,7 @@ static ssize_t ltc4151_value_show(struct device *dev,
 		return PTR_ERR(data);
 
 	value = ltc4151_get_value(data, attr->index);
-	return snprintf(buf, PAGE_SIZE, "%d\n", value);
+	return sysfs_emit(buf, "%d\n", value);
 }
 
 /*
drivers/hwmon/ltc4215.c +4 -4
index 7cef3cb2962b..1d18c212054f 100644
@@ -139,7 +139,7 @@ static ssize_t ltc4215_voltage_show(struct device *dev,
 	struct sensor_device_attribute *attr = to_sensor_dev_attr(da);
 	const int voltage = ltc4215_get_voltage(dev, attr->index);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", voltage);
+	return sysfs_emit(buf, "%d\n", voltage);
 }
 
 static ssize_t ltc4215_current_show(struct device *dev,
@@ -147,7 +147,7 @@ static ssize_t ltc4215_current_show(struct device *dev,
 {
 	const unsigned int curr = ltc4215_get_current(dev);
 
-	return snprintf(buf, PAGE_SIZE, "%u\n", curr);
+	return sysfs_emit(buf, "%u\n", curr);
 }
 
 static ssize_t ltc4215_power_show(struct device *dev,
@@ -159,7 +159,7 @@ static ssize_t ltc4215_power_show(struct device *dev,
 	/* current in mA * voltage in mV == power in uW */
 	const unsigned int power = abs(output_voltage * curr);
 
-	return snprintf(buf, PAGE_SIZE, "%u\n", power);
+	return sysfs_emit(buf, "%u\n", power);
 }
 
 static ssize_t ltc4215_alarm_show(struct device *dev,
@@ -170,7 +170,7 @@ static ssize_t ltc4215_alarm_show(struct device *dev,
 	const u8 reg = data->regs[LTC4215_STATUS];
 	const u32 mask = attr->index;
 
-	return snprintf(buf, PAGE_SIZE, "%u\n", !!(reg & mask));
+	return sysfs_emit(buf, "%u\n", !!(reg & mask));
 }
 
 /*
drivers/hwmon/ltc4222.c +2 -2
index 3efce6d1cb88..d2027ca5c925 100644
@@ -94,7 +94,7 @@ static ssize_t ltc4222_value_show(struct device *dev,
 	value = ltc4222_get_value(dev, attr->index);
 	if (value < 0)
 		return value;
-	return snprintf(buf, PAGE_SIZE, "%d\n", value);
+	return sysfs_emit(buf, "%d\n", value);
 }
 
 static ssize_t ltc4222_bool_show(struct device *dev,
@@ -112,7 +112,7 @@ static ssize_t ltc4222_bool_show(struct device *dev,
 	if (fault)		/* Clear reported faults in chip register */
 		regmap_update_bits(regmap, attr->nr, attr->index, 0);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", !!fault);
+	return sysfs_emit(buf, "%d\n", !!fault);
 }
 
 /* Voltages */
drivers/hwmon/ltc4260.c +2 -2
index d0beb43abf3f..75e89cec381e 100644
@@ -79,7 +79,7 @@ static ssize_t ltc4260_value_show(struct device *dev,
 	value = ltc4260_get_value(dev, attr->index);
 	if (value < 0)
 		return value;
-	return snprintf(buf, PAGE_SIZE, "%d\n", value);
+	return sysfs_emit(buf, "%d\n", value);
 }
 
 static ssize_t ltc4260_bool_show(struct device *dev,
@@ -98,7 +98,7 @@ static ssize_t ltc4260_bool_show(struct device *dev,
 	if (fault)		/* Clear reported faults in chip register */
 		regmap_update_bits(regmap, LTC4260_FAULT, attr->index, 0);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", !!fault);
+	return sysfs_emit(buf, "%d\n", !!fault);
 }
 
 /* Voltages */
drivers/hwmon/ltc4261.c +2 -2
index 1dab84b52df5..b81e9c3d297b 100644
@@ -130,7 +130,7 @@ static ssize_t ltc4261_value_show(struct device *dev,
 		return PTR_ERR(data);
 
 	value = ltc4261_get_value(data, attr->index);
-	return snprintf(buf, PAGE_SIZE, "%d\n", value);
+	return sysfs_emit(buf, "%d\n", value);
 }
 
 static ssize_t ltc4261_bool_show(struct device *dev,
@@ -147,7 +147,7 @@ static ssize_t ltc4261_bool_show(struct device *dev,
 	if (fault)		/* Clear reported faults in chip register */
 		i2c_smbus_write_byte_data(data->client, LTC4261_FAULT, ~fault);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", fault ? 1 : 0);
+	return sysfs_emit(buf, "%d\n", fault ? 1 : 0);
 }
 
 /*
drivers/hwmon/max16065.c +10 -9
index b4c519e52fff..5787db933fad 100644
@@ -195,7 +195,7 @@ static ssize_t max16065_alarm_show(struct device *dev,
 		i2c_smbus_write_byte_data(data->client,
 					  MAX16065_FAULT(attr2->nr), val);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", !!val);
+	return sysfs_emit(buf, "%d\n", !!val);
 }
 
 static ssize_t max16065_input_show(struct device *dev,
@@ -208,20 +208,21 @@ static ssize_t max16065_input_show(struct device *dev,
 	if (unlikely(adc < 0))
 		return adc;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n",
-			ADC_TO_MV(adc, data->range[attr->index]));
+	return sysfs_emit(buf, "%d\n",
+			  ADC_TO_MV(adc, data->range[attr->index]));
 }
 
 static ssize_t max16065_current_show(struct device *dev,
 				     struct device_attribute *da, char *buf)
 {
 	struct max16065_data *data = max16065_update_device(dev);
+	int curr_sense = data->curr_sense;
 
-	if (unlikely(data->curr_sense < 0))
-		return data->curr_sense;
+	if (unlikely(curr_sense < 0))
+		return curr_sense;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n",
-			ADC_TO_CURR(data->curr_sense, data->curr_gain));
+	return sysfs_emit(buf, "%d\n",
+			  ADC_TO_CURR(curr_sense, data->curr_gain));
 }
 
 static ssize_t max16065_limit_store(struct device *dev,
@@ -257,8 +258,8 @@ static ssize_t max16065_limit_show(struct device *dev,
 	struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da);
 	struct max16065_data *data = dev_get_drvdata(dev);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n",
-			data->limit[attr2->nr][attr2->index]);
+	return sysfs_emit(buf, "%d\n",
+			  data->limit[attr2->nr][attr2->index]);
 }
 
 /* Construct a sensor_device_attribute structure for each register */
drivers/hwmon/occ/common.c +35 -34

181 lines not on this page · raw message

drivers/hwmon/occ/sysfs.c +2 -2
index c73be0747e66..03b16abef67f 100644
@@ -67,7 +67,7 @@ static ssize_t occ_sysfs_show(struct device *dev,
 		return -EINVAL;
 	}
 
-	return snprintf(buf, PAGE_SIZE - 1, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t occ_error_show(struct device *dev,
@@ -77,7 +77,7 @@ static ssize_t occ_error_show(struct device *dev,
 
 	occ_update_response(occ);
 
-	return snprintf(buf, PAGE_SIZE - 1, "%d\n", occ->error);
+	return sysfs_emit(buf, "%d\n", occ->error);
 }
 
 static SENSOR_DEVICE_ATTR(occ_master, 0444, occ_sysfs_show, NULL, 0);
drivers/hwmon/pmbus/inspur-ipsps.c +14 -14
index be493182174d..b166d9c1b47e 100644
@@ -70,7 +70,7 @@ static ssize_t ipsps_string_show(struct device *dev,
 	p = memscan(data, '#', rc);
 	*p = '\0';
 
-	return snprintf(buf, PAGE_SIZE, "%s\n", data);
+	return sysfs_emit(buf, "%s\n", data);
 }
 
 static ssize_t ipsps_fw_version_show(struct device *dev,
@@ -91,9 +91,9 @@ static ssize_t ipsps_fw_version_show(struct device *dev,
 	if (rc != 6)
 		return -EPROTO;
 
-	return snprintf(buf, PAGE_SIZE, "%u.%02u%u-%u.%02u\n",
-			data[1], data[2]/* < 100 */, data[3]/*< 10*/,
-			data[4], data[5]/* < 100 */);
+	return sysfs_emit(buf, "%u.%02u%u-%u.%02u\n",
+			  data[1], data[2]/* < 100 */, data[3]/*< 10*/,
+			  data[4], data[5]/* < 100 */);
 }
 
 static ssize_t ipsps_mode_show(struct device *dev,
@@ -111,19 +111,19 @@ static ssize_t ipsps_mode_show(struct device *dev,
 
 	switch (rc) {
 	case MODE_ACTIVE:
-		return snprintf(buf, PAGE_SIZE, "[%s] %s %s\n",
-				MODE_ACTIVE_STRING,
-				MODE_STANDBY_STRING, MODE_REDUNDANCY_STRING);
+		return sysfs_emit(buf, "[%s] %s %s\n",
+				  MODE_ACTIVE_STRING,
+				  MODE_STANDBY_STRING, MODE_REDUNDANCY_STRING);
 	case MODE_STANDBY:
-		return snprintf(buf, PAGE_SIZE, "%s [%s] %s\n",
-				MODE_ACTIVE_STRING,
-				MODE_STANDBY_STRING, MODE_REDUNDANCY_STRING);
+		return sysfs_emit(buf, "%s [%s] %s\n",
+				  MODE_ACTIVE_STRING,
+				  MODE_STANDBY_STRING, MODE_REDUNDANCY_STRING);
 	case MODE_REDUNDANCY:
-		return snprintf(buf, PAGE_SIZE, "%s %s [%s]\n",
-				MODE_ACTIVE_STRING,
-				MODE_STANDBY_STRING, MODE_REDUNDANCY_STRING);
+		return sysfs_emit(buf, "%s %s [%s]\n",
+				  MODE_ACTIVE_STRING,
+				  MODE_STANDBY_STRING, MODE_REDUNDANCY_STRING);
 	default:
-		return snprintf(buf, PAGE_SIZE, "unspecified\n");
+		return sysfs_emit(buf, "unspecified\n");
 	}
 }
 
drivers/hwmon/pmbus/pmbus_core.c +4 -4
index b795c90a46d9..e90ab980b836 100644
@@ -962,7 +962,7 @@ static ssize_t pmbus_show_boolean(struct device *dev,
 	val = pmbus_get_boolean(client, boolean, attr->index);
 	if (val < 0)
 		return val;
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t pmbus_show_sensor(struct device *dev,
@@ -978,7 +978,7 @@ static ssize_t pmbus_show_sensor(struct device *dev,
 	if (sensor->data < 0)
 		ret = sensor->data;
 	else
-		ret = snprintf(buf, PAGE_SIZE, "%lld\n", pmbus_reg2data(data, sensor));
+		ret = sysfs_emit(buf, "%lld\n", pmbus_reg2data(data, sensor));
 	mutex_unlock(&data->update_lock);
 	return ret;
 }
@@ -1014,7 +1014,7 @@ static ssize_t pmbus_show_label(struct device *dev,
 {
 	struct pmbus_label *label = to_pmbus_label(da);
 
-	return snprintf(buf, PAGE_SIZE, "%s\n", label->label);
+	return sysfs_emit(buf, "%s\n", label->label);
 }
 
 static int pmbus_add_attribute(struct pmbus_data *data, struct attribute *attr)
@@ -2054,7 +2054,7 @@ static ssize_t pmbus_show_samples(struct device *dev,
 	if (val < 0)
 		return val;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t pmbus_set_samples(struct device *dev,
drivers/hwmon/s3c-hwmon.c +2 -2
index f2703c5460d0..70ae665db477 100644
@@ -166,7 +166,7 @@ static ssize_t s3c_hwmon_ch_show(struct device *dev,
 	ret *= cfg->mult;
 	ret = DIV_ROUND_CLOSEST(ret, cfg->div);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", ret);
+	return sysfs_emit(buf, "%d\n", ret);
 }
 
 /**
@@ -187,7 +187,7 @@ static ssize_t s3c_hwmon_label_show(struct device *dev,
 
 	cfg = pdata->in[sen_attr->index];
 
-	return snprintf(buf, PAGE_SIZE, "%s\n", cfg->name);
+	return sysfs_emit(buf, "%s\n", cfg->name);
 }
 
 /**
drivers/hwmon/sch5627.c +12 -12
index 039644263101..a7e0d7bcf923 100644
@@ -195,7 +195,7 @@ static int reg_to_rpm(u16 reg)
 static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
 	char *buf)
 {
-	return snprintf(buf, PAGE_SIZE, "%s\n", DEVNAME);
+	return sysfs_emit(buf, "%s\n", DEVNAME);
 }
 
 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
@@ -209,7 +209,7 @@ static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
 		return PTR_ERR(data);
 
 	val = reg_to_temp(data->temp[attr->index]);
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t temp_fault_show(struct device *dev,
@@ -221,7 +221,7 @@ static ssize_t temp_fault_show(struct device *dev,
 	if (IS_ERR(data))
 		return PTR_ERR(data);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", data->temp[attr->index] == 0);
+	return sysfs_emit(buf, "%d\n", data->temp[attr->index] == 0);
 }
 
 static ssize_t temp_max_show(struct device *dev,
@@ -232,7 +232,7 @@ static ssize_t temp_max_show(struct device *dev,
 	int val;
 
 	val = reg_to_temp_limit(data->temp_max[attr->index]);
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t temp_crit_show(struct device *dev,
@@ -243,7 +243,7 @@ static ssize_t temp_crit_show(struct device *dev,
 	int val;
 
 	val = reg_to_temp_limit(data->temp_crit[attr->index]);
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
@@ -260,7 +260,7 @@ static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
 	if (val < 0)
 		return val;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t fan_fault_show(struct device *dev,
@@ -272,8 +272,8 @@ static ssize_t fan_fault_show(struct device *dev,
 	if (IS_ERR(data))
 		return PTR_ERR(data);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n",
-			data->fan[attr->index] == 0xffff);
+	return sysfs_emit(buf, "%d\n",
+			  data->fan[attr->index] == 0xffff);
 }
 
 static ssize_t fan_min_show(struct device *dev,
@@ -285,7 +285,7 @@ static ssize_t fan_min_show(struct device *dev,
 	if (val < 0)
 		return val;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t in_show(struct device *dev, struct device_attribute *devattr,
@@ -301,7 +301,7 @@ static ssize_t in_show(struct device *dev, struct device_attribute *devattr,
 	val = DIV_ROUND_CLOSEST(
 		data->in[attr->index] * SCH5627_REG_IN_FACTOR[attr->index],
 		10000);
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t in_label_show(struct device *dev,
@@ -309,8 +309,8 @@ static ssize_t in_label_show(struct device *dev,
 {
 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
 
-	return snprintf(buf, PAGE_SIZE, "%s\n",
-			SCH5627_IN_LABELS[attr->index]);
+	return sysfs_emit(buf, "%s\n",
+			  SCH5627_IN_LABELS[attr->index]);
 }
 
 static DEVICE_ATTR_RO(name);
drivers/hwmon/sch5636.c +10 -10
index 200bb2bfc986..5683a38740f6 100644
@@ -160,7 +160,7 @@ static int reg_to_rpm(u16 reg)
 static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
 			 char *buf)
 {
-	return snprintf(buf, PAGE_SIZE, "%s\n", DEVNAME);
+	return sysfs_emit(buf, "%s\n", DEVNAME);
 }
 
 static ssize_t in_value_show(struct device *dev,
@@ -176,7 +176,7 @@ static ssize_t in_value_show(struct device *dev,
 	val = DIV_ROUND_CLOSEST(
 		data->in[attr->index] * SCH5636_REG_IN_FACTORS[attr->index],
 		255);
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t in_label_show(struct device *dev,
@@ -184,8 +184,8 @@ static ssize_t in_label_show(struct device *dev,
 {
 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
 
-	return snprintf(buf, PAGE_SIZE, "%s\n",
-			SCH5636_IN_LABELS[attr->index]);
+	return sysfs_emit(buf, "%s\n",
+			  SCH5636_IN_LABELS[attr->index]);
 }
 
 static ssize_t temp_value_show(struct device *dev,
@@ -199,7 +199,7 @@ static ssize_t temp_value_show(struct device *dev,
 		return PTR_ERR(data);
 
 	val = (data->temp_val[attr->index] - 64) * 1000;
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t temp_fault_show(struct device *dev,
@@ -213,7 +213,7 @@ static ssize_t temp_fault_show(struct device *dev,
 		return PTR_ERR(data);
 
 	val = (data->temp_ctrl[attr->index] & SCH5636_TEMP_WORKING) ? 0 : 1;
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t temp_alarm_show(struct device *dev,
@@ -227,7 +227,7 @@ static ssize_t temp_alarm_show(struct device *dev,
 		return PTR_ERR(data);
 
 	val = (data->temp_ctrl[attr->index] & SCH5636_TEMP_ALARM) ? 1 : 0;
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t fan_value_show(struct device *dev,
@@ -244,7 +244,7 @@ static ssize_t fan_value_show(struct device *dev,
 	if (val < 0)
 		return val;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t fan_fault_show(struct device *dev,
@@ -258,7 +258,7 @@ static ssize_t fan_fault_show(struct device *dev,
 		return PTR_ERR(data);
 
 	val = (data->fan_ctrl[attr->index] & SCH5636_FAN_NOT_PRESENT) ? 1 : 0;
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t fan_alarm_show(struct device *dev,
@@ -272,7 +272,7 @@ static ssize_t fan_alarm_show(struct device *dev,
 		return PTR_ERR(data);
 
 	val = (data->fan_ctrl[attr->index] & SCH5636_FAN_ALARM) ? 1 : 0;
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static struct sensor_device_attribute sch5636_attr[] = {
drivers/hwmon/smm665.c +2 -2
index b6cbe9810a1b..62906d9c4b86 100644
@@ -351,7 +351,7 @@ static ssize_t smm665_show_crit_alarm(struct device *dev,
 	if (data->faults & (1 << attr->index))
 		val = 1;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 static ssize_t smm665_show_input(struct device *dev,
@@ -366,7 +366,7 @@ static ssize_t smm665_show_input(struct device *dev,
 		return PTR_ERR(data);
 
 	val = smm665_convert(data->adc[adc], adc);
-	return snprintf(buf, PAGE_SIZE, "%d\n", val);
+	return sysfs_emit(buf, "%d\n", val);
 }
 
 #define SMM665_SHOW(what) \
drivers/hwmon/stts751.c +10 -10
index 6928be6dbe4e..0ed28408aa07 100644
@@ -387,7 +387,7 @@ static ssize_t max_alarm_show(struct device *dev,
 	if (ret < 0)
 		return ret;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", priv->max_alert);
+	return sysfs_emit(buf, "%d\n", priv->max_alert);
 }
 
 static ssize_t min_alarm_show(struct device *dev,
@@ -404,7 +404,7 @@ static ssize_t min_alarm_show(struct device *dev,
 	if (ret < 0)
 		return ret;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", priv->min_alert);
+	return sysfs_emit(buf, "%d\n", priv->min_alert);
 }
 
 static ssize_t input_show(struct device *dev, struct device_attribute *attr,
@@ -419,7 +419,7 @@ static ssize_t input_show(struct device *dev, struct device_attribute *attr,
 	if (ret < 0)
 		return ret;
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", priv->temp);
+	return sysfs_emit(buf, "%d\n", priv->temp);
 }
 
 static ssize_t therm_show(struct device *dev, struct device_attribute *attr,
@@ -427,7 +427,7 @@ static ssize_t therm_show(struct device *dev, struct device_attribute *attr,
 {
 	struct stts751_priv *priv = dev_get_drvdata(dev);
 
-	return snprintf(buf, PAGE_SIZE, "%d\n", priv->therm);
+	return sysfs_emit(buf, "%d\n", priv->therm);
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/hwmon/vexpress-hwmon.c +6 -6
index e7109657129a..44d798be3d59 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/w83791d.c +11 -6
index 3c1be2c11fdf..e51635590498 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/w83l786ng.c +18 -8
index 542afff1423b..796ab47d3cb7 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/xgene-hwmon.c +7 -7
index 15889bcc8587..29457877dd46 100644

Lines of this file are not shown. View the raw message.

drivers/hwtracing/intel_th/core.c +15 -5
index 9cb8c7d13d46..68af130712bc 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-amd-mp2-pci.c +4 -1
index cd3fd5ee5f65..a52333d5ee0b 100644

Lines of this file are not shown. View the raw message.

drivers/i3c/master.c +4 -4
index 203b7497b52d..aff869854ef0 100644

Lines of this file are not shown. View the raw message.

drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h +23 -1
index 6cf8c3321d6a..f6df7ed86b4b 100644

Lines of this file are not shown. View the raw message.

drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c +52 -19

71 lines not on this page · raw message

drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +20 -12
index 2c528425b03b..9ee1b29cfc27 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/core/addr.c +10 -23
index 779e9af479fd..6e02b8d1abb0 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/core/cma.c +3 -0
index 0603d069de92..61edd923114e 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/core/device.c +5 -0
index 3848fe0449a4..82c059cad1c8 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/core/verbs.c +1 -1
index 4fcabe5a84be..4a28f30c39f1 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/bnxt_re/ib_verbs.c +1 -6
index 089d7de829a0..5d0c1241b948 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +1 -1
index 0d61a1563f48..f9b56744d674 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/bnxt_re/qplib_res.c +3 -5
index be98b23488b4..8547a8512541 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/efa/efa_verbs.c +0 -4
index 9cf051818725..d7fccffeeb58 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/ulp/rtrs/rtrs-srv.c +1 -1
index 2b315974f478..3e6f12f98a89 100644

Lines of this file are not shown. View the raw message.

drivers/input/serio/i8042-acpipnpio.h +7 -0
index 194d899f3ef8..a2a5c3f5c42e 100644

Lines of this file are not shown. View the raw message.

drivers/input/touchscreen/ti_am335x_tsc.c +1 -1
index 83e685557a19..98e6bfb07717 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/amd/init.c +9 -19
index 8ac0ac915efd..1ba6adb5b912 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +17 -10
index 91d9c4d98f39..af1191a81e29 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/arm/arm-smmu/qcom_iommu.c +4 -6
index 37c8f75a3580..369a34cb75b5 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/exynos-iommu.c +3 -6
index 0cdb5493a464..b4c68bb9f515 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/ipmmu-vmsa.c +2 -0
index bae6c7078ec9..c64467635a62 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/mtk_iommu.c +2 -0
index 051815c9d2bb..d798e9e1105a 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/mtk_iommu_v1.c +2 -0
index 2abbdd71d8d9..acb984c4044d 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/omap-iommu.c +1 -1
index ff2c692c0db4..5b08bbf09b65 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/omap-iommu.h +0 -2
index 18ee713ede78..0411db302e79 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/sun50i-iommu.c +2 -0
index f31f66b12366..1a77bd46b458 100644

Lines of this file are not shown. View the raw message.

drivers/irqchip/qcom-irq-combiner.c +1 -1
index aa54bfcb0433..7783cbdb8dc0 100644

Lines of this file are not shown. View the raw message.

drivers/leds/leds-lp50xx.c +56 -39

95 lines not on this page · raw message

drivers/leds/leds-netxbig.c +26 -10
index c2cc45e19c4b..1083c71fe3bb 100644

Lines of this file are not shown. View the raw message.

drivers/macintosh/mac_hid.c +2 -1
index 28b8581b44dd..b622df9f4b23 100644

Lines of this file are not shown. View the raw message.

drivers/md/dm-ebs-target.c +1 -1
index f6e142934b77..ecd8782d8158 100644

Lines of this file are not shown. View the raw message.

drivers/md/dm-log-writes.c +1 -0
index e3d35c6c9f71..ec194ed87d62 100644

Lines of this file are not shown. View the raw message.

drivers/md/dm-raid.c +2 -0
index 3c0960f294fb..aa70f668b5cc 100644

Lines of this file are not shown. View the raw message.

drivers/media/cec/core/cec-core.c +1 -0
index 0a3345e1a0f3..2c58faba5f7b 100644

Lines of this file are not shown. View the raw message.

drivers/media/i2c/adv7604.c +1 -3
index 202215a69526..9eeb7a4d1f80 100644

Lines of this file are not shown. View the raw message.

drivers/media/i2c/adv7842.c +6 -5
index 6bd5ffa09bfc..d81ce7a0c8fd 100644

Lines of this file are not shown. View the raw message.

drivers/media/i2c/msp3400-kthreads.c +2 -0
index 52e506f86de5..fd9733458908 100644

Lines of this file are not shown. View the raw message.

drivers/media/i2c/tda1997x.c +0 -1
index 8476330964fc..d79221e31841 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/davinci/vpif_capture.c +2 -2
index 72a0e94e2e21..f90de09c1485 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/exynos4-is/media-dev.c +6 -4
index bd37011fb671..2ae2a0aada0d 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c +3 -1
index 1ec29f1b163a..84efc824d267 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/rcar_drif.c +1 -0
index 083dba95beaa..c5161c39c045 100644

Lines of this file are not shown. View the raw message.

drivers/media/rc/st_rc.c +1 -1
index 3237fef5d502..f5182ffd9bcb 100644

Lines of this file are not shown. View the raw message.

drivers/media/test-drivers/vidtv/vidtv_channel.c +3 -0
index f3023e91b3eb..3541155c6fc6 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/dvb-usb/dtv5100.c +5 -0
index 1c13e493322c..89b3a5a790d8 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/pvrusb2/pvrusb2-hdw.c +1 -1
index d22ce328a279..10c21580a827 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/altera-sysmgr.c +2 -0
index 59efe7d5dcaa..5fe7473f0474 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/da9055-core.c +1 -0
index 6d0af8486269..4f57766b4249 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/max77620.c +11 -4
index a6661e07035b..e3a1afa19389 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/mt6358-irq.c +1 -0
index db734f2831ff..db89da7b98f1 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/mt6397-irq.c +1 -0
index 2924919da991..e1daed7edc84 100644

Lines of this file are not shown. View the raw message.

drivers/misc/mei/hw-me-regs.h +2 -0
index b31b6dc9c38a..159a68db61e4 100644

Lines of this file are not shown. View the raw message.

drivers/misc/mei/pci-me.c +2 -0
index a9bc13570bae..c03ca7c466ee 100644

Lines of this file are not shown. View the raw message.

drivers/misc/vmw_balloon.c +1 -2
index b837e7eba5f7..be1004a31664 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/lpddr/lpddr_cmds.c +4 -4
index ee063baed136..5c39c9c65323 100644

Lines of this file are not shown. View the raw message.

drivers/net/dsa/b53/b53_common.c +3 -0
index 416ed1ca1d52..b80e4216f98c 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/3com/3c59x.c +1 -1
index 741c67e546d4..822208dac22c 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/broadcom/b44.c +3 -0
index 7ad9a4715691..f29a38675afb 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/broadcom/bnxt/bnxt.c +48 -39

87 lines not on this page · raw message

drivers/net/ethernet/broadcom/bnxt/bnxt.h +1 -3
index b7b07beb17ff..c2122d5cda62 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +3 -0
index aa987cad7cad..99b5b956ed8f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +2 -2
index 15dca78fd736..98abb47014b7 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/e1000/e1000_main.c +9 -1
index 5e28cf4fa2cd..0b7502902913 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/i40e/i40e_main.c +1 -0
index f11cb3176cab..f11d6166186f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/iavf/iavf_main.c +2 -2
index 65259722a572..4ed93c7f81d2 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c +8 -0
index 9b6938dde267..6e547e177511 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c +107 -15

122 lines not on this page · raw message

drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h +2 -0
index 97252a85d65e..603ef441f1b2 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en.h +2 -2
index b0229ceae234..f41dc9bb3660 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c +3 -1
index ae90d533a350..923e10d06f3d 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/port.c +2 -1
index 4bb219565c58..b62c3514ddf1 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c +2 -0
index ee308d9aedcd..d8a4bbb8e899 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +9 -8
index d2887ae508bb..e22ee1336d74 100644

Lines of this file are not shown. View the raw message.

drivers/net/fjes/fjes_hw.c +9 -3
index a1405a3e294c..0409866bc025 100644

Lines of this file are not shown. View the raw message.

drivers/net/ipvlan/ipvlan_core.c +3 -0
index d04b1450875b..a113a06c98a5 100644

Lines of this file are not shown. View the raw message.

drivers/net/mdio/mdio-aspeed.c +45 -32

77 lines not on this page · raw message

drivers/net/team/team.c +1 -1
index c05a60f23677..03cc3da8c3c1 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/pegasus.c +2 -0
index 138279bbb544..e3ddb990dc54 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/rtl8150.c +2 -0
index eb4f3f8a1906..185b8c8b19ba 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/sr9700.c +2 -2
index 1ec11a08820d..d4f0dfe1175a 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c +2 -7
index 025619cd14e8..acd6743f3827 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c +19 -8
index c9df185dc3f4..00493a239117 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/st/cw1200/bh.c +4 -2
index 361fef6e1eea..61916e202f20 100644

Lines of this file are not shown. View the raw message.

drivers/nfc/pn533/usb.c +1 -1
index 68eb1253f888..77ada0a5c739 100644

Lines of this file are not shown. View the raw message.

drivers/nvme/host/fc.c +4 -2
index e37e7207c60c..dbc9173ec0f8 100644

Lines of this file are not shown. View the raw message.

drivers/parisc/gsc.c +3 -1
index ec175ae99873..11b750f12ee9 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pci-keystone.c +2 -0
index 6245c179ce49..6844c4652e70 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pcie-designware.h +1 -1
index 9d2f511f13fa..2dfeec79c671 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/pcie-brcmstb.c +3 -7
index 85be07e8b418..a5454b39672f 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci-driver.c +4 -0
index a16a03b8f66f..fe15e59e7c56 100644

Lines of this file are not shown. View the raw message.

drivers/phy/broadcom/phy-bcm63xx-usbh.c +3 -3
index 6c05ba8b08be..296ca55d8dfa 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-single.c +16 -9
index 9485737638b3..07bf09042045 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/qcom/pinctrl-msm.c +1 -1
index 049a34f0e13f..f72a1598de28 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/stm32/pinctrl-stm32.c +1 -1
index 6b6fdb711659..0094ccb4c63c 100644

Lines of this file are not shown. View the raw message.

drivers/platform/chrome/cros_ec_ishtp.c +1 -0
index 81364029af36..2774fbe1bbad 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/acer-wmi.c +4 -0
index ebec49957ed0..b35a0539a99c 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/asus-wmi.c +4 -4
index 265232d1b9a8..4f56f853b756 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/huawei-wmi.c +4 -0
index 23ebd0c046e1..da9f80bde794 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/ibm_rtl.c +1 -1
index 5fc665f7d9b3..10cab7bdfe15 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/msi-laptop.c +3 -0
index dfb4af759aa7..fd6b3383ac4f 100644

Lines of this file are not shown. View the raw message.

drivers/power/supply/apm_power.c +2 -1
index 9d1a7fbcaed4..50b963694559 100644

Lines of this file are not shown. View the raw message.

drivers/power/supply/wm831x_power.c +8 -2
index 18b33f14dfee..aae655109862 100644

Lines of this file are not shown. View the raw message.

drivers/powercap/powercap_sys.c +14 -8
index fe5d05da7ce7..40cf6e337bde 100644

Lines of this file are not shown. View the raw message.

drivers/pwm/pwm-bcm2835.c +25 -68

93 lines not on this page · raw message

drivers/pwm/pwm-stm32.c +1 -2
index 2ca2855255be..b8734757d884 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/core.c +25 -12
index b2d866d60651..0e2129be0226 100644

Lines of this file are not shown. View the raw message.

drivers/rpmsg/qcom_glink_native.c +8 -0
index fec59c6b6fdb..e5e0924935b9 100644

Lines of this file are not shown. View the raw message.

drivers/s390/crypto/ap_bus.c +4 -4
index 13e56a23e41e..a1903b4a7f00 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/aic94xx/aic94xx_init.c +3 -0
index 7a78606598c4..356bd3363ae3 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/ipr.c +27 -1
index 8c376736a8f5..4ae6b76c2c5e 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/iscsi_tcp.c +9 -2
index def9fac7aa4f..2a83bd5d834d 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libiscsi.c +31 -8
index bad5730bf7ab..7e82ddce5031 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libsas/sas_internal.h +0 -14
index 3ef2fde28b8e..52e09c3e2b50 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_mbx.c +2 -0
index 8b7c71e779a7..aa6a68e235c9 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_os.c +1 -13
index a6ecb4bb7456..63c3610db82f 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/sg.c +13 -7
index 646bf8e998a0..b24e80a9c8ca 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/sim710.c +2 -0
index 22302612e032..3c2a07bf9209 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/stex.c +1 -0
index fa607f218250..2b074b26db72 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/ufs/ufshcd.c +3 -1
index a212e6ad11d5..c5f41023c71b 100644

Lines of this file are not shown. View the raw message.

drivers/soc/amlogic/meson-canvas.c +2 -3
index d0329ad170d1..677a4ce1c8cb 100644

Lines of this file are not shown. View the raw message.

drivers/soc/qcom/ocmem.c +1 -1
index 8b80c8e94c77..bfebdcaf8814 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-fsl-spi.c +1 -1
index 63302e21e574..8c679402093b 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-imx.c +11 -4
index f1a0073a8700..a4e35c2f7d6e 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-xilinx.c +1 -1
index 523edfdf5dcd..d497fc4bc19e 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/comedi_fops.c +36 -6

42 lines not on this page · raw message

drivers/staging/comedi/drivers/c6xdigio.c +35 -11

46 lines not on this page · raw message

drivers/staging/comedi/drivers/multiq3.c +9 -0
index c1897aee9a9a..6292842505f5 100644

Lines of this file are not shown. View the raw message.

drivers/staging/fbtft/fbtft-core.c +2 -2
index 2c04fcff0e1c..723ca72d1bd3 100644

Lines of this file are not shown. View the raw message.

drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +4 -1
index b912ad2f4b72..1144749b4f58 100644

Lines of this file are not shown. View the raw message.

drivers/target/target_core_configfs.c +0 -1
index e6996428c07d..182a89ecc542 100644

Lines of this file are not shown. View the raw message.

drivers/target/target_core_transport.c +1 -0
index 8d294b658592..ddcfd5c17d96 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/8250/8250_pci.c +37 -0
index ea32b5c03e70..fd34fbc9cdee 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/sprd_serial.c +6 -0
index a1952e4f1fcb..e850959ecf55 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/message.c +1 -1
index d64aaff223e7..059ea576c6c1 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc2/platform.c +13 -3
index f421650cfa03..db667038c8eb 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/dwc3-of-simple.c +4 -3
index e62ecd22b3ed..32f4df566ce8 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/gadget.c +1 -1
index 7aa4a7a46233..5ea6d0c929db 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/host.c +1 -1
index 05718f6fa60d..9fa76abdaadc 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/legacy/raw_gadget.c +3 -0
index d9cbbde8ff59..a82c6e19572b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/udc/core.c +16 -1
index dd2fafc5b0c3..598053bf985d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/udc/lpc32xx_udc.c +14 -6
index 314cb5ea061a..172017998e15 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/udc/tegra-xudc.c +0 -6
index 7f159ed1fa41..ca472fde0d64 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/ohci-nxp.c +6 -14
index 106a6bcefb08..a1555bce22d0 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-dbgtty.c +6 -0
index 980235169d81..d03eea7beeca 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-hub.c +1 -1
index 05f119e7178c..a7a7f0a8488a 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-mem.c +2 -8
index e681c0dd9fbf..7220c3a55dde 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-ring.c +2 -6
index bf2787bb04ea..a337e1fda33d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci.h +14 -2
index 6bb1ddc3918c..4d4ac8ec614b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/misc/chaoskey.c +13 -3
index d99d424c05a7..50909cc9a0bb 100644

Lines of this file are not shown. View the raw message.

drivers/usb/misc/sisusbvga/sisusb_con.c +0 -21
index c63e545fb105..dfa0d5ce6012 100644

Lines of this file are not shown. View the raw message.

drivers/usb/phy/phy.c +4 -0
index 5adbf7fd24fd..3ed8d67e887f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/renesas_usbhs/pipe.c +2 -0
index 75fff2e4cbc6..56fc3ff5016f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/belkin_sa.c +17 -11
index 9bb123ab9bc9..5a6ba8bc7d9e 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ftdi_sio.c +24 -48

72 lines not on this page · raw message

drivers/usb/serial/kobil_sct.c +9 -9
index 49aacb0a327c..a1c3387b6a28 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/option.c +19 -3
index 117feb89f678..aa43c22dfce6 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/unusual_uas.h +1 -1
index 1477e31d7763..939a98c2d3f7 100644

Lines of this file are not shown. View the raw message.

drivers/usb/typec/ucsi/ucsi.c +6 -0
index 0851d93d5909..60339c746694 100644

Lines of this file are not shown. View the raw message.

drivers/usb/usbip/vhci_hcd.c +3 -3
index 2d2506c59881..e5660f0e97e8 100644

Lines of this file are not shown. View the raw message.

drivers/vhost/vsock.c +11 -4
index 7bce5f982e58..4b678dbaa93a 100644

Lines of this file are not shown. View the raw message.

drivers/video/backlight/led_bl.c +17 -1
index 1020e4405a4d..83e8d89cc485 100644

Lines of this file are not shown. View the raw message.

drivers/video/console/dummycon.c +0 -20
index 2a0d0bda7faa..f1711b2f9ff0 100644

Lines of this file are not shown. View the raw message.

drivers/video/console/sticore.c +4 -4
index 68fb531f245a..19fd3389946d 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/core/fbcon.c +21 -47

68 lines not on this page · raw message

drivers/video/fbdev/core/fbcon_rotate.c +1 -2
index ac72d4f85f7d..ef1d421c261a 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/core/tileblit.c +1 -3
index ef20824e9c7b..5b53fdda8b35 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/gbefb.c +3 -2
index 8f8ca1f88fe2..dd64eebcfc30 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/pxafb.c +6 -6
index a0db2b3d0736..be4102957c3f 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/ssd1307fb.c +3 -1
index eda448b7a0c9..fd26d368fdf5 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/tcx.c +1 -1
index 34b2e5b6e84a..befbea63e587 100644

Lines of this file are not shown. View the raw message.

drivers/virtio/virtio_balloon.c +1 -3
index 935ea2f3dac7..98e9d77911bc 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/via_wdt.c +1 -0
index eeb39f96e72e..c1ed3ce153cf 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/wdat_wdt.c +44 -21

65 lines not on this page · raw message

fs/bfs/inode.c +18 -1
index fd691e4815c5..fa4e00292585 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/extent_io.c +7 -8
index 489d370ddd60..3d0b854e0c19 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/ioctl.c +1 -3
index 9d5dfcec22de..4a35d51dfef8 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/scrub.c +5 -0
index 715a0329ba27..c8d033deb8ab 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/volumes.c +1 -0
index 9c1a7b3b84e4..2bba6e8d4374 100644

Lines of this file are not shown. View the raw message.

fs/exfat/super.c +15 -4
index dfe298bc3782..b8ddb6fb50e9 100644

Lines of this file are not shown. View the raw message.

fs/ext4/inline.c +12 -2
index f02fcaa62804..129f7ff56b43 100644

Lines of this file are not shown. View the raw message.

fs/ext4/inode.c +5 -0
index 97f7cac0d349..719d9a2bc5a7 100644

Lines of this file are not shown. View the raw message.

fs/ext4/mballoc.c +37 -21

58 lines not on this page · raw message

fs/ext4/move_extent.c +8 -10
index 661a8544d781..b1ad339165e4 100644

Lines of this file are not shown. View the raw message.

fs/ext4/super.c +4 -3
index 453e746ba361..41e49fee35e5 100644

Lines of this file are not shown. View the raw message.

fs/ext4/xattr.c +9 -29
index fa8ce1c66d12..1e0344e24266 100644

Lines of this file are not shown. View the raw message.

fs/ext4/xattr.h +10 -0
index e5e36bd11f05..cbf235422aec 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/f2fs.h +0 -3
index 622e8a816f7e..043c8ec84941 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/file.c +2 -1
index 81ebbc1d37a6..624368e3f89e 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/namei.c +4 -2
index 7be488ecb210..3f716028ca74 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/recovery.c +6 -3
index cd56af93df42..320553b45ee9 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/super.c +31 -22

53 lines not on this page · raw message

fs/f2fs/xattr.c +11 -21
index bd7099457018..ed475fd172af 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/xattr.h +6 -4
index 416d652774a3..cb8666be9b99 100644

Lines of this file are not shown. View the raw message.

fs/hfsplus/bnode.c +2 -2
index e566cea23827..7c127922ac0c 100644

Lines of this file are not shown. View the raw message.

fs/hfsplus/dir.c +6 -1
index 29a9dcfbe81f..292cc06206a1 100644

Lines of this file are not shown. View the raw message.

fs/hfsplus/inode.c +28 -4
index 7e1d889dcc07..0ba324ee7dff 100644

Lines of this file are not shown. View the raw message.

fs/jbd2/journal.c +14 -0
index 23314218fb0d..14b176d63482 100644

Lines of this file are not shown. View the raw message.

fs/jbd2/transaction.c +15 -6
index bb20d4493ded..12f936effe6d 100644

Lines of this file are not shown. View the raw message.

fs/lockd/svc4proc.c +1 -3
index b72023a6b4c1..28ba7b1460aa 100644

Lines of this file are not shown. View the raw message.

fs/lockd/svclock.c +12 -9
index 4e30f3c50970..035f885809dd 100644

Lines of this file are not shown. View the raw message.

fs/lockd/svcproc.c +1 -4
index 32784f508c81..1a4459763644 100644

Lines of this file are not shown. View the raw message.

fs/locks.c +11 -2
index ed8b3e318f97..24a82b793c66 100644

Lines of this file are not shown. View the raw message.

fs/nfs/dir.c +111 -39

150 lines not on this page · raw message

fs/nfs/inode.c +3 -3
index 3e3114a9d193..6b800df1df29 100644

Lines of this file are not shown. View the raw message.

fs/nfs/internal.h +3 -2
index 838f3a374485..fd15280e827a 100644

Lines of this file are not shown. View the raw message.

fs/nfs/namespace.c +11 -0
index 1f03445b5cb4..fc9f7b9cbf53 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4proc.c +11 -2
index e3070982a909..170e9eaf536a 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4trace.h +1 -0
index d862df9761e7..3d538cb60593 100644

Lines of this file are not shown. View the raw message.

fs/nfs/pnfs.c +1 -0
index e14cf7140bab..c5dd301c43d7 100644

Lines of this file are not shown. View the raw message.

fs/nfs/super.c +0 -26
index 7c58a1688f7f..b99f40e6b951 100644

Lines of this file are not shown. View the raw message.

fs/nfs/unlink.c +3 -3
index b27ebdccef70..5fa11e1aca4c 100644

Lines of this file are not shown. View the raw message.

fs/nfs/write.c +4 -4
index 0b05a40a21f3..a95a747fbc8d 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/blocklayout.c +5 -2
index aa9b7ae59a07..5c8f20a326d2 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/export.c +1 -1
index 37299f90b049..6d47408dd28a 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/netns.h +2 -0
index 41c750f34473..be0c8f1ce4e3 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4state.c +43 -3

46 lines not on this page · raw message

fs/nfsd/nfs4xdr.c +5 -0
index 57dc5493c860..4253778a9747 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfsctl.c +1 -2
index 2feaa49fb9fe..07e5b1b23c91 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/state.h +1 -1
index e94634d30591..477828dbfc66 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/vfs.c +1 -1
index 54be4cd9794a..7739a47356e7 100644

Lines of this file are not shown. View the raw message.

fs/nls/nls_base.c +19 -8
index a026dbd3593f..f072eb6b563f 100644

Lines of this file are not shown. View the raw message.

fs/notify/fsnotify.c +8 -1
index 9cc4ebb53504..82602157bcc0 100644

Lines of this file are not shown. View the raw message.

fs/ocfs2/alloc.c +0 -1
index 94c7acfebe18..9f61a6d64cbc 100644

Lines of this file are not shown. View the raw message.

fs/ocfs2/move_extents.c +7 -1
index 3cc28afe9815..6df8b5513bab 100644

Lines of this file are not shown. View the raw message.

fs/ocfs2/suballoc.c +10 -0
index 4f48003e4327..984bf3d24c23 100644

Lines of this file are not shown. View the raw message.

fs/overlayfs/export.c +1 -1
index f981283177ec..dd3e1969e6c8 100644

Lines of this file are not shown. View the raw message.

fs/overlayfs/overlayfs.h +1 -1
index 87b7a4a74f4e..5ac968f709a4 100644

Lines of this file are not shown. View the raw message.

fs/xfs/xfs_buf_item.c +1 -0
index a3d5ecccfc2c..deb69740d492 100644

Lines of this file are not shown. View the raw message.

include/linux/balloon_compaction.h +16 -49

65 lines not on this page · raw message

include/linux/blk_types.h +1 -4
index 40839ae52f61..11c03df4709f 100644

Lines of this file are not shown. View the raw message.

include/linux/compiler-clang.h +23 -0
index 383295e21e52..d9376e327d66 100644

Lines of this file are not shown. View the raw message.

include/linux/compiler-gcc.h +14 -0
index ae9a8e17287c..a16d182a3e95 100644

Lines of this file are not shown. View the raw message.

include/linux/console.h +0 -1
index bc2a749e6f0d..a97f277cfdfa 100644

Lines of this file are not shown. View the raw message.

include/linux/cper.h +7 -5
index 6a511a1078ca..a31e22cc839e 100644

Lines of this file are not shown. View the raw message.

include/linux/font.h +1 -0
index 4f50d736ea72..abf1442ce719 100644

Lines of this file are not shown. View the raw message.

include/linux/fs_context.h +0 -1
index 40dd74bdd9fb..9229ac6a5326 100644

Lines of this file are not shown. View the raw message.

include/linux/genalloc.h +1 -0
index 0bd581003cd5..60de63e46b33 100644

Lines of this file are not shown. View the raw message.

include/linux/ieee80211.h +2 -2
index 770408b2fdaf..f12357c7ea36 100644

Lines of this file are not shown. View the raw message.

include/linux/netdevice.h +2 -1
index d3a3e77a18df..dcf1b603cb51 100644

Lines of this file are not shown. View the raw message.

include/linux/nfs_fs.h +9 -0
index 7488864589a7..8d4f019b7af8 100644

Lines of this file are not shown. View the raw message.

include/linux/platform_data/lp855x.h +2 -2
index ab222dd05bbc..3b4a891acefe 100644

Lines of this file are not shown. View the raw message.

include/linux/rculist_nulls.h +59 -0

59 lines not on this page · raw message

include/linux/security.h +1 -1
index e32e040f094c..c75dd495be77 100644

Lines of this file are not shown. View the raw message.

include/linux/tpm.h +6 -3
index 7868e847eee0..6d9d90f01b63 100644

Lines of this file are not shown. View the raw message.

include/linux/usb/gadget.h +5 -0
index 11df3d5b40c6..8bdeced70a33 100644

Lines of this file are not shown. View the raw message.

include/linux/virtio_config.h +1 -1
index b341dd62aa4d..f971986fa0e9 100644

Lines of this file are not shown. View the raw message.

include/media/v4l2-mem2mem.h +1 -2
index 8d52c4506762..f4ba6e27ee7d 100644

Lines of this file are not shown. View the raw message.

include/net/netfilter/nf_conntrack_count.h +8 -8
index 9645b47fa7e4..115bb7e572f7 100644

Lines of this file are not shown. View the raw message.

include/net/sock.h +13 -0
index bfba1c312a55..4e5386cdb09c 100644

Lines of this file are not shown. View the raw message.

include/net/xfrm.h +3 -10
index 2c1feca28203..411949a66a83 100644

Lines of this file are not shown. View the raw message.

include/scsi/libiscsi.h +2 -0
index fa00e2543ad6..dd9b2bc1aea7 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/kd.h +1 -1
index 4616b31f84da..ee929ece4112 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/mptcp.h +1 -0
index 9762660df741..88877f63e12c 100644

Lines of this file are not shown. View the raw message.

include/uapi/sound/asound.h +1 -1
index 535a7229e1d9..eef23c761ae8 100644

Lines of this file are not shown. View the raw message.

io_uring/io_uring.c +1 -1
index 4e86da84f38a..7e228ac3342f 100644

Lines of this file are not shown. View the raw message.

kernel/dma/pool.c +1 -1
index 8396a2c5fb9a..32efef166009 100644

Lines of this file are not shown. View the raw message.

kernel/livepatch/core.c +7 -1
index 147ed154ebc7..c49042f5e71e 100644

Lines of this file are not shown. View the raw message.

kernel/locking/spinlock_debug.c +2 -2
index b9d93087ee66..80b0a9e5a468 100644

Lines of this file are not shown. View the raw message.

kernel/scs.c +1 -1
index 4ff4a7ba0094..3b531c65bdc5 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_events.c +2 -0
index 9cd97b274e6c..c9fc3c442681 100644

Lines of this file are not shown. View the raw message.

lib/crypto/aes.c +2 -2
index 827fe89922ff..59a1d964497d 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_10x18.c +1 -0
index e02f9df24d1e..5d940db626e7 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_6x10.c +1 -0
index 6e3c4b7691c8..e65df019e0d2 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_6x11.c +1 -0
index 2d22a24e816f..bd76b3f6b635 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_6x8.c +1 -0
index e7442a0d183d..06ace7792521 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_7x14.c +1 -0
index 9cc7ae2e03f7..a2f561c9fa04 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_8x16.c +1 -0
index bab25dc59e8d..06ae14088514 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_8x8.c +1 -0
index 109d0572368f..69570b8c31af 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_acorn_8x8.c +1 -0
index fb395f0d4031..18755c33d249 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_mini_4x6.c +1 -0
index 592774a90917..8d39fd447952 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_pearl_8x8.c +1 -0
index a6f95ebce950..b1678ed0017c 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_sun12x22.c +1 -0
index a5b65bd49604..91daf5ab8b6b 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_sun8x16.c +1 -0
index e577e76a6a7c..81bb4eeae04e 100644

Lines of this file are not shown. View the raw message.

lib/fonts/font_ter16x32.c +1 -0
index f7c3abb6b99e..1955d624177c 100644

Lines of this file are not shown. View the raw message.

lib/idr.c +2 -0
index da36054c3ca0..aad464c36369 100644

Lines of this file are not shown. View the raw message.

lib/vsprintf.c +3 -3
index 90372391ce90..b643012ae47f 100644

Lines of this file are not shown. View the raw message.

mm/balloon_compaction.c +5 -10
index 26de020aae7b..c187b708477b 100644

Lines of this file are not shown. View the raw message.

net/bridge/br_private.h +1 -0
index 259b43b435a9..19d77a8721fa 100644

Lines of this file are not shown. View the raw message.

net/bridge/br_vlan_tunnel.c +7 -4
index debe16720278..9e960e2ab3fa 100644

Lines of this file are not shown. View the raw message.

net/caif/cffrml.c +8 -1
index 6651a8dc62e0..d4d63586053a 100644

Lines of this file are not shown. View the raw message.

net/can/j1939/transport.c +2 -0
index c433b49f8715..25e4cdf2df22 100644

Lines of this file are not shown. View the raw message.

net/ceph/osd_client.c +9 -2
index d594cd501861..89b02b8baca3 100644

Lines of this file are not shown. View the raw message.

net/ceph/osdmap.c +67 -73

140 lines not on this page · raw message

net/core/sock.c +4 -3
index 6c93381cf0bd..963ea323362a 100644

Lines of this file are not shown. View the raw message.

net/core/sock_map.c +30 -23

53 lines not on this page · raw message

net/ethtool/ioctl.c +92 -42

134 lines not on this page · raw message

net/hsr/hsr_forward.c +2 -0
index 66df4d7cbfb1..698848e43419 100644

Lines of this file are not shown. View the raw message.

net/ipv4/arp.c +4 -3
index 6879e0b70c76..5f2788b87dfd 100644

Lines of this file are not shown. View the raw message.

net/ipv4/fib_trie.c +4 -3
index 6c53381fa36f..671178ed41d0 100644

Lines of this file are not shown. View the raw message.

net/ipv4/inet_hashtables.c +6 -2
index ac2d185c04ef..9b7c84524527 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ip_output.c +2 -1
index 1e430e135aa6..70c316c0537f 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ipcomp.c +2 -0
index b42683212c65..1ebfab260708 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ping.c +1 -3
index 1bad851b3fc3..69612770006e 100644

Lines of this file are not shown. View the raw message.

net/ipv4/raw.c +3 -0
index 650da4d8f7ad..5a8d5ebe6590 100644

Lines of this file are not shown. View the raw message.

net/ipv6/calipso.c +2 -1
index 59997e5d1343..c2e716601ed3 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_gre.c +8 -1
index 13ac0ccdc8d7..1a5b4b176e18 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_output.c +2 -1
index 426330b8dfa4..99ee18b3a953 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ipcomp6.c +2 -0
index daef890460b7..4bc0d4c0be14 100644

Lines of this file are not shown. View the raw message.

net/ipv6/xfrm6_tunnel.c +1 -1
index f696d46e6910..6de3cc3ba25d 100644

Lines of this file are not shown. View the raw message.

net/key/af_key.c +1 -1
index f42854973ba8..de4606d2eb64 100644

Lines of this file are not shown. View the raw message.

net/mac80211/rx.c +5 -0
index 98f06563d184..8f497fe234ed 100644

Lines of this file are not shown. View the raw message.

net/mptcp/pm_netlink.c +2 -1
index 103074e39da6..b88246b8f21c 100644

Lines of this file are not shown. View the raw message.

net/netfilter/ipvs/ip_vs_xmit.c +3 -0
index c87dbc897002..f82834349ca2 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_conncount.c +146 -65

211 lines not on this page · raw message

net/netfilter/nft_connlimit.c +41 -28

69 lines not on this page · raw message

net/netfilter/nft_synproxy.c +3 -3
index 0806813d3a76..46d2eefb0b21 100644

Lines of this file are not shown. View the raw message.

net/netfilter/xt_connlimit.c +3 -11
index 46fcac75f726..0ee0a1cabed3 100644

Lines of this file are not shown. View the raw message.

net/netrom/nr_out.c +3 -1
index 5e531394a724..2b3cbceb0b52 100644

Lines of this file are not shown. View the raw message.

net/nfc/core.c +7 -2
index 10a3d740d155..00cb55e2528d 100644

Lines of this file are not shown. View the raw message.

net/openvswitch/conntrack.c +8 -8
index 9e8b3b930f92..2a106d03a201 100644

Lines of this file are not shown. View the raw message.

net/openvswitch/flow_netlink.c +10 -3
index a70a87a4392a..54f952620b21 100644

Lines of this file are not shown. View the raw message.

net/openvswitch/vport-netdev.c +13 -4
index 57d6436e6f6a..72cf13bbf3dd 100644

Lines of this file are not shown. View the raw message.

net/rose/af_rose.c +1 -1
index f8cd085c4234..04173c85d92b 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_cake.c +32 -26

58 lines not on this page · raw message

net/sched/sch_ets.c +5 -1
index e38879e59872..c939937b2b81 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_qfq.c +1 -1
index 3d793ace2b5b..34a6c4ec9a15 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/auth_gss/svcauth_gss.c +2 -1
index 329eac782cc5..fe85762dbd96 100644

Lines of this file are not shown. View the raw message.

net/wireless/wext-core.c +4 -0
index a57f54bc0e1a..7aba6e1fe51d 100644

Lines of this file are not shown. View the raw message.

net/wireless/wext-priv.c +4 -0
index 674d426a9d24..37d1147019c2 100644

Lines of this file are not shown. View the raw message.

net/xfrm/xfrm_ipcomp.c +0 -1
index 24ac6805275e..5453c038e35a 100644

Lines of this file are not shown. View the raw message.

net/xfrm/xfrm_state.c +17 -24

41 lines not on this page · raw message

net/xfrm/xfrm_user.c +1 -1
index aa509857b666..480da22b7ef8 100644

Lines of this file are not shown. View the raw message.

security/integrity/ima/ima_policy.c +1 -1
index 8d69b2e27936..540c1ec9fe72 100644

Lines of this file are not shown. View the raw message.

security/smack/smack_lsm.c +27 -14

41 lines not on this page · raw message

sound/firewire/dice/dice-extension.c +2 -2
index 02f4a8318e38..48bfb3ad93ce 100644

Lines of this file are not shown. View the raw message.

sound/isa/wavefront/wavefront_midi.c +2 -0
index a337a86f7a65..049ff37382e7 100644

Lines of this file are not shown. View the raw message.

sound/isa/wavefront/wavefront_synth.c +2 -2
index 09b368761cc0..23a02ab40b71 100644

Lines of this file are not shown. View the raw message.

sound/pcmcia/pdaudiocf/pdaudiocf.c +7 -1
index 27d9da6d61e8..3a354616af19 100644

Lines of this file are not shown. View the raw message.

sound/pcmcia/vx/vxpocket.c +7 -1
index afd30a90c807..16081c51b938 100644

Lines of this file are not shown. View the raw message.

sound/soc/bcm/bcm63xx-pcm-whistler.c +3 -1
index 7ec8559d53a2..9bca508cd844 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/ak4458.c +9 -1
index 85a1d00894a9..af4873c97d3a 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/ak5558.c +9 -1
index adbdfdbc7a38..60ca51845d3e 100644

Lines of this file are not shown. View the raw message.

sound/soc/fsl/fsl_sai.c +3 -0
index 0314d4257b2d..60df490cb764 100644

Lines of this file are not shown. View the raw message.

sound/soc/qcom/qdsp6/q6adm.c +71 -75

146 lines not on this page · raw message

sound/soc/qcom/qdsp6/q6asm-dai.c +4 -3
index 1bae6f70ea89..e2784daea6b0 100644

Lines of this file are not shown. View the raw message.

sound/soc/stm/stm32_i2s.c +21 -41

62 lines not on this page · raw message

sound/soc/stm/stm32_sai.c +14 -25
index 058757c721f0..df167c389b98 100644

Lines of this file are not shown. View the raw message.

sound/soc/stm/stm32_sai_sub.c +24 -22

46 lines not on this page · raw message

sound/soc/stm/stm32_spdifrx.c +15 -29

44 lines not on this page · raw message

sound/usb/mixer_us16x08.c +14 -6
index 3959bbad0c4f..723b11cb0c1b 100644

Lines of this file are not shown. View the raw message.

tools/perf/util/symbol.c +2 -2
index 33954835c823..40e2362096d8 100644

Lines of this file are not shown. View the raw message.

tools/testing/ktest/config-bisect.pl +2 -2
index 6fd864935319..bee7cb34a289 100755

Lines of this file are not shown. View the raw message.

tools/testing/nvdimm/test/nfit.c +6 -1
index 2ac0fff6dad8..bf6e8f572fd6 100644

Lines of this file are not shown. View the raw message.

tools/testing/radix-tree/idr-test.c +21 -0
index 6ce7460f3c7a..7a0a46e3456d 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/prog_tests/perf_branches.c +14 -2
index e35c444902a7..464753f6e0f2 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/prog_tests/send_signal.c +5 -0
index 0b6349070824..b6e09b383fdb 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/bpf/progs/test_perf_branches.c +3 -0
index a1ccc831c882..05ac9410cd68 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc +3 -2
index aee22289536b..1b57771dbfdf 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.