diff --git a/arch/x86/include/asm/extable_fixup_types.h b/arch/x86/include/asm/extable_fixup_types.h index afad9c0b07e0c8ccf6a14ffce50dcbc11f5c2df2..d08fa66c9ff78d5ea9617278ba7f24400dd107ad 100644 --- a/arch/x86/include/asm/extable_fixup_types.h +++ b/arch/x86/include/asm/extable_fixup_types.h @@ -4,7 +4,7 @@ /* * Our IMM is signed, as such it must live at the top end of the word. Also, - * since C99 hex constants are of ambigious type, force cast the mask to 'int' + * since C99 hex constants are of ambiguous type, force cast the mask to 'int' * so that FIELD_GET() will DTRT and sign extend the value when it extracts it. */ #define EX_DATA_TYPE_MASK ((int)0x000000FF) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 54b80911f3e286804edbd8cb5da54b42070ce5d0..31891ed9214a97fa4d15392296411e8db7229259 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c @@ -3122,7 +3122,7 @@ static noinline int mmc_ioctl_cdrom_volume(struct cdrom_device_info *cdi, /* originally the code depended on buffer[1] to determine how much data is available for transfer. buffer[1] is - unfortunately ambigious and the only reliable way seem + unfortunately ambiguous and the only reliable way seem to be to simply skip over the block descriptor... */ offset = 8 + be16_to_cpu(*(__be16 *)(buffer + 6)); diff --git a/drivers/crypto/intel/qat/qat_common/qat_hal.c b/drivers/crypto/intel/qat/qat_common/qat_hal.c index 317cafa9d11f9eb19940a302f0668fba5e9acad3..ef8a9cf74f0c76fafe303e7af49bf3073f55d979 100644 --- a/drivers/crypto/intel/qat/qat_common/qat_hal.c +++ b/drivers/crypto/intel/qat/qat_common/qat_hal.c @@ -163,7 +163,7 @@ int qat_hal_set_ae_ctx_mode(struct icp_qat_fw_loader_handle *handle, return -EINVAL; } - /* Sets the accelaration engine context mode to either four or eight */ + /* Sets the acceleration engine context mode to either four or eight */ csr = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES); csr = IGNORE_W1C_MASK & csr; new_csr = (mode == 4) ? diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c index 65d1e66a347d755ec02dfa51d2aaa32334e4329a..c23ccb7be56df53639b3284d6c7fd98e1f4e3df6 100644 --- a/drivers/firmware/arm_scmi/driver.c +++ b/drivers/firmware/arm_scmi/driver.c @@ -1513,10 +1513,10 @@ struct scmi_msg_resp_domain_name_get { * @cmd_id: The specific command ID to use. * @res_id: The specific resource ID to use. * @name: A pointer to the preallocated area where the retrieved name will be - * stored as a NULL terminated string. + * stored as a NULL terminated string. * @len: The len in bytes of the @name char array. * - * Return: 0 on Succcess + * Return: 0 on Success */ static int scmi_common_extended_name_get(const struct scmi_protocol_handle *ph, u8 cmd_id, u32 res_id, char *name, diff --git a/drivers/iio/accel/adxl355_core.c b/drivers/iio/accel/adxl355_core.c index 4973e8da5399d7b60373aadbf8c8b5e2dd363d97..ae731ea1cf4baffcf8c474ddef07403be3332616 100644 --- a/drivers/iio/accel/adxl355_core.c +++ b/drivers/iio/accel/adxl355_core.c @@ -643,7 +643,7 @@ static irqreturn_t adxl355_trigger_handler(int irq, void *p) * The acceleration data is 24 bits and big endian. It has to be saved * in 32 bits, hence, it is saved in the 2nd byte of the 4 byte buffer. * The buf array is 14 bytes as it includes 3x4=12 bytes for - * accelaration data of x, y, and z axis. It also includes 2 bytes for + * acceleration data of x, y, and z axis. It also includes 2 bytes for * temperature data. */ ret = regmap_bulk_read(data->regmap, ADXL355_XDATA3_REG, diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c b/drivers/net/ethernet/broadcom/bnxt/bnxt.c index 78640b9159d71ab362fe2cb0ba5f11ba8c822a0a..fba6e7fb36416d6ccd3fd9d8b15849748cdf3c8b 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt.c @@ -11265,7 +11265,7 @@ static netdev_features_t bnxt_fix_features(struct net_device *dev, if (features & NETIF_F_GRO_HW) features &= ~NETIF_F_LRO; - /* Both CTAG and STAG VLAN accelaration on the RX side have to be + /* Both CTAG and STAG VLAN acceleration on the RX side have to be * turned on or off together. */ vlan_features = features & BNXT_HW_FEATURE_VLAN_ALL_RX; diff --git a/drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ethtool.c b/drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ethtool.c index 829ffe007a3c3420a7ac4ab307cf26bdccfbe108..5ca1134505a5e2a4a59495395fde9179f1ab2505 100644 --- a/drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ethtool.c +++ b/drivers/net/ethernet/linkdata/sxe/sxepf/sxe_ethtool.c @@ -548,7 +548,7 @@ static s32 sxe_fnav_rule_parse_to_flow( flow->m_u.usr_ip4_spec.proto = 0; break; default: - LOG_ERROR_BDF("unknow flow type[%u]\n", + LOG_ERROR_BDF("unknown flow type[%u]\n", rule->rule_info.ntuple.flow_type); ret = -EINVAL; goto l_ret; @@ -793,13 +793,13 @@ STATIC int sxe_fnav_flow_type_parse( flow->m_u.usr_ip4_spec.proto); fallthrough; default: - LOG_WARN("unknow IP_USER_FLOW proto[%u]\n", + LOG_WARN("unknown IP_USER_FLOW proto[%u]\n", flow->h_u.usr_ip4_spec.proto); ret = -EINVAL; } break; default: - LOG_WARN("unknow flow type[0x%x]\n", + LOG_WARN("n flow type[0x%x]\n", flow->flow_type & ~FLOW_EXT); ret = -EINVAL; } diff --git a/drivers/net/ethernet/linkdata/sxe/sxepf/sxe_monitor.c b/drivers/net/ethernet/linkdata/sxe/sxepf/sxe_monitor.c index d87fe0db5c31b730dcaf8f786b9a9cfd8ca7c31f..90269a407d8b3ece1ed67c4ea1e1313d2c165c41 100644 --- a/drivers/net/ethernet/linkdata/sxe/sxepf/sxe_monitor.c +++ b/drivers/net/ethernet/linkdata/sxe/sxepf/sxe_monitor.c @@ -274,7 +274,7 @@ static void sxe_link_up_handle(struct sxe_adapter *adapter) speed_str = "10 Mbps"; break; default: - speed_str = "unknow speed"; + speed_str = "unknown speed"; break; } LOG_MSG_WARN(drv, "nic link is up, speed: %s\n", speed_str); diff --git a/drivers/scsi/linkdata/ps3stor/ps3_mgr_cmd.c b/drivers/scsi/linkdata/ps3stor/ps3_mgr_cmd.c index ea6e64a67312f2a09f8c13d40ce29b510b37e618..03a1b597e10b922f2b48e5619b377821552c375f 100644 --- a/drivers/scsi/linkdata/ps3stor/ps3_mgr_cmd.c +++ b/drivers/scsi/linkdata/ps3stor/ps3_mgr_cmd.c @@ -1386,7 +1386,7 @@ struct ps3_cmd * ps3_scsi_task_mgr_reset_build(struct ps3_instance *instance, if ((priv_data->dev_type == PS3_DEV_TYPE_UNKNOWN) || (disk_id == PS3_INVALID_DEV_ID)) { - LOG_ERROR("host_no:%u unknow dev type !\n", + LOG_ERROR("host_no:%u unknown dev type !\n", PS3_HOST(instance)); goto l_out; } @@ -1487,7 +1487,7 @@ S32 ps3_scsi_task_mgr_abort(struct ps3_instance *instance, LOG_DEBUG("host_no:%u enter !\n", PS3_HOST(instance)); if ((priv_data->dev_type == PS3_DEV_TYPE_UNKNOWN) || (disk_id == PS3_INVALID_DEV_ID)) { - LOG_ERROR("host_no:%u unknow dev type !\n", + LOG_ERROR("host_no:%u unknown dev type !\n", PS3_HOST(instance)); ret = -PS3_FAILED; goto l_out; diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index ce20c06a902531f19ac550972640abd71f5a312f..be4e027bc8a696cbd2008bf7785ba1d30bf9c926 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -326,7 +326,7 @@ static void dwc2_hsotg_init_fifo(struct dwc2_hsotg *hsotg) GNPTXFSIZ); /* - * arange all the rest of the TX FIFOs, as some versions of this + * arrange all the rest of the TX FIFOs, as some versions of this * block have overlapping default addresses. This also ensures * that if the settings have been changed, then they are set to * known values. diff --git a/kernel/trace/trace_events_user.c b/kernel/trace/trace_events_user.c index 2461786b1e4d22d093da23fde26e1cc828bfd87b..4d0be36dda242a94650ffcc04b822f7080e03e80 100644 --- a/kernel/trace/trace_events_user.c +++ b/kernel/trace/trace_events_user.c @@ -1023,7 +1023,7 @@ static int user_field_array_size(const char *type) static int user_field_size(const char *type) { - /* long is not allowed from a user, since it's ambigious in size */ + /* long is not allowed from a user, since it's ambiguous in size */ if (strcmp(type, "s64") == 0) return sizeof(s64); if (strcmp(type, "u64") == 0)