diff --git a/cmake/modules/extensions.cmake b/cmake/modules/extensions.cmake index 43750f93d2dee7e..dabad0ad8fc7067 100644 --- a/cmake/modules/extensions.cmake +++ b/cmake/modules/extensions.cmake @@ -505,7 +505,7 @@ function(zephyr_library_compile_options item) # library and link with it to obtain the flags. # # Linking with a dummy interface library will place flags later on - # the command line than the the flags from zephyr_interface because + # the command line than the flags from zephyr_interface because # zephyr_interface will be the first interface library that flags # are taken from. diff --git a/drivers/adc/adc_mcux_lpadc.c b/drivers/adc/adc_mcux_lpadc.c index 02c6e7ac648eed1..afe0257281eb2ad 100644 --- a/drivers/adc/adc_mcux_lpadc.c +++ b/drivers/adc/adc_mcux_lpadc.c @@ -424,7 +424,7 @@ static void mcux_lpadc_isr(const struct device *dev) LOG_DBG("Finished channel %d. Raw result is 0x%04x", channel, conv_result.convValue); /* - * For 12 or 13 bit resolution the the LSBs will be 0, so a bit shift + * For 12 or 13 bit resolution the LSBs will be 0, so a bit shift * is needed. For differential modes, the ADC conversion to * millivolts expects to use a shift one less than the resolution. * diff --git a/drivers/clock_control/beetle_clock_control.c b/drivers/clock_control/beetle_clock_control.c index ba7845098ef1c71..ab4573f9afcb1c6 100644 --- a/drivers/clock_control/beetle_clock_control.c +++ b/drivers/clock_control/beetle_clock_control.c @@ -205,7 +205,7 @@ static int beetle_pll_enable(uint32_t mainclk) /* Set PLLCTRL Register */ __BEETLE_SYSCON->pllctrl = BEETLE_PLL_CONFIGURATION; - /* Switch the the Main clock to PLL and set prescaler */ + /* Switch the Main clock to PLL and set prescaler */ __BEETLE_SYSCON->mainclk = pre_mainclk; while (!__BEETLE_SYSCON->pllstatus) { diff --git a/drivers/eeprom/eeprom_at2x.c b/drivers/eeprom/eeprom_at2x.c index 911689866be9f74..31161554659e98e 100644 --- a/drivers/eeprom/eeprom_at2x.c +++ b/drivers/eeprom/eeprom_at2x.c @@ -313,7 +313,7 @@ static int eeprom_at24_write(const struct device *dev, off_t offset, bus_addr = eeprom_at24_translate_offset(dev, &offset); /* - * Not all I2C EEPROMs support repeated start so the the + * Not all I2C EEPROMs support repeated start so the * address (offset) and data (buf) must be provided in one * write transaction (block). */ diff --git a/drivers/flash/flash_simulator_native.c b/drivers/flash/flash_simulator_native.c index 44eebeba650bf63..8b9c93a9885251c 100644 --- a/drivers/flash/flash_simulator_native.c +++ b/drivers/flash/flash_simulator_native.c @@ -30,7 +30,7 @@ /* * Initialize the flash buffer. - * And, if the content is to be kept on disk map it to the the buffer to the file. + * And, if the content is to be kept on disk map it to the buffer to the file. * * Returns -1 on failure * 0 on success diff --git a/drivers/rtc/rtc_pcf8563.c b/drivers/rtc/rtc_pcf8563.c index c67f541e3a9d0eb..3b68eed9ea45ec6 100644 --- a/drivers/rtc/rtc_pcf8563.c +++ b/drivers/rtc/rtc_pcf8563.c @@ -92,7 +92,7 @@ struct pcf8563_data { * with 8.4.2 Register Minutes. * * For seconds, first bit is ignored (it is used to check the clock integrity). - * The the upper digit takes the next 3 bits for the tens place and then the rest + * The upper digit takes the next 3 bits for the tens place and then the rest * bits for the unit * So for example, value 43 is 40 * 10 + 3, so the tens digit is 4 and unit digit is 3. * Then we put the number 3 in the last 4 bits and the number 4 in next 3 bits diff --git a/drivers/serial/uart_altera.c b/drivers/serial/uart_altera.c index 18ef231fb47e8fc..6d67d7c39c08aff 100644 --- a/drivers/serial/uart_altera.c +++ b/drivers/serial/uart_altera.c @@ -78,7 +78,7 @@ /* * The value ALT_AVALON_UART_FC is a value set in the device flag field to - * indicate the the device is using flow control, i.e. the driver must + * indicate the device is using flow control, i.e. the driver must * throttle on transmit if the nCTS pin is low. */ #define ALT_AVALON_UART_FC 0x2 diff --git a/drivers/serial/uart_intel_lw.c b/drivers/serial/uart_intel_lw.c index 9b2a877fbdc3dbf..67f2a829778e13a 100644 --- a/drivers/serial/uart_intel_lw.c +++ b/drivers/serial/uart_intel_lw.c @@ -68,7 +68,7 @@ /* * The value INTEL_LW_UART_FC is a value set in the device flag field to - * indicate the the device is using flow control, i.e. the driver must + * indicate the device is using flow control, i.e. the driver must * throttle on transmit if the nCTS pin is low. */ #define INTEL_LW_UART_FC 0x2 diff --git a/drivers/serial/uart_nrfx_uarte.c b/drivers/serial/uart_nrfx_uarte.c index 990f4f3fb2ac67c..f08fcb54672e89e 100644 --- a/drivers/serial/uart_nrfx_uarte.c +++ b/drivers/serial/uart_nrfx_uarte.c @@ -1158,7 +1158,7 @@ static void endrx_isr(const struct device *dev) data->async->rx_flush_cnt = 0; /* The 'rx_offset' can be bigger than 'rx_amount', so it the length - * of data we report back the the user may need to be clipped. + * of data we report back the user may need to be clipped. * This can happen because the 'rx_offset' count derives from RXRDY * events, which can occur already for the next buffer before we are * here to handle this buffer. (The next buffer is now already active diff --git a/drivers/timer/native_posix_timer.c b/drivers/timer/native_posix_timer.c index 7376034ef62f145..db2706a230675d4 100644 --- a/drivers/timer/native_posix_timer.c +++ b/drivers/timer/native_posix_timer.c @@ -65,7 +65,7 @@ void np_timer_isr_test_hook(const void *arg) * * Informs the system clock driver that the next needed call to * sys_clock_announce() will not be until the specified number of ticks - * from the the current time have elapsed. + * from the current time have elapsed. * * See system_timer.h for more information * diff --git a/dts/bindings/interrupt-controller/st,stm32-exti.yaml b/dts/bindings/interrupt-controller/st,stm32-exti.yaml index 23a44d13d43a7a5..c25e1bf6001f04e 100644 --- a/dts/bindings/interrupt-controller/st,stm32-exti.yaml +++ b/dts/bindings/interrupt-controller/st,stm32-exti.yaml @@ -23,7 +23,7 @@ properties: type: array required: true description: | - Description of the the input lines range for each interrupt line supported + Description of the input lines range for each interrupt line supported by the external interrupt controller. For each line a couple of integers is provided: the number of the first line of the range start and the length of the range. diff --git a/include/zephyr/bluetooth/audio/mcc.h b/include/zephyr/bluetooth/audio/mcc.h index fb71f011db96efe..4d2eebaf5c28dd9 100644 --- a/include/zephyr/bluetooth/audio/mcc.h +++ b/include/zephyr/bluetooth/audio/mcc.h @@ -726,7 +726,7 @@ int bt_mcc_read_current_track_obj_id(struct bt_conn *conn); /** * @brief Set Current Track Object ID * - * Set the Current Track to the the track given by the @p id parameter + * Set the Current Track to the track given by the @p id parameter * * @param conn Connection to the peer device * @param id Object Transfer Service ID (UINT48) of the track to set as the current track @@ -747,7 +747,7 @@ int bt_mcc_read_next_track_obj_id(struct bt_conn *conn); /** * @brief Set Next Track Object ID * - * Set the Next Track to the the track given by the @p id parameter + * Set the Next Track to the track given by the @p id parameter * * @param conn Connection to the peer device * @param id Object Transfer Service ID (UINT48) of the track to set as the next track @@ -768,7 +768,7 @@ int bt_mcc_read_current_group_obj_id(struct bt_conn *conn); /** * @brief Set Current Group Object ID * - * Set the Current Group to the the group given by the @p id parameter + * Set the Current Group to the group given by the @p id parameter * * @param conn Connection to the peer device * @param id Object Transfer Service ID (UINT48) of the group to set as the current group diff --git a/include/zephyr/bluetooth/audio/media_proxy.h b/include/zephyr/bluetooth/audio/media_proxy.h index 16bb978bfcc48b4..ed6d6fa9e8b93bd 100644 --- a/include/zephyr/bluetooth/audio/media_proxy.h +++ b/include/zephyr/bluetooth/audio/media_proxy.h @@ -1066,7 +1066,7 @@ int media_proxy_ctrl_get_commands_supported(struct media_player *player); * May result in up to three callbacks * - one for the actual sending of the search to the player * - one for the result code for the search from the player - * - if the search is successful, one for the the search results object ID in the OTs + * - if the search is successful, one for the search results object ID in the OTs * * Requires Object Transfer Service * diff --git a/include/zephyr/bluetooth/audio/vcp.h b/include/zephyr/bluetooth/audio/vcp.h index 755ee12d065abd0..de73b9f549e0411 100644 --- a/include/zephyr/bluetooth/audio/vcp.h +++ b/include/zephyr/bluetooth/audio/vcp.h @@ -246,7 +246,7 @@ struct bt_vcp_vol_ctlr_cb { * Called when the value is remotely read as the Volume Controller. * Called if the value is changed by the Volume Renderer. * - * A non-zero value indicates the the volume has been changed on the + * A non-zero value indicates the volume has been changed on the * Volume Renderer since it was booted. * * @param vol_ctlr Volume Controller instance pointer. diff --git a/include/zephyr/bluetooth/conn.h b/include/zephyr/bluetooth/conn.h index ff1aed7ace8d076..2ce4c6eae071fbb 100644 --- a/include/zephyr/bluetooth/conn.h +++ b/include/zephyr/bluetooth/conn.h @@ -901,7 +901,7 @@ int bt_conn_le_create_synced(const struct bt_le_ext_adv *adv, * This uses the Auto Connection Establishment procedure. * The procedure will continue until a single connection is established or the * procedure is stopped through @ref bt_conn_create_auto_stop. - * To establish connections to all devices in the the filter accept list the + * To establish connections to all devices in the filter accept list the * procedure should be started again in the connected callback after a * new connection has been established. * diff --git a/include/zephyr/cache.h b/include/zephyr/cache.h index 9dbadb8d4ee8e20..d113071dcaff73d 100644 --- a/include/zephyr/cache.h +++ b/include/zephyr/cache.h @@ -390,7 +390,7 @@ static ALWAYS_INLINE int sys_cache_instr_flush_and_invd_range(void *addr, size_t /** * - * @brief Get the the d-cache line size. + * @brief Get the d-cache line size. * * The API is provided to get the data cache line. * @@ -417,7 +417,7 @@ static ALWAYS_INLINE size_t sys_cache_data_line_size_get(void) /** * - * @brief Get the the i-cache line size. + * @brief Get the i-cache line size. * * The API is provided to get the instruction cache line. * diff --git a/include/zephyr/devicetree.h b/include/zephyr/devicetree.h index 349e5836fbce576..d2e51e33af3ff98 100644 --- a/include/zephyr/devicetree.h +++ b/include/zephyr/devicetree.h @@ -316,7 +316,7 @@ * DT_PROP(DT_INST(1, vnd_soc_serial), current_speed) * * // 9600, because there is only one disabled node, and - * // disabled nodes are "at the the end" of the instance + * // disabled nodes are "at the end" of the instance * // number "list". * DT_PROP(DT_INST(2, vnd_soc_serial), current_speed) * @endcode @@ -788,7 +788,7 @@ * - for type phandle, idx must be 0 and the expansion is a node * identifier (this treats phandle like a phandles of length 1) * - * - for type string, idx must be 0 and the expansion is the the + * - for type string, idx must be 0 and the expansion is the * entire string (this treats string like string-array of length 1) * * These properties are handled as special cases: diff --git a/include/zephyr/drivers/i3c.h b/include/zephyr/drivers/i3c.h index 14604cbe8bd94de..0da987a44b2eb46 100644 --- a/include/zephyr/drivers/i3c.h +++ b/include/zephyr/drivers/i3c.h @@ -1255,7 +1255,7 @@ struct i3c_driver_data { * @param dev_list Pointer to the device list struct. * @param id Pointer to I3C device ID struct. * - * @return Pointer the the I3C target device descriptor, or + * @return Pointer the I3C target device descriptor, or * NULL if none is found. */ struct i3c_device_desc *i3c_dev_list_find(const struct i3c_dev_list *dev_list, @@ -1270,7 +1270,7 @@ struct i3c_device_desc *i3c_dev_list_find(const struct i3c_dev_list *dev_list, * @param dev_list Pointer to the device list struct. * @param addr Dynamic address to be matched. * - * @return Pointer the the I3C target device descriptor, or + * @return Pointer the I3C target device descriptor, or * NULL if none is found. */ struct i3c_device_desc *i3c_dev_list_i3c_addr_find(struct i3c_dev_attached_list *dev_list, @@ -1285,7 +1285,7 @@ struct i3c_device_desc *i3c_dev_list_i3c_addr_find(struct i3c_dev_attached_list * @param dev_list Pointer to the device list struct. * @param addr Address to be matched. * - * @return Pointer the the I2C target device descriptor, or + * @return Pointer the I2C target device descriptor, or * NULL if none is found. */ struct i3c_i2c_device_desc *i3c_dev_list_i2c_addr_find(struct i3c_dev_attached_list *dev_list, diff --git a/include/zephyr/drivers/led.h b/include/zephyr/drivers/led.h index 6de5c36230c50a3..fbb66b5f28517d5 100644 --- a/include/zephyr/drivers/led.h +++ b/include/zephyr/drivers/led.h @@ -273,7 +273,7 @@ static inline int z_impl_led_set_channel(const struct device *dev, * @param led LED number * @param num_colors Number of colors in the array. * @param color Array of colors. It must be ordered following the color - * mapping of the LED controller. See the the color_mapping member + * mapping of the LED controller. See the color_mapping member * in struct led_info. * @return 0 on success, negative on error */ diff --git a/include/zephyr/drivers/timer/system_timer.h b/include/zephyr/drivers/timer/system_timer.h index 55f99ad3e28bcac..aab2a9fba8b32bf 100644 --- a/include/zephyr/drivers/timer/system_timer.h +++ b/include/zephyr/drivers/timer/system_timer.h @@ -33,7 +33,7 @@ extern "C" { * * Informs the system clock driver that the next needed call to * sys_clock_announce() will not be until the specified number of ticks - * from the the current time have elapsed. Note that spurious calls + * from the current time have elapsed. Note that spurious calls * to sys_clock_announce() are allowed (i.e. it's legal to announce * every tick and implement this function as a noop), the requirement * is that one tick announcement should occur within one tick BEFORE diff --git a/include/zephyr/kernel.h b/include/zephyr/kernel.h index 7be3ea83d4621c2..d579b24186739ad 100644 --- a/include/zephyr/kernel.h +++ b/include/zephyr/kernel.h @@ -3457,7 +3457,7 @@ void k_work_queue_init(struct k_work_q *queue); * * @param stack pointer to the work thread stack area. * - * @param stack_size size of the the work thread stack area, in bytes. + * @param stack_size size of the work thread stack area, in bytes. * * @param prio initial thread priority * diff --git a/include/zephyr/mgmt/ec_host_cmd/simulator.h b/include/zephyr/mgmt/ec_host_cmd/simulator.h index 7b44259afe9e880..f6110740a9f3069 100644 --- a/include/zephyr/mgmt/ec_host_cmd/simulator.h +++ b/include/zephyr/mgmt/ec_host_cmd/simulator.h @@ -20,7 +20,7 @@ * @brief Install callback for when this device would sends data to host * * When this host command simulator device should send data to the host, it - * will call the the callback parameter provided by this function. Note that + * will call the callback parameter provided by this function. Note that * only one callback may be installed at a time. Calling this a second time * will override the first callback installation. * diff --git a/include/zephyr/net/net_if.h b/include/zephyr/net/net_if.h index 658f30925922a42..ea0b33464b0f752 100644 --- a/include/zephyr/net/net_if.h +++ b/include/zephyr/net/net_if.h @@ -2596,7 +2596,7 @@ struct net_if *net_if_select_src_iface(const struct sockaddr *dst); * @typedef net_if_link_callback_t * @brief Define callback that is called after a network packet * has been sent. - * @param iface A pointer to a struct net_if to which the the net_pkt was sent to. + * @param iface A pointer to a struct net_if to which the net_pkt was sent to. * @param dst Link layer address of the destination where the network packet was sent. * @param status Send status, 0 is ok, < 0 error. */ diff --git a/include/zephyr/sys/util.h b/include/zephyr/sys/util.h index e1420bd4eb0b636..864564a5333bee8 100644 --- a/include/zephyr/sys/util.h +++ b/include/zephyr/sys/util.h @@ -504,8 +504,8 @@ static inline void bytecpy(void *dst, const void *src, size_t size) * Swap @a size bytes between memory regions @a a and @a b. This is * guaranteed to be done byte by byte. * - * @param a Pointer to the the first memory region. - * @param b Pointer to the the second memory region. + * @param a Pointer to the first memory region. + * @param b Pointer to the second memory region. * @param size The number of bytes to swap. */ static inline void byteswp(void *a, void *b, size_t size) diff --git a/kernel/userspace.c b/kernel/userspace.c index 6fcfacee8b0cafc..c477fe52aace35c 100644 --- a/kernel/userspace.c +++ b/kernel/userspace.c @@ -134,7 +134,7 @@ uint8_t *z_priv_stack_find(k_thread_stack_t *stack) /* * Note that dyn_obj->data is where the kernel object resides * so it is the one that actually needs to be aligned. - * Due to the need to get the the fields inside struct dyn_obj + * Due to the need to get the fields inside struct dyn_obj * from kernel object pointers (i.e. from data[]), the offset * from data[] needs to be fixed at build time. Therefore, * data[] is declared with __aligned(), such that when dyn_obj diff --git a/lib/utils/utf8.c b/lib/utils/utf8.c index a88cab86a064c28..ff741806c03b943 100644 --- a/lib/utils/utf8.c +++ b/lib/utils/utf8.c @@ -34,7 +34,7 @@ char *utf8_trunc(char *utf8_str) } bytes_truncated++; /* include the starting byte */ - /* Verify if the the last character actually need to be truncated + /* Verify if the last character actually need to be truncated * Handles the case where the number of bytes in the last UTF8-char * matches the number of bytes we searched for the starting byte */ diff --git a/scripts/build/check_init_priorities.py b/scripts/build/check_init_priorities.py index f126f2097c34dc7..4e2c50ddf27aa8d 100755 --- a/scripts/build/check_init_priorities.py +++ b/scripts/build/check_init_priorities.py @@ -322,7 +322,7 @@ def _parse_args(argv): parser.add_argument("-i", "--initlevels", action="store_true", help="print the initlevel functions instead of checking the device dependencies") parser.add_argument("--edt-pickle", default=pathlib.Path("edt.pickle"), - help="name of the the pickled edtlib.EDT file", + help="name of the pickled edtlib.EDT file", type=pathlib.Path) return parser.parse_args(argv) diff --git a/scripts/native_simulator/Makefile b/scripts/native_simulator/Makefile index a60218f45e9ef09..392df5f54122278 100644 --- a/scripts/native_simulator/Makefile +++ b/scripts/native_simulator/Makefile @@ -3,7 +3,7 @@ # Native Simulator (NSI) Makefile. # It builds the simulator runner itself, and produces the final -# Linux executable by linking it to the the embedded cpu library +# Linux executable by linking it to the embedded cpu library # By default all the build output is placed under the _build folder, but the user can override it # setting the NSI_BUILD_PATH diff --git a/scripts/west_commands/runners/mdb.py b/scripts/west_commands/runners/mdb.py index cc44390e279f6a7..6dbffa30dbd9bd0 100644 --- a/scripts/west_commands/runners/mdb.py +++ b/scripts/west_commands/runners/mdb.py @@ -183,7 +183,7 @@ def do_add_parser(cls, parser): help='''choose the number of cores that target has, e.g. --cores=1''') parser.add_argument('--dig-device', default='', - help='''choose the the specific digilent device to + help='''choose the specific digilent device to connect, this is useful when multiple targets are connected''') diff --git a/scripts/west_commands/runners/nios2.py b/scripts/west_commands/runners/nios2.py index 15939b3bb0f960e..aface007b314aa6 100644 --- a/scripts/west_commands/runners/nios2.py +++ b/scripts/west_commands/runners/nios2.py @@ -38,7 +38,7 @@ def do_add_parser(cls, parser): # TODO merge quartus-flash.py script into this file. parser.add_argument('--quartus-flash', required=True) parser.add_argument('--cpu-sof', required=True, - help='path to the the CPU .sof data') + help='path to the CPU .sof data') parser.add_argument('--tui', default=False, action='store_true', help='if given, GDB uses -tui') diff --git a/soc/gd/gd32/gd32vf103/entry.S b/soc/gd/gd32/gd32vf103/entry.S index 10e29a4ba3e2723..9c2fa3cadbc5609 100644 --- a/soc/gd/gd32/gd32vf103/entry.S +++ b/soc/gd/gd32/gd32vf103/entry.S @@ -25,7 +25,7 @@ SECTION_FUNC(init, __nuclei_start) jr a0 _start0800: - /* Set the the NMI base to share with mtvec by setting CSR_MMISC_CTL */ + /* Set the NMI base to share with mtvec by setting CSR_MMISC_CTL */ li t0, 0x200 csrs CSR_MMISC_CTL, t0 diff --git a/soc/native/inf_clock/posix_board_if.h b/soc/native/inf_clock/posix_board_if.h index 49384530e14e41c..3399ffb0762663f 100644 --- a/soc/native/inf_clock/posix_board_if.h +++ b/soc/native/inf_clock/posix_board_if.h @@ -11,7 +11,7 @@ /* * This file lists the functions the posix "inf_clock" soc - * expect the the board to provide + * expect the board to provide * * All functions listed here must be provided by the implementation of the board * diff --git a/soc/neorv32/soc_irq.S b/soc/neorv32/soc_irq.S index 555817bdca9d5c0..b82043d3434590c 100644 --- a/soc/neorv32/soc_irq.S +++ b/soc/neorv32/soc_irq.S @@ -14,7 +14,7 @@ GTEXT(__soc_handle_irq) */ SECTION_FUNC(exception.other, __soc_handle_irq) /* - * The the MIP CSR on the NEORV32 is read-only and can thus not be used for + * The MIP CSR on the NEORV32 is read-only and can thus not be used for * clearing a pending IRQ. Instead we disable the IRQ in the MIE CSR and * re-enable it (if it was enabled when clearing). */ diff --git a/soc/nordic/nrf53/soc.c b/soc/nordic/nrf53/soc.c index 4cbd1d2a9fdb230..016379be30c3899 100644 --- a/soc/nordic/nrf53/soc.c +++ b/soc/nordic/nrf53/soc.c @@ -183,7 +183,7 @@ static void cpu_idle_prepare_monitor_begin(void) static bool cpu_idle_prepare_monitor_end(void) { /* The value stored is irrelevant. If any exception took place after - * cpu_idle_prepare_monitor_begin, the the local monitor is cleared and + * cpu_idle_prepare_monitor_begin, the local monitor is cleared and * the store fails returning 1. * See Arm v8-M Architecture Reference Manual: * Chapter B9.2 The local monitors diff --git a/soc/openisa/rv32m1/soc.h b/soc/openisa/rv32m1/soc.h index 75011d362833fdc..a83f8fe080982f0 100644 --- a/soc/openisa/rv32m1/soc.h +++ b/soc/openisa/rv32m1/soc.h @@ -17,7 +17,7 @@ * interrupts. * * Level 1 interrupts go straight to the SoC. Level 2 interrupts must - * go through one of the 8 channels in the the INTMUX + * go through one of the 8 channels in the INTMUX * peripheral. There are 32 level 1 interrupts, including 8 INTMUX * interrupts. Each INTMUX interrupt can mux at most * CONFIG_MAX_IRQ_PER_AGGREGATOR (which happens to be 32) interrupts diff --git a/subsys/bluetooth/audio/Kconfig.mcs b/subsys/bluetooth/audio/Kconfig.mcs index ccd3d55cdacdff8..4c8d4a675a1ee93 100644 --- a/subsys/bluetooth/audio/Kconfig.mcs +++ b/subsys/bluetooth/audio/Kconfig.mcs @@ -60,7 +60,7 @@ config BT_MCC_SEGMENT_NAME_MAX default 25 range 1 255 help - Sets the the maximum number of bytes (including the null termination) + Sets the maximum number of bytes (including the null termination) of the name of any track segment in the media player. If the name is longer, the media control client will truncate the name when reading it. diff --git a/subsys/bluetooth/audio/Kconfig.mpl b/subsys/bluetooth/audio/Kconfig.mpl index 69efefe5b91cd20..39242a6a9aab169 100644 --- a/subsys/bluetooth/audio/Kconfig.mpl +++ b/subsys/bluetooth/audio/Kconfig.mpl @@ -59,7 +59,7 @@ config BT_MPL_SEGMENT_NAME_MAX default 25 range 1 255 help - Sets the the maximum number of bytes (including the null termination) + Sets the maximum number of bytes (including the null termination) of the name of any track segment in the media player. config BT_MPL_GROUP_TITLE_MAX diff --git a/subsys/bluetooth/controller/Kconfig b/subsys/bluetooth/controller/Kconfig index 3166a4950ddb0d9..cccb9a7ffde966b 100644 --- a/subsys/bluetooth/controller/Kconfig +++ b/subsys/bluetooth/controller/Kconfig @@ -849,7 +849,7 @@ config BT_CTLR_ADV_ISO_STREAM_COUNT range BT_CTLR_ADV_ISO_STREAM_MAX 64 default BT_ISO_MAX_CHAN help - Maximum Broadcast ISO Streams supported in the the Controller across + Maximum Broadcast ISO Streams supported in the Controller across all Broadcast ISO groups. config BT_CTLR_ADV_ISO_PDU_LEN_MAX @@ -882,7 +882,7 @@ config BT_CTLR_SYNC_ISO_STREAM_COUNT range BT_CTLR_SYNC_ISO_STREAM_MAX 64 default BT_ISO_MAX_CHAN help - Maximum ISO Synchronized Receiver Streams supported in the the + Maximum ISO Synchronized Receiver Streams supported in the Controller across all Broadcast ISO groups. config BT_CTLR_SYNC_ISO_PDU_LEN_MAX diff --git a/subsys/bluetooth/controller/util/mem.h b/subsys/bluetooth/controller/util/mem.h index 4a345ab253f4c33..877b3933a2982db 100644 --- a/subsys/bluetooth/controller/util/mem.h +++ b/subsys/bluetooth/controller/util/mem.h @@ -18,7 +18,7 @@ * @brief Round up to nearest multiple of 4, for unsigned integers * @details * The addition of 3 forces x into the next multiple of 4. This is responsible - * for the rounding in the the next step, to be Up. + * for the rounding in the next step, to be Up. * For ANDing of ~3: We observe y & (~3) == (y>>2)<<2, and we recognize * (y>>2) as a floored division, which is almost undone by the left-shift. The * flooring can't be undone so have achieved a rounding. diff --git a/subsys/bluetooth/controller/util/memq.c b/subsys/bluetooth/controller/util/memq.c index 8fa9eb39b0d1f93..b0f83b08b788c61 100644 --- a/subsys/bluetooth/controller/util/memq.c +++ b/subsys/bluetooth/controller/util/memq.c @@ -94,7 +94,7 @@ memq_link_t *memq_enqueue(memq_link_t *link, void *mem, memq_link_t **tail) /* Let the old tail element point to the new tail element */ (*tail)->next = link; - /* Let the old tail element point the the new memory */ + /* Let the old tail element point the new memory */ (*tail)->mem = mem; /* Update the tail-pointer to point to the new tail element. diff --git a/subsys/bluetooth/host/conn_internal.h b/subsys/bluetooth/host/conn_internal.h index 61664048cd798f3..039a252b0c316ef 100644 --- a/subsys/bluetooth/host/conn_internal.h +++ b/subsys/bluetooth/host/conn_internal.h @@ -437,7 +437,7 @@ static inline bool bt_conn_is_handle_valid(struct bt_conn *conn) bool bt_conn_is_peer_addr_le(const struct bt_conn *conn, uint8_t id, const bt_addr_le_t *peer); -/* Helpers for identifying & looking up connections based on the the index to +/* Helpers for identifying & looking up connections based on the index to * the connection list. This is useful for O(1) lookups, but can't be used * e.g. as the handle since that's assigned to us by the controller. */ diff --git a/subsys/bluetooth/host/hci_core.h b/subsys/bluetooth/host/hci_core.h index f85f89af7993a01..d92f0e931ad4bdd 100644 --- a/subsys/bluetooth/host/hci_core.h +++ b/subsys/bluetooth/host/hci_core.h @@ -302,7 +302,7 @@ struct bt_dev_le { #endif /* CONFIG_BT_BROADCASTER */ #if defined(CONFIG_BT_SMP) - /* Size of the the controller resolving list */ + /* Size of the controller resolving list */ uint8_t rl_size; /* Number of entries in the resolving list. rl_entries > rl_size * means that host-side resolving is used. diff --git a/subsys/bluetooth/mesh/friend.c b/subsys/bluetooth/mesh/friend.c index 6fbd9f81a6872b5..4e4df119bd3c2b0 100644 --- a/subsys/bluetooth/mesh/friend.c +++ b/subsys/bluetooth/mesh/friend.c @@ -1506,7 +1506,7 @@ static void friend_lpn_enqueue_tx(struct bt_mesh_friend *frnd, if (type == BT_MESH_FRIEND_PDU_SINGLE && !info.ctl) { /* Unsegmented application packets may be reencrypted later, - * as they depend on the the sequence number being the same + * as they depend on the sequence number being the same * when encrypting in transport and network. */ FRIEND_ADV(buf)->app_idx = tx->ctx->app_idx; diff --git a/subsys/mgmt/mcumgr/transport/src/smp_bt.c b/subsys/mgmt/mcumgr/transport/src/smp_bt.c index 79fbb45ebcf2dce..f3e72da3c6ced54 100644 --- a/subsys/mgmt/mcumgr/transport/src/smp_bt.c +++ b/subsys/mgmt/mcumgr/transport/src/smp_bt.c @@ -464,7 +464,7 @@ static int smp_bt_tx_pkt(struct net_buf *nb) /* Verify that the device is connected, the necessity for this check is that the remote * device might have sent a command and disconnected before the command has been processed - * completely, if this happens then the the connection details will still be valid due to + * completely, if this happens then the connection details will still be valid due to * the incremented connection reference count, but the connection has actually been * dropped, this avoids waiting for a semaphore that will never be given which would * otherwise cause a deadlock. diff --git a/subsys/mgmt/osdp/Kconfig.cp b/subsys/mgmt/osdp/Kconfig.cp index cc9054e3d20c08b..c57ab251252405d 100644 --- a/subsys/mgmt/osdp/Kconfig.cp +++ b/subsys/mgmt/osdp/Kconfig.cp @@ -48,7 +48,7 @@ config OSDP_MASTER_KEY string "Secure Channel Master Key" default "NONE" help - Hexadecimal string representation of the the 16 byte OSDP Secure Channel + Hexadecimal string representation of the 16 byte OSDP Secure Channel master Key. This is a mandatory key when secure channel is enabled. endif # OSDP_SC_ENABLED diff --git a/subsys/mgmt/osdp/Kconfig.pd b/subsys/mgmt/osdp/Kconfig.pd index f84c05cdbb5b227..437f5cc300b350f 100644 --- a/subsys/mgmt/osdp/Kconfig.pd +++ b/subsys/mgmt/osdp/Kconfig.pd @@ -37,7 +37,7 @@ config OSDP_PD_SCBK string "Secure Channel Base Key (SCBK)" default "NONE" help - Hexadecimal string representation of the the 16 byte OSDP PD Secure + Hexadecimal string representation of the 16 byte OSDP PD Secure Channel Base Key. When this field is sent to "NONE", the PD is set to "Install Mode". In this mode, the PD would allow a CP to setup a secure channel with default SCBK. Once as secure channel is active with the diff --git a/subsys/net/ip/connection.h b/subsys/net/ip/connection.h index cc495cde7a76a0b..32280f51cae7df5 100644 --- a/subsys/net/ip/connection.h +++ b/subsys/net/ip/connection.h @@ -166,7 +166,7 @@ static inline int net_conn_unregister(struct net_conn_handle *handle) * @param remote_addr Remote address * @param remote_port Remote port * - * @return Return 0 if the the change succeed, <0 otherwise. + * @return Return 0 if the change succeed, <0 otherwise. */ int net_conn_update(struct net_conn_handle *handle, net_conn_cb_t cb, diff --git a/subsys/net/ip/net_timeout.c b/subsys/net/ip/net_timeout.c index 81fa6ad73cc2f70..9fd25929734271b 100644 --- a/subsys/net/ip/net_timeout.c +++ b/subsys/net/ip/net_timeout.c @@ -121,7 +121,7 @@ uint32_t net_timeout_evaluate(struct net_timeout *timeout, /* The residual elapsed must reduce timer_timeout, which is capped at * NET_TIMEOUT_MAX_VALUE. But if subtracting would reduce the - * counter to zero or go negative we need to reduce the the wrap + * counter to zero or go negative we need to reduce the wrap * counter once more and add the residual to the counter, so the * counter remains positive. */ diff --git a/subsys/net/l2/ppp/Kconfig b/subsys/net/l2/ppp/Kconfig index db47968c51206b3..56960e38ddacc37 100644 --- a/subsys/net/l2/ppp/Kconfig +++ b/subsys/net/l2/ppp/Kconfig @@ -95,7 +95,7 @@ config NET_L2_PPP_THREAD_PRIO int "Priority of the PPP TX thread" default 1 help - Set the priority of the the PPP TX thread, that handles all + Set the priority of the PPP TX thread, that handles all transmission of PPP packets. Value 0 = highest priortity. When CONFIG_NET_TC_THREAD_COOPERATIVE = y, lowest priority is diff --git a/subsys/net/lib/sockets/socketpair.c b/subsys/net/lib/sockets/socketpair.c index 55484c8aef9388e..7736012323eee6e 100644 --- a/subsys/net/lib/sockets/socketpair.c +++ b/subsys/net/lib/sockets/socketpair.c @@ -597,7 +597,7 @@ static ssize_t spair_write(void *obj, const void *buffer, size_t count) * -# @ref SPAIR_SIG_DATA - data has been written to the @em local * @ref spair.pipe. Thus, allowing more data to be read. * - * -# @ref SPAIR_SIG_CANCEL - read of the the @em local @spair.pipe + * -# @ref SPAIR_SIG_CANCEL - read of the @em local @spair.pipe * must be cancelled for some reason (e.g. the file descriptor will be * closed imminently). In this case, the function will return -1 and set * @ref errno to @ref EINTR. diff --git a/subsys/tracing/sysview/SYSVIEW_Zephyr.txt b/subsys/tracing/sysview/SYSVIEW_Zephyr.txt index 9006b9bb5131f20..e04d2cfa7c4290b 100644 --- a/subsys/tracing/sysview/SYSVIEW_Zephyr.txt +++ b/subsys/tracing/sysview/SYSVIEW_Zephyr.txt @@ -1,4 +1,4 @@ -# Inspired by the the same configuration file available in the SystemView tool +# Inspired by the same configuration file available in the SystemView tool Option ReversePriority # diff --git a/subsys/usb/usb_c/usbc_pe_common_internal.h b/subsys/usb/usb_c/usbc_pe_common_internal.h index 13ffd8a20cb6219..ead2ecc52697989 100644 --- a/subsys/usb/usb_c/usbc_pe_common_internal.h +++ b/subsys/usb/usb_c/usbc_pe_common_internal.h @@ -370,7 +370,7 @@ bool policy_check(const struct device *dev, const enum usbc_policy_check_t pc); * @brief Notify the DPM of a policy change * * @param dev Pointer to the device structure for the driver instance - * @param notify The notification to send the the DPM + * @param notify The notification to send the DPM */ void policy_notify(const struct device *dev, const enum usbc_policy_notify_t notify); diff --git a/tests/bluetooth/host/keys/bt_keys_get_type/src/main.c b/tests/bluetooth/host/keys/bt_keys_get_type/src/main.c index 069a3a49eca1fff..c25310d3a8b0f4e 100644 --- a/tests/bluetooth/host/keys/bt_keys_get_type/src/main.c +++ b/tests/bluetooth/host/keys/bt_keys_get_type/src/main.c @@ -131,7 +131,7 @@ ZTEST(bt_keys_get_type_initially_filled_list, test_get_non_existing_key_referenc * Expected behaviour: * - A valid reference is returned by bt_keys_get_type() * - Key reference returned matches the previously returned one - * when it was firstly inserted in the the list + * when it was firstly inserted in the list */ ZTEST(bt_keys_get_type_initially_filled_list, test_get_existing_key_reference) { diff --git a/tests/bsim/bluetooth/mesh/src/test_dfu.c b/tests/bsim/bluetooth/mesh/src/test_dfu.c index 1b54e873cc5b60c..64dee4f2402703c 100644 --- a/tests/bsim/bluetooth/mesh/src/test_dfu.c +++ b/tests/bsim/bluetooth/mesh/src/test_dfu.c @@ -1649,7 +1649,7 @@ static const struct bst_test_instance test_dfu[] = { TEST_CASE(dist, dfu_slot_reservation, "Distributor checks that the correct number of slots can be reserved"), TEST_CASE(dist, dfu_slot_idempotency, - "Distributor checks that the the DFU slot APIs are idempotent"), + "Distributor checks that the DFU slot APIs are idempotent"), TEST_CASE(cli, stop, "DFU Client stops at configured point of Firmware Distribution"), TEST_CASE(cli, fail_on_persistency, "DFU Client doesn't give up DFU Transfer"), TEST_CASE(cli, all_targets_lost_on_metadata, diff --git a/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/get_metadata_split.sh b/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/get_metadata_split.sh index 38e43f886018fcc..5003c5789b450f4 100755 --- a/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/get_metadata_split.sh +++ b/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/get_metadata_split.sh @@ -4,7 +4,7 @@ source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh -# Test that the the LCD server model is able to split the +# Test that the LCD server model is able to split the # metadata when the total size exceeds the maximum access message size. # # Test procedure: diff --git a/tests/bsim/bluetooth/mesh/tests_scripts/provision/pb_remote_client_server_same_dev.sh b/tests/bsim/bluetooth/mesh/tests_scripts/provision/pb_remote_client_server_same_dev.sh index 9175a9ac0154978..86ca53c54397034 100755 --- a/tests/bsim/bluetooth/mesh/tests_scripts/provision/pb_remote_client_server_same_dev.sh +++ b/tests/bsim/bluetooth/mesh/tests_scripts/provision/pb_remote_client_server_same_dev.sh @@ -6,7 +6,7 @@ source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh # Test a node re-provisioning through Remote Provisioning models. Procedure: # 1. Device (prov_device_pb_remote_client_server_same_dev) provisions it self -# and start scanning for an upprovisioned device, and provisions the the +# and start scanning for an upprovisioned device, and provisions the # second device (prov_device_pb_remote_server_same_dev) with local RPR server. # 2. The first device (prov_device_pb_remote_client_server_same_dev) execute # device key refresh procedure the second device (prov_device_pb_remote_server_same_dev). diff --git a/tests/kernel/common/src/atomic.c b/tests/kernel/common/src/atomic.c index af5273ed25b2fed..1bdbfe3bf5c149e 100644 --- a/tests/kernel/common/src/atomic.c +++ b/tests/kernel/common/src/atomic.c @@ -343,7 +343,7 @@ ZTEST(atomic, test_threads_access_atomic) * if incremented in atomic and non-atomic manner * * @details According to C standard the value of a signed variable - * is undefined in case of overflow. This test checks that the the value + * is undefined in case of overflow. This test checks that the value * of atomic_t will be the same in case of overflow if incremented in atomic * and non-atomic manner. This allows us to increment an atomic variable * in a non-atomic manner (as long as it is logically safe) diff --git a/tests/kernel/workq/critical/src/main.c b/tests/kernel/workq/critical/src/main.c index ab0b5a869ed0b6e..8eab7e237ac8be6 100644 --- a/tests/kernel/workq/critical/src/main.c +++ b/tests/kernel/workq/critical/src/main.c @@ -15,7 +15,7 @@ * This test has two threads that increment a counter. The routine that * increments the counter is invoked from workqueue due to the two threads * calling using it. The final result of the counter is expected - * to be the the number of times work item was called to increment + * to be the number of times work item was called to increment * the counter. * * This is done with time slicing both disabled and enabled to ensure that the diff --git a/tests/net/socket/af_packet/src/main.c b/tests/net/socket/af_packet/src/main.c index 0785b5888d5714c..df0cb8de5334fd6 100644 --- a/tests/net/socket/af_packet/src/main.c +++ b/tests/net/socket/af_packet/src/main.c @@ -267,7 +267,7 @@ ZTEST(socket_packet, test_raw_packet_sockets) addrlen = sizeof(src); errno = 0; - /* The recvfrom reads the the whole received packet - including its + /* The recvfrom reads the whole received packet - including its * IP (20B) and UDP (8) headers. After those we can expect payload, * which have been sent. */ diff --git a/tests/posix/common/src/_main.c b/tests/posix/common/src/_main.c index 679795d10f491da..92672abce643c36 100644 --- a/tests/posix/common/src/_main.c +++ b/tests/posix/common/src/_main.c @@ -10,7 +10,7 @@ extern bool fdtable_fd_is_initialized(int fd); ZTEST(posix_apis, test_fdtable_init) { - /* ensure that the the stdin, stdout, and stderr fdtable entries are initialized */ + /* ensure that the stdin, stdout, and stderr fdtable entries are initialized */ zassert_true(fdtable_fd_is_initialized(0)); zassert_true(fdtable_fd_is_initialized(1)); zassert_true(fdtable_fd_is_initialized(2));