From: Marek Vasut Date: Mon, 22 Jul 2024 23:28:32 +0000 (+0200) Subject: include: valgrind: Remove duplicate newlines X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=c717b80f05a240ff2c4e18d0166b941e76263ef3;p=u-boot.git include: valgrind: Remove duplicate newlines Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut --- diff --git a/include/valgrind/memcheck.h b/include/valgrind/memcheck.h index 501cb14ed8..4e5127a1a2 100644 --- a/include/valgrind/memcheck.h +++ b/include/valgrind/memcheck.h @@ -9,7 +9,6 @@ #ifndef __MEMCHECK_H #define __MEMCHECK_H - /* This file is for inclusion into client (your!) code. You can use these macros to manipulate and query memory permissions @@ -53,8 +52,6 @@ typedef = VG_USERREQ_TOOL_BASE('M','C') + 256 } Vg_MemCheckClientRequest; - - /* Client-code macros to manipulate the state of memory. */ /* Mark memory at _qzz_addr as unaddressable for _qzz_len bytes. */ @@ -102,7 +99,6 @@ typedef VG_USERREQ__DISCARD, \ 0, (_qzz_blkindex), 0, 0, 0) - /* Client-code macros to check the state of memory. */ /* Check that memory at _qzz_addr is addressable for _qzz_len bytes. @@ -133,7 +129,6 @@ typedef (volatile unsigned char *)&(__lvalue), \ (unsigned long)(sizeof (__lvalue))) - /* Do a full memory leak check (like --leak-check=full) mid-execution. */ #define VALGRIND_DO_LEAK_CHECK \ VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DO_LEAK_CHECK, \ @@ -202,7 +197,6 @@ typedef suppressed = _qzz_suppressed; \ } - /* Get the validity data for addresses [zza..zza+zznbytes-1] and copy it into the provided zzvbits array. Return values: 0 if not running on valgrind diff --git a/include/valgrind/valgrind.h b/include/valgrind/valgrind.h index 5d4fa5f43b..6114c4a0e1 100644 --- a/include/valgrind/valgrind.h +++ b/include/valgrind/valgrind.h @@ -24,7 +24,6 @@ #ifndef __VALGRIND_H #define __VALGRIND_H - /* ------------------------------------------------------------------ */ /* VERSION NUMBER OF VALGRIND */ /* ------------------------------------------------------------------ */ @@ -42,7 +41,6 @@ #define __VALGRIND_MAJOR__ 3 #define __VALGRIND_MINOR__ 16 - #include /* Nb: this file might be included in a file compiled with -ansi. So @@ -77,7 +75,6 @@ #undef PLAT_x86_solaris #undef PLAT_amd64_solaris - #if defined(__APPLE__) && defined(__i386__) # define PLAT_x86_darwin 1 #elif defined(__APPLE__) && defined(__x86_64__) @@ -126,7 +123,6 @@ # endif #endif - /* ------------------------------------------------------------------ */ /* ARCHITECTURE SPECIFICS for SPECIAL INSTRUCTIONS. There is nothing */ /* in here of use to end-users -- skip to the next section. */ @@ -928,7 +924,6 @@ typedef ); \ } while (0) - #endif /* PLAT_mips32_linux */ /* ------------------------- mips64-linux ---------------- */ @@ -1073,7 +1068,6 @@ typedef #endif /* CONFIG_VALGRIND */ - /* ------------------------------------------------------------------ */ /* PLATFORM SPECIFICS for FUNCTION WRAPPING. This is all very */ /* ugly. It's the least-worst tradeoff I can think of. */ @@ -5168,7 +5162,6 @@ typedef lval = (__typeof__(lval)) _res; \ } while (0) - #endif /* PLAT_s390x_linux */ /* ------------------------- mips32-linux ----------------------- */ @@ -6197,7 +6190,6 @@ typedef lval = (__typeof__(lval)) (long)_res; \ } while (0) - #define CALL_FN_W_WWW(lval, orig, arg1,arg2,arg3) \ do { \ volatile OrigFn _orig = (orig); \ @@ -6657,7 +6649,6 @@ typedef # define __extension__ /* */ #endif - /* Returns the number of Valgrinds this code is running under. That is, 0 if running natively, 1 if running under Valgrind, 2 if running under Valgrind which is running under another Valgrind, @@ -6667,7 +6658,6 @@ typedef VG_USERREQ__RUNNING_ON_VALGRIND, \ 0, 0, 0, 0, 0) \ - /* Discard translation of code in the range [_qzz_addr .. _qzz_addr + _qzz_len - 1]. Useful if you are debugging a JITter or some such, since it provides a way to make sure valgrind will retranslate the @@ -6680,7 +6670,6 @@ typedef VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__INNER_THREADS, \ _qzz_addr, 0, 0, 0, 0) - /* These requests are for getting Valgrind itself to print something. Possibly with a backtrace. This is a really ugly hack. The return value is the number of characters printed, excluding the "**** " part at the @@ -6766,7 +6755,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...) #endif /* CONFIG_VALGRIND */ } - /* These requests allow control to move from the simulated CPU to the real CPU, calling an arbitrary function. @@ -6815,7 +6803,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...) _qyy_arg1, _qyy_arg2, \ _qyy_arg3, 0) - /* Counts the number of errors that have been recorded by a tool. Nb: the tool must record the errors with VG_(maybe_record_error)() or VG_(unique_error)() for them to be counted. */ @@ -7079,7 +7066,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...) VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__GDB_MONITOR_COMMAND, \ command, 0, 0, 0, 0) - /* Change the value of a dynamic command line option. Note that unknown or not dynamically changeable options will cause a warning message to be output. */ @@ -7087,7 +7073,6 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...) VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CLO_CHANGE, \ option, 0, 0, 0, 0) - #undef PLAT_x86_darwin #undef PLAT_amd64_darwin #undef PLAT_x86_win32