1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
|
Author: Andreas Beckmann <anbe@debian.org>
Description: fix some typos found by Lintian
--- a/src/papi_common_strings.h
+++ b/src/papi_common_strings.h
@@ -55,7 +55,7 @@ hwi_presets_t _papi_hwi_presets[PAPI_MAX
0, PAPI_PRESET_BIT_CACH,
NULL, {0}, {NULL}, {NULL}, {0}, {NULL}, NULL, 0, 0, {NULL}, {NULL}},
/* 10 */ {"PAPI_CA_SHR",
- "Ex Acces shared CL",
+ "Ex Access shared CL",
"Requests for exclusive access to shared cache line", 0,
0, PAPI_PRESET_BIT_CACH,
NULL, {0}, {NULL}, {NULL}, {0}, {NULL}, NULL, 0, 0, {NULL}, {NULL}},
--- a/man/man3/PAPI_enum_cmp_event.3
+++ b/man/man3/PAPI_enum_cmp_event.3
@@ -15,7 +15,7 @@ PAPI_enum_cmp_event \- Enumerate PAPI pr
.RS 4
#include <\fBpapi\&.h\fP>
.br
-int PAPI_enum_cmp_event( int *EventCode, int modifer, int cidx );
+int PAPI_enum_cmp_event( int *EventCode, int modifier, int cidx );
.RE
.PP
Given an event code, \fBPAPI_enum_event\fP replaces the event code with the next available event\&.
--- a/man/man3/PAPI_enum_event.3
+++ b/man/man3/PAPI_enum_event.3
@@ -15,7 +15,7 @@ PAPI_enum_event \- Enumerate PAPI preset
.RS 4
#include <\fBpapi\&.h\fP>
.br
-int PAPI_enum_event( int * EventCode, int modifer );
+int PAPI_enum_event( int * EventCode, int modifier );
.RE
.PP
Given a preset or native event code, \fBPAPI_enum_event\fP replaces the event code with the next available event in either the preset or native table\&. The modifier argument affects which events are returned\&. For all platforms and event types, a value of PAPI_ENUM_ALL (zero) directs the function to return all possible events\&.
--- a/src/papi.c
+++ b/src/papi.c
@@ -1694,7 +1694,7 @@ PAPI_event_name_to_code( const char *in,
*
* @par C Interface:
* \#include <papi.h> @n
- * int PAPI_enum_event( int * EventCode, int modifer );
+ * int PAPI_enum_event( int * EventCode, int modifier );
*
* Given a preset or native event code, PAPI_enum_event replaces the event
* code with the next available event in either the preset or native table.
@@ -1948,7 +1948,7 @@ PAPI_enum_event( int *EventCode, int mod
*
* @par C Interface:
* \#include <papi.h> @n
- * int PAPI_enum_cmp_event( int *EventCode, int modifer, int cidx );
+ * int PAPI_enum_cmp_event( int *EventCode, int modifier, int cidx );
*
* Given an event code, PAPI_enum_event replaces the event
* code with the next available event.
--- a/src/sde_lib/sde_lib_misc.c
+++ b/src/sde_lib/sde_lib_misc.c
@@ -427,7 +427,7 @@ sdei_read_counter_group( sde_counter_t *
}else{ // If we are here it means that we are trying to read a real counter.
ret_val = sdei_read_and_update_data_value( tmp_cntr, tmp_cntr->previous_data, &tmp_value );
if( SDE_OK != ret_val ){
- SDE_ERROR("sdei_read_counter_group(): Error occured when reading counter: %s.\n",tmp_cntr->name);
+ SDE_ERROR("sdei_read_counter_group(): Error occurred when reading counter: %s.\n",tmp_cntr->name);
read_succesfully = 0;
}
}
--- a/src/sde_lib/sde_lib_ti.c
+++ b/src/sde_lib/sde_lib_ti.c
@@ -42,7 +42,7 @@ sde_ti_read_counter( uint32_t counter_id
gctl = _papisde_global_control;
if( NULL == gctl ){
- SDE_ERROR("sde_ti_read_counter(): Attempt to read from unintialized SDE structures.\n");
+ SDE_ERROR("sde_ti_read_counter(): Attempt to read from uninitialized SDE structures.\n");
ret_val = SDE_EINVAL;
goto fn_exit;
}
@@ -67,7 +67,7 @@ sde_ti_read_counter( uint32_t counter_id
case CNTR_CLASS_GROUP:
ret_val = sdei_read_counter_group( counter, rslt_ptr );
if( SDE_OK != ret_val ){
- SDE_ERROR("sde_ti_read_counter(): Error occured when reading counter group: '%s'.\n",counter->name);
+ SDE_ERROR("sde_ti_read_counter(): Error occurred when reading counter group: '%s'.\n",counter->name);
}
break;
@@ -119,7 +119,7 @@ sde_ti_read_counter( uint32_t counter_id
case CNTR_CLASS_CB:
ret_val = sdei_read_and_update_data_value( counter, counter->previous_data, rslt_ptr );
if( SDE_OK != ret_val ){
- SDE_ERROR("sde_ti_read_counter(): Error occured when reading counter: '%s'.\n",counter->name);
+ SDE_ERROR("sde_ti_read_counter(): Error occurred when reading counter: '%s'.\n",counter->name);
}
break;
}
@@ -139,7 +139,7 @@ sde_ti_write_counter( uint32_t counter_i
gctl = _papisde_global_control;
if( NULL == gctl ){
- SDE_ERROR("sde_ti_write_counter(): Attempt to write in unintialized SDE structures.\n");
+ SDE_ERROR("sde_ti_write_counter(): Attempt to write in uninitialized SDE structures.\n");
return SDE_EINVAL;
}
@@ -156,7 +156,7 @@ sde_ti_write_counter( uint32_t counter_i
ret_val = sdei_hardware_write( counter, value );
if( SDE_OK != ret_val ){
- SDE_ERROR("sde_ti_write_counter(): Error occured when writing counter: '%s'.\n",counter->name);
+ SDE_ERROR("sde_ti_write_counter(): Error occurred when writing counter: '%s'.\n",counter->name);
}
return ret_val;
@@ -172,7 +172,7 @@ sde_ti_reset_counter( uint32_t counter_i
gctl = _papisde_global_control;
if( NULL == gctl ){
- SDE_ERROR("sde_ti_reset_counter(): Attempt to modify unintialized SDE structures.\n");
+ SDE_ERROR("sde_ti_reset_counter(): Attempt to modify uninitialized SDE structures.\n");
return SDE_EINVAL;
}
@@ -185,13 +185,13 @@ sde_ti_reset_counter( uint32_t counter_i
if( (NULL == counter) || (!IS_CNTR_BASIC(counter) && !IS_CNTR_CALLBACK(counter) && !IS_CNTR_CSET(counter)) ){
SDEDBG("sde_ti_reset_counter(): SDE with id %d is clobbered, or a type which does not support resetting.\n",counter_id);
// We allow tools to call this function even if the counter type does not support
- // reseting, so we do not return an error if this is the case.
+ // resetting, so we do not return an error if this is the case.
return SDE_OK;
}
ret_val = sdei_read_and_update_data_value( counter, 0, &(counter->previous_data) );
if( SDE_OK != ret_val ){
- SDE_ERROR("sde_ti_reset_counter(): Error occured when resetting counter: %s.\n",counter->name);
+ SDE_ERROR("sde_ti_reset_counter(): Error occurred when resetting counter: %s.\n",counter->name);
}
return ret_val;
--- a/src/components/sde/sde.c
+++ b/src/components/sde/sde.c
@@ -370,7 +370,7 @@ _sde_reset( hwd_context_t *ctx, hwd_cont
uint32_t counter_uniq_id = sde_ctl->which_counter[i];
ret_val = sde_ti_reset_counter_ptr( counter_uniq_id );
if( PAPI_OK != ret_val ){
- PAPIERROR("_sde_reset(): Error when reseting event at index %d.\n",i);
+ PAPIERROR("_sde_reset(): Error when resetting event at index %d.\n",i);
goto fnct_exit;
}
--- a/src/components/rocm_smi/rocs.c
+++ b/src/components/rocm_smi/rocs.c
@@ -2744,7 +2744,7 @@ get_event_descr(const char *name, int64_
const char *variant_str = NULL;
switch (variant) {
case ROCS_XGMI_VARIANT__MI50_0_NOP_TX:
- variant_str = "NOP operations sent to neightbor 0.";
+ variant_str = "NOP operations sent to neighbor 0.";
break;
case ROCS_XGMI_VARIANT__MI50_0_REQUEST_TX:
variant_str = "Outgoing requests to neighbor 0.";
@@ -2756,7 +2756,7 @@ get_event_descr(const char *name, int64_
variant_str = "Data beats sent to neighbor 0.";
break;
case ROCS_XGMI_VARIANT__MI50_1_NOP_TX:
- variant_str = "NOP operations sent to neightbor 1.";
+ variant_str = "NOP operations sent to neighbor 1.";
break;
case ROCS_XGMI_VARIANT__MI50_1_REQUEST_TX:
variant_str = "Outgoing requests to neighbor 1.";
|