From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B65B170 for ; Wed, 2 Jun 2021 13:43:14 +0000 (UTC) Received: by mail-io1-f42.google.com with SMTP id z24so2593437ioi.3 for ; Wed, 02 Jun 2021 06:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=bQwWMdNiop3KR5deOzjW/qoaepwqcvp7jJfbHI3zXtY=; b=JPtMWY4kgGga8R41zy7szTr3zo7j99f+OfcMYf3jZwLVSe7eCz6+i5RKPqO9EFb/6f Ett0SsYxZ1oWEBSe4AY+D5FyHsE63ePBYY2wG2/WeUQ0OvKdU54hH9KzaMXgrumXCtrx OvCC+X92lFHRNMwzTd1/AE0BhtspPGgsL+eqE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bQwWMdNiop3KR5deOzjW/qoaepwqcvp7jJfbHI3zXtY=; b=snjhx4TzmBHHazcenKqoQ7ArJ8Ter82qckgFT5vKA5U+mRpsLnWO2KpV5nNbTIq2/E v7YX0gcESnyiykrYgvywg0id2MIShsoPWUUb+xBA4He1FtQa3p4Qj5lX8LJF8qSgKxvo u6GT+q7kbtBJndsCLLKJTndfoeXQMkS35YNGfK7gfziWNWdu4UGcK3xLUaoQIypjWX8S R7AUpche+20X4Tq/2/ShqETKS1nveotAgs9XR6dR9oTuZbOI+Wp5BoqR6ng/ewear+no F0zKu7CEmBmCm2YcqDwv+dgQ+MmTQfqb78jwwEugD6xc7gt8QIZzDBqmaCPPO6mifqLT jVYg== X-Gm-Message-State: AOAM5308OgXLpCvPaY7ubA/cwlpQtOAk6ZkmiI/ADjmEBpzUzNI5eC6u fHF6A98ip/ITDWkYHZPhbUdbFA== X-Google-Smtp-Source: ABdhPJzI132qPNGQXEIRmSa3fSS7UK52IeTZVxH49vKtqdaD+xrMOSB2COZPmz0sKUk9M9cC2VPEtA== X-Received: by 2002:a05:6638:343:: with SMTP id x3mr9697267jap.101.1622641393970; Wed, 02 Jun 2021 06:43:13 -0700 (PDT) Received: from [172.22.22.4] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id i12sm51270ilk.22.2021.06.02.06.43.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Jun 2021 06:43:13 -0700 (PDT) Subject: Re: [PATCH] staging: greybus: fixed the coding style, labels should not be indented. To: sh4nnu Cc: Rui Miguel Silva , Johan Hovold , Alex Elder , Greg Kroah-Hartman , greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20210602133659.46158-1-manikishanghantasala@gmail.com> From: Alex Elder Message-ID: <9a3878fd-3b59-76f5-ddc7-625c66f9fee8@ieee.org> Date: Wed, 2 Jun 2021 08:43:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20210602133659.46158-1-manikishanghantasala@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 6/2/21 8:36 AM, sh4nnu wrote: > From: Manikishan Ghantasala > > staging: greybus: gpio.c: Clear coding-style problem > "labels should not be indented" by removing indentation. These are not labels. I don't really understand what you're doing here. Can you please explain why you think this needs changing? -Alex > Signed-off-by: Manikishan Ghantasala > --- > drivers/staging/greybus/gpio.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c > index 7e6347fe93f9..4661f4a251bd 100644 > --- a/drivers/staging/greybus/gpio.c > +++ b/drivers/staging/greybus/gpio.c > @@ -20,9 +20,9 @@ > struct gb_gpio_line { > /* The following has to be an array of line_max entries */ > /* --> make them just a flags field */ > - u8 active: 1, > - direction: 1, /* 0 = output, 1 = input */ > - value: 1; /* 0 = low, 1 = high */ > + u8 active:1, > + direction:1, /* 0 = output, 1 = input */ > + value:1; /* 0 = low, 1 = high */ > u16 debounce_usec; > > u8 irq_type; >