Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1737943rdb; Mon, 2 Oct 2023 22:01:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFd/XlSd1Lt+7acXfKPj+no+/35DxvJM4M0KXpkveT4RGxlAEe6wswByHm7EGY7J4dqZWEn X-Received: by 2002:a05:6870:ac12:b0:1d5:af57:e916 with SMTP id kw18-20020a056870ac1200b001d5af57e916mr17477619oab.16.1696309277901; Mon, 02 Oct 2023 22:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696309277; cv=none; d=google.com; s=arc-20160816; b=Eu8sRPVEh22wvRLDACrev/aNb2RVD7KhL6f6cBUXYx6qPNXEUfNpeQ1sumBhTtunxe zKcUdP01yf3oV0i0ic7OHU9Xydq4dR84jR40b+643ax1DhCNzNigr5HgMJOTlJkLSd37 FOYN/zbQcgvk5G67UnV/gBmGOGn8efvl2mCzfIN+NHmiCSicDuSF44X3RYIecRty6onj jqTw0d9H89zlYFRK8DJo+wIVKMyNvMn1fqEJNlUdUEzTxTB964INcyl1C2pAw02gz2fb WrXRhParKh9BWdotUFTLTdmtRLMovIRHblAwO00OEGC9djtm3eYCf0ckaQ8+NhF5RFGV bSLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=/4UXmhpiqh7iZ4g5MCkKGXK5u5GuDBNQm7k6OkRgMn8=; fh=2A+4KZ4JT6KEDBj985Ve1GPOHmmnmIq0KFCZjGPrHoA=; b=za6FH+DsPfvKxmx707wjfYJlLpvmFTGnN8TWfCGDoCJcnZoU5oJ7Zmz25ESsBsXjdv Og88pQ2zAkp8qoMJCu0QosiFnqjA/eK3ZcuN/0vnEjoh9w9z6pV6THL0/JU9AFQGcgKi D45KOCqhEjNb6N6/VOZ9JvzYsbPoMi+0rUKuofS3BqhzShROwKVRtftMzWpzYOkz4E1/ EYDFkXzc4A+iHwb+fdatFhg3YOzSMRG/AAO2W3+2tV1gWGZ4tVyep2DHrLZrlhob30qE vV8yJakLYwaNlwi2AEVXV+0Y1tKfGJFlPaYECnfISgau/VD7x+KrOFOLKtV0Yn+ljao2 yObg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bk13-20020a056a02028d00b005859b1b34f7si620424pgb.862.2023.10.02.22.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 22:01:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0F8CE801C002; Mon, 2 Oct 2023 22:01:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbjJCFBI (ORCPT + 99 others); Tue, 3 Oct 2023 01:01:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230049AbjJCFBE (ORCPT ); Tue, 3 Oct 2023 01:01:04 -0400 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94581A6; Mon, 2 Oct 2023 22:01:01 -0700 (PDT) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-32483535e51so554020f8f.0; Mon, 02 Oct 2023 22:01:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696309260; x=1696914060; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/4UXmhpiqh7iZ4g5MCkKGXK5u5GuDBNQm7k6OkRgMn8=; b=YqkrGrbDoMuX4E9U7aM61OBlEmORGhDX5eJ+dXyB9ujJnQGClhgRu9Sd+nIQBzL33C Qlc8xyOEBErULgreRTbGpg6q4wtnVY4oYNNHOwFGfLsI8UO5y3fzO4QOT7NO6NJT+3N7 KQcZV5u1qVKj+ANocTey3S0ExsIK6IrphBnUW3/p9Tc6TW7MkZiHjkMiPNDMIqB5qRa4 0XY67oJwylwxo1tGqKfy3WsosO2lO9DsGJtLZkMccddFKTWB4zV+XZL3wFkL9H8rUApj +OIQYfWgWW0seh+EWFVKFq6tWMacDk9c1dHIPWerCQFc8VGsn3v73jelNreiHOP0Y2k3 ojxg== X-Gm-Message-State: AOJu0YxqrnHYwu3NLGTCpjC14MOGul5dk7fdxD7byMki/ohNKTgiwOir 3W64oadqvavTRS/qV5dZ324= X-Received: by 2002:a5d:574f:0:b0:31f:97e2:a924 with SMTP id q15-20020a5d574f000000b0031f97e2a924mr11484669wrw.14.1696309259752; Mon, 02 Oct 2023 22:00:59 -0700 (PDT) Received: from ?IPV6:2a0b:e7c0:0:107::aaaa:59? ([2a0b:e7c0:0:107::aaaa:59]) by smtp.gmail.com with ESMTPSA id f17-20020a056000129100b003247f732c07sm587799wrx.12.2023.10.02.22.00.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Oct 2023 22:00:58 -0700 (PDT) Message-ID: Date: Tue, 3 Oct 2023 07:00:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/4] trigger: ledtrig-tty: move variable definition to the top Content-Language: en-US To: Lee Jones , Florian Eckert Cc: Eckert.Florian@googlemail.com, gregkh@linuxfoundation.org, pavel@ucw.cz, kabel@kernel.org, u.kleine-koenig@pengutronix.de, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-leds@vger.kernel.org, kernel test robot References: <20230928132632.200263-1-fe@dev.tdt.de> <20230928132632.200263-4-fe@dev.tdt.de> <20231002140559.GB8453@google.com> From: Jiri Slaby Autocrypt: addr=jirislaby@kernel.org; keydata= xsFNBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjFY0f3qIRg3Vqh5QxPkojGsq9tXVFVLEkSVz6FoqCHrUTx wr+aw6qqQVgvT/McQtsI0S66uIkQjzPUrgAEtWUv76rM4ekqL9stHyvTGw0Fjsualwb0Gwdx ReTZzMgheAyoy/umIOKrSEpWouVoBt5FFSZUyjuDdlPPYyPav+hpI6ggmCTld3u2hyiHji2H cDpcLM2LMhlHBipu80s9anNeZhCANDhbC5E+NZmuwgzHBcan8WC7xsPXPaiZSIm7TKaVoOcL 9tE5aN3jQmIlrT7ZUX52Ff/hSdx/JKDP3YMNtt4B0cH6ejIjtqTd+Ge8sSttsnNM0CQUkXps w98jwz+Lxw/bKMr3NSnnFpUZaxwji3BC9vYyxKMAwNelBCHEgS/OAa3EJoTfuYOK6wT6nadm YqYjwYbZE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JljuOGeXYh6ZkIEyzqzffzBLXZCujlYQ DFXpyMNVJ2ZwPmX2mWEoYuaBU0JN7wM+/zWgOf2zRwhEuD3A2cO2PxoiIfyUEfB9SSmffaK/ S4xXoB6wvGENZ85Hg37C7WDNdaAt6Xh2uQIly5grkgvWppkNy4ZHxE+jeNsU7tg= In-Reply-To: <20231002140559.GB8453@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=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 agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 02 Oct 2023 22:01:14 -0700 (PDT) On 02. 10. 23, 16:05, Lee Jones wrote: > On Thu, 28 Sep 2023, Florian Eckert wrote: > >> The Intel build robot has complained about this. Hence move the commit >> of the variable definition to the beginning of the function. > > Please copy the robot's error message into the commit message. Ah, lkp, then also the Closes: line as it suggests. >> Reported-by: kernel test robot >> Signed-off-by: Florian Eckert >> --- >> drivers/leds/trigger/ledtrig-tty.c | 3 +-- >> 1 file changed, 1 insertion(+), 2 deletions(-) >> >> diff --git a/drivers/leds/trigger/ledtrig-tty.c b/drivers/leds/trigger/ledtrig-tty.c >> index 8ae0d2d284af..1c6fadf0b856 100644 >> --- a/drivers/leds/trigger/ledtrig-tty.c >> +++ b/drivers/leds/trigger/ledtrig-tty.c >> @@ -82,6 +82,7 @@ static void ledtrig_tty_work(struct work_struct *work) >> { >> struct ledtrig_tty_data *trigger_data = >> container_of(work, struct ledtrig_tty_data, dwork.work); >> + unsigned long interval = LEDTRIG_TTY_INTERVAL; >> struct serial_icounter_struct icount; >> int ret; >> >> @@ -124,8 +125,6 @@ static void ledtrig_tty_work(struct work_struct *work) >> >> if (icount.rx != trigger_data->rx || >> icount.tx != trigger_data->tx) { >> - unsigned long interval = LEDTRIG_TTY_INTERVAL; >> - >> led_blink_set_oneshot(trigger_data->led_cdev, &interval, >> &interval, 0); >> >> -- >> 2.30.2 >> > -- js suse labs