Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp290477rdg; Thu, 12 Oct 2023 06:01:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFe91L5q6k9l8yKTp5V50ZTlnCrs8IB5eBqlx9LOhTf26saXtX0aJ8513IDA96DXSlrH+ZC X-Received: by 2002:a17:902:cec7:b0:1c9:9144:574b with SMTP id d7-20020a170902cec700b001c99144574bmr11556066plg.49.1697115683507; Thu, 12 Oct 2023 06:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697115683; cv=none; d=google.com; s=arc-20160816; b=uvhTFeJL5hhE7Tf+uPqmfF6CamS2RbXRykULqEETP6RS25uL+OpW0B0gP4squhT4Yj hjO91NHXLDdUCCEUb6XvaLk01u5pACFEWyLpbpq2sUI//bCFFfH2+LlG/CdZ9bUYwAb+ cczP9h+FCzr49x6AgIzdISE7b3w70PNP+O+dRLXUP3B0yIZvKYSJ+0e7B2tzxrploLkJ RyROIKLzVnxS+k5z5qbTa4ErUMEpnSST48mlojfMf7NP/D062+ua0MJss/XDfq1Czm9N lZbkkZl+gexLYsdi+7vyzUshivZSeyC+uxtgVJF8YVR02LyoEqzYXO5YGDMNxfYv3blN 0T+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pQoGqYuqTvwSu613Ys7EIqrtJvPH/mkDrAYrf99lFN0=; fh=ZnUti2gZnxQ4faL6SQ7Scjdx8/nKyGuT6iXCe6BoPJQ=; b=o143FhvHTEesp5BxQn2UzO4YlJWgdmroot+Y6T3eNbNxkt47vMhU1/yGY2oOh7rhvw ilLRQomVIEt84gbOAH1e0lSAKAi8YdAs7uenc4Q4FG++Vfte4OaBeu67NmYNRtQqf27/ 9kZIRi+mEdZZr3/6qmw6J7YU8WLjsI+ZgiZ5nQaJTVl/w7sUTw1e/vH7sku5UB/8Ps4f BmmSpjjnYkoq5d1NV2vNttBSsJp5H9mwqSk8WoCK4gEmxKl7GrKaTBeGngkjWDOP0yao HA+AVfgJ8RJ1lt9iy7Uahhz9kOupVFRBoGPyuY+Y9IbdNWKAVlGn/qcH9xSMXc2EVynp 1WEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=L3YnvTmb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id d8-20020a170902654800b001c60c109ce7si2165163pln.295.2023.10.12.06.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 06:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=L3YnvTmb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 88F698233674; Thu, 12 Oct 2023 06:01:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347260AbjJLNBJ (ORCPT + 99 others); Thu, 12 Oct 2023 09:01:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343711AbjJLNBH (ORCPT ); Thu, 12 Oct 2023 09:01:07 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BA70BA; Thu, 12 Oct 2023 06:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697115665; x=1728651665; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=HlI9nRmiOWzTgfw2KPSLAj7uKfHlFCqpVjECnsGmXrU=; b=L3YnvTmbfnVx36DoAxC0eSVewynV8xdpVH3zCzmby74M4eNvzOKvVbS8 5mI8Je0cJ9HJCOVJivsJVaEifLyM/78qHdJwkU9HNiFgI47YlFTc4u4By l76makyHB6z9DyCKulU694t6IcizzgXNNLsWt03Y/HOocF57LQmYCaSMT 1WGKjNIyUb4p9FY9v6ViGw/q4FSGdtulNKo4Khp1j0A945K4jKnNMo0L/ bXb0IEWpYh8ac4XoA/Js5sGcLePYBdubb6UBzOmvdYK1d0jpbmx2fmvjF YFPcfYd0o8y8ShZzTsq4SZc1bMGTdUf1hsbvXg2VecviqZ7cxvLgLHDUf g==; X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="369977417" X-IronPort-AV: E=Sophos;i="6.03,219,1694761200"; d="scan'208";a="369977417" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2023 06:01:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10861"; a="704150482" X-IronPort-AV: E=Sophos;i="6.03,219,1694761200"; d="scan'208";a="704150482" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 12 Oct 2023 06:01:02 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qqvJE-0003SR-0c; Thu, 12 Oct 2023 13:01:00 +0000 Date: Thu, 12 Oct 2023 21:00:03 +0800 From: kernel test robot To: Werner Sembach , Pavel Machek , Lee Jones Cc: oe-kbuild-all@lists.linux.dev, Werner Sembach , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH] leds: rgb: Implement per-key keyboard backlight for several TUXEDO devices Message-ID: <202310122012.C2mSREZ7-lkp@intel.com> References: <20231011190017.1230898-1-wse@tuxedocomputers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231011190017.1230898-1-wse@tuxedocomputers.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 12 Oct 2023 06:01:19 -0700 (PDT) Hi Werner, kernel test robot noticed the following build warnings: [auto build test WARNING on lee-leds/for-leds-next] [also build test WARNING on linus/master v6.6-rc5 next-20231012] [cannot apply to pavel-leds/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Werner-Sembach/leds-rgb-Implement-per-key-keyboard-backlight-for-several-TUXEDO-devices/20231012-030206 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git for-leds-next patch link: https://lore.kernel.org/r/20231011190017.1230898-1-wse%40tuxedocomputers.com patch subject: [PATCH] leds: rgb: Implement per-key keyboard backlight for several TUXEDO devices config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20231012/202310122012.C2mSREZ7-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231012/202310122012.C2mSREZ7-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310122012.C2mSREZ7-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/leds/rgb/leds-tuxedo-ite8291.c:44: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Set color for specified [row, column] in row based data structure drivers/leds/rgb/leds-tuxedo-ite8291.c:79: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Just a generic helper function to reduce boilerplate code drivers/leds/rgb/leds-tuxedo-ite8291.c:96: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Update brightness of the whole keyboard. Only used for initialization as this doesn't allow per drivers/leds/rgb/leds-tuxedo-ite8291.c:116: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Update color of a singular row from row_data. This is the smallest unit this device allows to drivers/leds/rgb/leds-tuxedo-ite8291.c:138: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Write color and brightness to the whole keyboard from row data. Note that per key brightness is vim +44 drivers/leds/rgb/leds-tuxedo-ite8291.c 42 43 /** > 44 * Set color for specified [row, column] in row based data structure 45 * 46 * @param row_data Data structure to fill 47 * @param row Row number 0 - 5 48 * @param column Column number 0 - 20 49 * @param red Red brightness 0x00 - 0xff 50 * @param green Green brightness 0x00 - 0xff 51 * @param blue Blue brightness 0x00 - 0xff 52 * 53 * @returns 0 on success, otherwise error 54 */ 55 static int leds_tuxedo_ite8291_set_row_data(row_data_t row_data, int row, int column, 56 u8 red, u8 green, u8 blue) 57 { 58 int column_index_red, column_index_green, column_index_blue; 59 60 if (row < 0 || row >= LEDS_TUXEDO_ITE8291_ROWS || 61 column < 0 || column >= LEDS_TUXEDO_ITE8291_COLUMNS) 62 return -EINVAL; 63 64 column_index_red = 65 LEDS_TUXEDO_ITE8291_ROW_DATA_PADDING + (2 * LEDS_TUXEDO_ITE8291_COLUMNS) + column; 66 column_index_green = 67 LEDS_TUXEDO_ITE8291_ROW_DATA_PADDING + (1 * LEDS_TUXEDO_ITE8291_COLUMNS) + column; 68 column_index_blue = 69 LEDS_TUXEDO_ITE8291_ROW_DATA_PADDING + (0 * LEDS_TUXEDO_ITE8291_COLUMNS) + column; 70 71 row_data[row][column_index_red] = red; 72 row_data[row][column_index_green] = green; 73 row_data[row][column_index_blue] = blue; 74 75 return 0; 76 } 77 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki