Go to file
CKI Backport Bot 2ece6620c0 jiffies: Cast to unsigned long in secs_to_jiffies() conversion
JIRA: https://issues.redhat.com/browse/RHEL-91108

commit bb2784d9ab49587ba4fbff37a319fff2924db289
Author: Easwar Hariharan <eahariha@linux.microsoft.com>
Date:   Thu Jan 30 19:26:58 2025 +0000

    jiffies: Cast to unsigned long in secs_to_jiffies() conversion

    While converting users of msecs_to_jiffies(), lkp reported that some range
    checks would always be true because of the mismatch between the implied int
    value of secs_to_jiffies() vs the unsigned long return value of the
    msecs_to_jiffies() calls it was replacing.

    Fix this by casting the secs_to_jiffies() input value to unsigned long.

    Fixes: b35108a51cf7ba ("jiffies: Define secs_to_jiffies()")
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Easwar Hariharan <eahariha@linux.microsoft.com>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: stable@vger.kernel.org
    Link: https://lore.kernel.org/all/20250130192701.99626-1-eahariha@linux.microsoft.com
    Closes: https://lore.kernel.org/oe-kbuild-all/202501301334.NB6NszQR-lkp@intel.com/

Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>
2025-05-13 12:49:51 +00:00
Documentation Merge: CNB97: net: Add support for per-NAPI config via netlink 2025-05-09 16:20:10 -03:00
LICENSES
arch Merge: x86/bugs: Support new SRSO CPUID bits for AMD ZEN 5 CPUs 2025-05-09 16:20:09 -03:00
block Merge: block: three misc fixes 2025-05-06 11:46:15 -03:00
certs certs: Add support for using elliptic curve keys for signing modules 2025-03-05 22:29:46 +08:00
crypto Merge: RHEL9.7 MDRAID - 2nd Update to the latest upstream 2025-03-27 16:28:30 -03:00
drivers Merge: CNB97: net: Add support for per-NAPI config via netlink 2025-05-09 16:20:10 -03:00
fs Merge: efi: pstore: Allow dynamic initialization based on module parameter 2025-05-06 11:46:12 -03:00
include jiffies: Cast to unsigned long in secs_to_jiffies() conversion 2025-05-13 12:49:51 +00:00
init jump_label,module: Don't alloc static_key_mod for __ro_after_init keys 2025-04-20 19:52:43 -04:00
io_uring Merge: Revert "io_uring/uring_cmd: defer SQE copying until it's needed" 2025-05-06 11:46:16 -03:00
ipc ipc/sem: use flexible array in 'struct sem_undo' 2025-03-21 11:02:00 -04:00
kernel Merge: [RHEL 9.7] IOMMU and DMA Mapping API subsystem updates 2025-05-09 16:20:06 -03:00
lib Merge: objtool: enable CONFIG_OBJTOOL_WERROR 2025-05-06 11:46:13 -03:00
mm Merge: [RHEL 9.7] IOMMU and DMA Mapping API subsystem updates 2025-05-09 16:20:06 -03:00
net jiffies: Define secs_to_jiffies() 2025-05-13 12:49:50 +00:00
redhat [redhat] kernel-5.14.0-584.el9 2025-05-09 16:20:35 -03:00
samples livepatch: convert timeouts to secs_to_jiffies() 2025-04-03 13:25:22 -04:00
scripts Merge: objtool: enable CONFIG_OBJTOOL_WERROR 2025-05-06 11:46:13 -03:00
security Merge: x86, jump_label: Improve text patching and assembly code support 2025-04-29 18:49:37 -03:00
sound Merge: ALSA - update drivers for 9.7 - upstream 6.13 2025-05-06 11:46:15 -03:00
tools Merge: CNB97: net: Add support for per-NAPI config via netlink 2025-05-09 16:20:10 -03:00
usr kexec.h: add linux/kexec.h to UAPI compile-test coverage 2024-05-15 13:58:51 +08:00
virt kvm/vfio: Constify struct kvm_device_ops 2025-04-08 12:33:50 -06:00
.clang-format media: subdev: Add for_each_active_route() macro 2024-11-27 09:40:34 +08:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore redhat: rhdocs: delete .get_maintainer.conf 2024-06-06 09:36:57 -04:00
.gitlab-ci.yml Merge tag 'kernel-5.14.0-570.3.1.el9_6' into 'main' 2025-03-10 17:24:30 -04:00
.mailmap
COPYING
CREDITS MAINTAINERS: Remove Mathieu Poirier as coresight maintainer 2025-01-04 13:51:08 -05:00
Kbuild
Kconfig
Kconfig.redhat redhat: kABI: add missing RH_KABI_SIZE_ALIGN_CHECKS Kconfig option 2024-01-12 14:27:16 +01:00
MAINTAINERS Merge: ALSA - update drivers for 9.7 - upstream 6.13 2025-05-06 11:46:15 -03:00
Makefile Merge: Suppress linker warnings about having a LOAD segment with RWX permissions 2025-02-13 02:24:26 -05:00
Makefile.rhelver [redhat] kernel-5.14.0-584.el9 2025-05-09 16:20:35 -03:00
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.