Revision 39eb028183bc7378bb6187067e20bf6d8c836407 authored by Pavel Machek on 18 June 2021, 09:29:48 UTC, committed by David S. Miller on 18 June 2021, 18:56:33 UTC
While fixing coverity warning, commit dd2c79677375 introduced typo in shift value. Fix that. Signed-off-by: Pavel Machek (CIP) <pavel@denx.de> Fixes: dd2c79677375 ("cxgb4: Fix unintentional sign extension issues") Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 1c200f8
hv_trace_balloon.h
#undef TRACE_SYSTEM
#define TRACE_SYSTEM hyperv
#if !defined(_HV_TRACE_BALLOON_H) || defined(TRACE_HEADER_MULTI_READ)
#define _HV_TRACE_BALLOON_H
#include <linux/tracepoint.h>
TRACE_EVENT(balloon_status,
TP_PROTO(u64 available, u64 committed,
unsigned long vm_memory_committed,
unsigned long pages_ballooned,
unsigned long pages_added,
unsigned long pages_onlined),
TP_ARGS(available, committed, vm_memory_committed,
pages_ballooned, pages_added, pages_onlined),
TP_STRUCT__entry(
__field(u64, available)
__field(u64, committed)
__field(unsigned long, vm_memory_committed)
__field(unsigned long, pages_ballooned)
__field(unsigned long, pages_added)
__field(unsigned long, pages_onlined)
),
TP_fast_assign(
__entry->available = available;
__entry->committed = committed;
__entry->vm_memory_committed = vm_memory_committed;
__entry->pages_ballooned = pages_ballooned;
__entry->pages_added = pages_added;
__entry->pages_onlined = pages_onlined;
),
TP_printk("available %lld, committed %lld; vm_memory_committed %ld;"
" pages_ballooned %ld, pages_added %ld, pages_onlined %ld",
__entry->available, __entry->committed,
__entry->vm_memory_committed, __entry->pages_ballooned,
__entry->pages_added, __entry->pages_onlined
)
);
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE hv_trace_balloon
#endif /* _HV_TRACE_BALLOON_H */
/* This part must be outside protection */
#include <trace/define_trace.h>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...