* [folded-merged] ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency-checkpatch-fixes.patch removed from -mm tree
@ 2022-09-12 4:18 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-09-12 4:18 UTC (permalink / raw)
To: mm-commits, slyich, akpm, akpm
The quilt patch titled
Subject: ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency-checkpatch-fixes
has been removed from the -mm tree. Its filename was
ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency-checkpatch-fixes.patch
This patch was dropped because it was folded into ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency-checkpatch-fixes
Date: Sat Aug 20 02:01:10 PM PDT 2022
ERROR: switch and case should be at the same indent
#70: FILE: arch/ia64/kernel/sys_ia64.c:185:
+ switch (which_clock) {
+ case CLOCK_REALTIME:
+ case CLOCK_MONOTONIC:
WARNING: Missing a blank line after declarations
#75: FILE: arch/ia64/kernel/sys_ia64.c:190:
+ struct timespec64 rtn_tp = ns_to_timespec64(tick_ns);
+ return put_timespec64(&rtn_tp, tp);
total: 1 errors, 1 warnings, 37 lines checked
NOTE: For some of the reported defects, checkpatch may be able to
mechanically convert to the typical style using --fix or --fix-inplace.
./patches/ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency.patch has style problems, please review.
NOTE: If any of the errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: Sergei Trofimovich <slyich@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/ia64/kernel/sys_ia64.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- a/arch/ia64/kernel/sys_ia64.c~ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency-checkpatch-fixes
+++ a/arch/ia64/kernel/sys_ia64.c
@@ -183,11 +183,11 @@ ia64_clock_getres(const clockid_t which_
* clocks.
*/
switch (which_clock) {
- case CLOCK_REALTIME:
- case CLOCK_MONOTONIC:
- s64 tick_ns = DIV_ROUND_UP(NSEC_PER_SEC, local_cpu_data->itc_freq);
- struct timespec64 rtn_tp = ns_to_timespec64(tick_ns);
- return put_timespec64(&rtn_tp, tp);
+ case CLOCK_REALTIME:
+ case CLOCK_MONOTONIC:
+ s64 tick_ns = DIV_ROUND_UP(NSEC_PER_SEC, local_cpu_data->itc_freq);
+ struct timespec64 rtn_tp = ns_to_timespec64(tick_ns);
+ return put_timespec64(&rtn_tp, tp);
}
return sys_clock_getres(which_clock, tp);
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-oom_kill-add-trace-logs-in-process_mrelease-system-call-fix.patch
mm-demotion-add-support-for-explicit-memory-tiers-fix.patch
mm-demotion-update-node_is_toptier-to-work-with-memory-tiers-fix-2.patch
mm-drop-oom-code-from-exit_mmap-fix-fix.patch
mm-delete-unused-mmf_oom_victim-flag-vs-mglru.patch
mm-add-merging-after-mremap-resize-checkpatch-fixes.patch
mm-reduce-noise-in-show_mem-for-lowmem-allocations-vs-mapletree.patch
mm-reduce-noise-in-show_mem-for-lowmem-allocations-vs-mapletree-fix.patch
mm-vmscan-fix-a-lot-of-comments-vs-mglru.patch
swap-add-swap_cache_get_folio-fix.patch
memcg-reduce-size-of-memcg-vmstats-structures-fix.patch
mm-damon-vaddr-add-a-comment-for-default-case-in-damon_va_apply_scheme-fix.patch
ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency.patch
fs-uninline-inode_maybe_inc_iversion.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-12 4:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12 4:18 [folded-merged] ia64-fix-clock_getresclock_monotonic-to-report-itc-frequency-checkpatch-fixes.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.