aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorRyan Roberts <ryan.roberts@arm.com>2025-10-03 16:52:36 +0100
committerAndrew Morton <akpm@linux-foundation.org>2025-10-07 14:01:12 -0700
commit28bba2c2935e219d6cb6946e16b9a0b7c47913be (patch)
treec7c9d9a2e854370d5ba4a8bbd5ba7f3ed7455daa /drivers/usb/cdns3/cdns3-debug.h
parentmm/ksm: fix flag-dropping behavior in ksm_madvise (diff)
downloadlinux-28bba2c2935e219d6cb6946e16b9a0b7c47913be.tar.gz
linux-28bba2c2935e219d6cb6946e16b9a0b7c47913be.zip
fsnotify: pass correct offset to fsnotify_mmap_perm()
fsnotify_mmap_perm() requires a byte offset for the file about to be mmap'ed. But it is called from vm_mmap_pgoff(), which has a page offset. Previously the conversion was done incorrectly so let's fix it, being careful not to overflow on 32-bit platforms. Discovered during code review. Link: https://lkml.kernel.org/r/20251003155238.2147410-1-ryan.roberts@arm.com Fixes: 066e053fe208 ("fsnotify: add pre-content hooks on mmap()") Signed-off-by: Ryan Roberts <ryan.roberts@arm.com> Reviewed-by: Kiryl Shutsemau <kas@kernel.org> Cc: Amir Goldstein <amir73il@gmail.com> Cc: David Hildenbrand <david@redhat.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
-09 11:15:17 -0700'>2013-09-09upload-pack: bump keepalive default to 5 secondsJeff King2-2/+2 2013-09-09upload-pack: send keepalive packets during pack computationJeff King2-1/+35 2013-09-09rebase: fix run_specific_rebase's use of "return" on FreeBSDMatthieu Moy1-1/+10 2013-09-08l10n: de.po: use "das Tag" instead of "der Tag"Ralf Thielow1-11/+11 2013-09-05Documentation/git-merge.txt: fix formatting of example blockAndreas Schwab1-2/+2 2013-09-04add--interactive: fix external command invocation on WindowsJohannes Sixt1-1/+1 2013-09-03Make setup_git_env() resolve .git file when $GIT_DIR is not specifiedNguyễn Thái Ngọc Duy2-5/+8 2013-08-30has_sha1_file: re-check pack directory before giving upJeff King1-1/+4 2013-08-30fix shell syntax error in templateThorsten Glaser1-0/+1 2013-08-30l10n: fr.po: hotfix for commit 6b388fcSebastien Helleu2-718/+874 2013-08-28builtin/fetch.c: Fix a sparse warningRamsay Jones1-1/+1 2013-08-28mailmap: handle mailmap blobs without trailing newlinesJeff King2-13/+24 2013-08-26config: do not use C function names as struct membersJeff King1-16/+16 2013-08-25rebase -i: fix short SHA-1 collisionJunio C Hamano2-1/+31 2013-08-25t3404: rebase -i: demonstrate short SHA-1 collisionEric Sunshine1-0/+24 2013-08-25t3404: make tests more self-containedEric Sunshine1-2/+63 2013-08-25fetch-pack: do not remove .git/shallow file when --depth is not specifiedNguyễn Thái Ngọc Duy2-1/+19 2013-08-24commit: search author pattern against mailmapAntoine Pelisse2-1/+18 2013-08-23Git 1.8.4v1.8.4Junio C Hamano2-1/+6 2013-08-22contrib/git-prompt.sh: handle missing 'printf -v' more gracefullyBrandon Casey1-1/+5 2013-08-21t9902-completion.sh: old Bash still does not support array+=('') notationBrandon Casey1-1/+1 2013-08-21git-completion.bash: use correct Bash/Zsh array length syntaxBrandon Casey1-1/+1 2013-08-21rebase --preserve-merges: ignore "merge.log" configRalf Thielow2-1/+25 2013-08-21Typofix draft release notes to 1.8.4Junio C Hamano1-2/+2 2013-08-20stream_to_pack: xread does not guarantee to read all requested bytesJohannes Sixt1-1/+1 2013-08-20Revert "compat/clipped-write.c: large write(2) fails on Mac OS X/XNU"Steffen Prohaska4-27/+0 2013-08-20xread, xwrite: limit size of IO to 8MBSteffen Prohaska2-0/+26 2013-08-19avoid segfault on submodule.*.path set to an empty "true"Jharrod LaFon2-0/+16 2013-08-19Git 1.8.4-rc4v1.8.4-rc4Junio C Hamano2-10/+1 2013-08-18rebase -i: fix cases ignoring core.commentcharEric Sunshine1-1/+1 2013-08-14Revert "Add new @ shortcut for HEAD"Junio C Hamano5-28/+0 2013-08-14Revert "git stash: avoid data loss when "git stash save" kills a directory"Junio C Hamano3-40/+2 2013-08-13Git 1.8.4-rc3v1.8.4-rc3Junio C Hamano1-1/+1 2013-08-13.mailmap: Combine more (name, email) to individual personsStefan Beller1-1/+3 2013-08-13.mailmap: update long-lost friends with multiple defunct addressesJunio C Hamano1-1/+13 2013-08-13git-remote-mediawiki: ignore generated git-mwMatthieu Moy1-0/+1 2013-08-11l10n: Add reference for french translation teamJean-Noel Avila1-0/+4