Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4888666rwb; Mon, 31 Jul 2023 14:06:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlEvw+HwHpjRsIjCQcjwM5IJOQLQdEi9ryLPDMcUDlwZoJ2u+SYJc5p0Q25/MWU3HFtL3Ro/ X-Received: by 2002:a05:6a00:c8f:b0:680:98c:c593 with SMTP id a15-20020a056a000c8f00b00680098cc593mr13146232pfv.7.1690837615278; Mon, 31 Jul 2023 14:06:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690837615; cv=none; d=google.com; s=arc-20160816; b=KUglkyzOf4/PdrUVtyAKbGxGM3u7AkqwdQLE0TcqfbEOb4wN1wL6sQrKnTKvcqy2Lj c1PzObVILLX7dOjsbRkv5nnLjv29Zt9FzzL0KRH5i12fhk+z6HktFenFqYeXdDWLGs7l WgrL0MU+iAZWLyRl22x825i2OOFjhg3a+Xk+c/Y55A/l0QBSobyc3Cw/sdFcDAWVxXUR Yt9UlcBnyFiaiRyhuNpIX2+RNOkJ3p7x/IzDJvj3/6kpt9b5R1Vwi7Oxu4VPIlRaCQLD 5TxsXcSaKOmLopXSVm3r4RunwJqFuIPJ6EpM34Uyd5+ObiMZC9Q5IcIqK1SZG4Adb739 zruA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=z4r7hlXWseUPS8Ohu6FpUF1/8b6j8vCToVBA5O29jC0=; fh=SFEyBxM5WJZP1+1LTwWXXaFsrJtJ4d+K809teYU5Sxk=; b=x4BmT0hNTsQzhzC6H5G5XuDD8SH9UyZ2jW5BD2go1KcIIHxhM/vrW90+RNnz3kn4sF kpWnLXKgFyVOMmv+wmBOfe0EtztBsNawhTJhzl5P3js8xFnhtzCNkF56NCKp9x6PsTfl U5T2xLU0hv9VymoiWyMdNAyeDRAuZy0W/iG7EN0Ap5fQRPqSNgj11WOSaKih53OolbVx XKjjDVUAygR++wp+/UiOuooeT3gb0CPsBTxXD0tJbp495X8W09VqIfrqNVRIExhKkAkL mvxQxbEl5VEZfy75RiqthvnaWkKXOWxBVNP5D/ieWIssmOYDdNu2bRPn+bsfKh4aYlXI ukXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ilsHLKr9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h21-20020a635755000000b0055fd1bfb109si7472110pgm.679.2023.07.31.14.06.43; Mon, 31 Jul 2023 14:06:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ilsHLKr9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231193AbjGaUc2 (ORCPT + 99 others); Mon, 31 Jul 2023 16:32:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230461AbjGaUcQ (ORCPT ); Mon, 31 Jul 2023 16:32:16 -0400 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 390211FE8; Mon, 31 Jul 2023 13:31:47 -0700 (PDT) Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-6b9ec15e014so4511775a34.0; Mon, 31 Jul 2023 13:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690835506; x=1691440306; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=z4r7hlXWseUPS8Ohu6FpUF1/8b6j8vCToVBA5O29jC0=; b=ilsHLKr9sXxSN9KO6o8w+5ZAiMMnrUHolPSXvNFQZ4kHdhuiI8oLlVqrEY7z8H/vwW y3Ps6IJb3FQoWySEGwbMJQlSCYvs258SBRtYu6Cb6dkZmjXpQkPeVlnWsosLQKKt8rSS Phhcj/xSaycVl5DEh3I06JUH/n0pb1yv/9MEahgxDq21E0tkL/VruGpcU947/zctXplW pJb2SFwtU6/YQtveBZqtW2jlN+loZWIFOga7LP9hJ5kTjgTmMa88R7/zZHu2H7CVhFye uywxjqI3Acdsa5M394ls7uZkL1vLXNpunpGGOe3MRlN2G49m9DgSeL1vJY+JOFbZmjXT gYaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690835506; x=1691440306; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z4r7hlXWseUPS8Ohu6FpUF1/8b6j8vCToVBA5O29jC0=; b=RPsklGatqp6f7eb1uYOHnct/5fAmqi0TDEVZ6l3grSghGF5u7d6VWkdotZ2ec5i6Jx +/lqXU1DDvgW2o+JLkIfiTIkx+b/ot3f5U9f+boOFMKFrV4nPheCIdPgBlIeBXML8f1c VjBRpNQDI89S8oWZoYkwXhiH1F8XlKf5xLwTgcUSaOoNnbAgoAOhcXimqAx2jklwyOoG LC4wmV5atquKefL9ly1ND2JZsgm5iV6K3fe2cHO13DMacOdqTQ+/iPY5gcM/64cEzl8d eNkKxRc7hZ+5cp+lZrN5wducuZ5jvVp5m3FgPL+WAk51Hy2CUyXanKxtS5rV8l3ZmlIH 1Z1w== X-Gm-Message-State: ABy/qLYLmtlXNVRQ6PNRsNuoDOR0EXOVhtgChs/8RXRDO7WRS+Y1QD82 Bk0BqD8iUZy81bzQoQijCd0= X-Received: by 2002:a9d:6205:0:b0:6af:9b42:9794 with SMTP id g5-20020a9d6205000000b006af9b429794mr11087047otj.35.1690835506544; Mon, 31 Jul 2023 13:31:46 -0700 (PDT) Received: from grumpy-VECTOR.hsd1.tx.comcast.net ([2601:2c3:480:7390:b620:ce9:47eb:26ab]) by smtp.gmail.com with ESMTPSA id g8-20020a9d6208000000b006b9848f8aa7sm4498841otj.45.2023.07.31.13.31.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 13:31:46 -0700 (PDT) From: Jorge Lopez X-Google-Original-From: Jorge Lopez To: hdegoede@redhat.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, thomas@t-8ch.de, ilpo.jarvinen@linux.intel.com, dan.carpenter@linaro.org Subject: [PATCH 3/8] hp-bioscfg: Replace the word HACK from source code Date: Mon, 31 Jul 2023 15:31:36 -0500 Message-Id: <20230731203141.30044-4-jorge.lopez2@hp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230731203141.30044-1-jorge.lopez2@hp.com> References: <20230731203141.30044-1-jorge.lopez2@hp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace the word 'HACK' with 'step' from source code Signed-off-by: Jorge Lopez --- Based on the latest platform-drivers-x86.git/for-next --- drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c | 4 ++-- drivers/platform/x86/hp/hp-bioscfg/int-attributes.c | 2 +- drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c | 4 ++-- drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c | 4 ++-- drivers/platform/x86/hp/hp-bioscfg/string-attributes.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c b/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c index 7f77963cd7fa..50855ff48926 100644 --- a/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c +++ b/drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c @@ -195,7 +195,7 @@ static int hp_populate_enumeration_elements_from_package(union acpi_object *enum pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); /* - * This HACK is needed to keep the expected + * This step is needed to keep the expected * element list pointing to the right obj[elem].type * when the size is zero. PREREQUISITES * object is omitted by BIOS when the size is @@ -243,7 +243,7 @@ static int hp_populate_enumeration_elements_from_package(union acpi_object *enum pr_warn("Possible number values size value exceeded the maximum number of elements supported or data may be malformed\n"); /* - * This HACK is needed to keep the expected + * This step is needed to keep the expected * element list pointing to the right obj[elem].type * when the size is zero. POSSIBLE_VALUES * object is omitted by BIOS when the size is zero. diff --git a/drivers/platform/x86/hp/hp-bioscfg/int-attributes.c b/drivers/platform/x86/hp/hp-bioscfg/int-attributes.c index 97f88e0ef0cc..a45919616fa8 100644 --- a/drivers/platform/x86/hp/hp-bioscfg/int-attributes.c +++ b/drivers/platform/x86/hp/hp-bioscfg/int-attributes.c @@ -211,7 +211,7 @@ static int hp_populate_integer_elements_from_package(union acpi_object *integer_ if (integer_data->common.prerequisites_size > MAX_PREREQUISITES_SIZE) pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); /* - * This HACK is needed to keep the expected + * This step is needed to keep the expected * element list pointing to the right obj[elem].type * when the size is zero. PREREQUISITES * object is omitted by BIOS when the size is diff --git a/drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c b/drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c index 89e67db733eb..aba7d26b54b2 100644 --- a/drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c +++ b/drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c @@ -207,7 +207,7 @@ static int hp_populate_ordered_list_elements_from_package(union acpi_object *ord pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); /* - * This HACK is needed to keep the expected + * This step is needed to keep the expected * element list pointing to the right obj[elem].type * when the size is zero. PREREQUISITES * object is omitted by BIOS when the size is @@ -245,7 +245,7 @@ static int hp_populate_ordered_list_elements_from_package(union acpi_object *ord if (int_value > MAX_ELEMENTS_SIZE) pr_warn("Ordered List size value exceeded the maximum number of elements supported or data may be malformed\n"); /* - * This HACK is needed to keep the expected + * This step is needed to keep the expected * element list pointing to the right obj[elem].type * when the size is zero. ORD_LIST_ELEMENTS * object is omitted by BIOS when the size is diff --git a/drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c b/drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c index 5e833ea0c5e3..3840380a5aee 100644 --- a/drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c +++ b/drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c @@ -293,7 +293,7 @@ static int hp_populate_password_elements_from_package(union acpi_object *passwor if (int_value > MAX_PREREQUISITES_SIZE) pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); - /* This HACK is needed to keep the expected + /* This step is needed to keep the expected * element list pointing to the right obj[elem].type * when the size is zero. PREREQUISITES * object is omitted by BIOS when the size is @@ -337,7 +337,7 @@ static int hp_populate_password_elements_from_package(union acpi_object *passwor if (int_value > MAX_ENCODINGS_SIZE) pr_warn("Password Encoding size value exceeded the maximum number of elements supported or data may be malformed\n"); - /* This HACK is needed to keep the expected + /* This step is needed to keep the expected * element list pointing to the right obj[elem].type * when the size is zero. PSWD_ENCODINGS * object is omitted by BIOS when the size is diff --git a/drivers/platform/x86/hp/hp-bioscfg/string-attributes.c b/drivers/platform/x86/hp/hp-bioscfg/string-attributes.c index e0ecdfca4def..378cedb502ba 100644 --- a/drivers/platform/x86/hp/hp-bioscfg/string-attributes.c +++ b/drivers/platform/x86/hp/hp-bioscfg/string-attributes.c @@ -203,7 +203,7 @@ static int hp_populate_string_elements_from_package(union acpi_object *string_ob if (string_data->common.prerequisites_size > MAX_PREREQUISITES_SIZE) pr_warn("Prerequisites size value exceeded the maximum number of elements supported or data may be malformed\n"); /* - * This HACK is needed to keep the expected + * This step is needed to keep the expected * element list pointing to the right obj[elem].type * when the size is zero. PREREQUISITES * object is omitted by BIOS when the size is -- 2.34.1