Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752069AbdLBPi3 (ORCPT ); Sat, 2 Dec 2017 10:38:29 -0500 Received: from dd39320.kasserver.com ([85.13.155.146]:36614 "EHLO dd39320.kasserver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751747AbdLBPi2 (ORCPT ); Sat, 2 Dec 2017 10:38:28 -0500 X-Greylist: delayed 486 seconds by postgrey-1.27 at vger.kernel.org; Sat, 02 Dec 2017 10:38:28 EST Subject: Re: [PATCH 4/5] staging: pi433: rf69.c style fix - code indent should use tabs To: Marcin Ciupak , Greg Kroah-Hartman Cc: Marcus Wolf , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <31389cbacb62d6a2c8e518d8c1374fa6ef2c4896.1507749358.git.marcin.s.ciupak@gmail.com> From: Marcus Wolf Message-ID: Date: Sat, 2 Dec 2017 17:30:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <31389cbacb62d6a2c8e518d8c1374fa6ef2c4896.1507749358.git.marcin.s.ciupak@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 40 Revieved-by: Marcus Wolf Am 11.10.2017 um 21:24 schrieb Marcin Ciupak: > This patch fixes the following checkpatch.pl error: > > ERROR: code indent should use tabs where possible > > in rf69.c file as requested by TODO file. > > Additionally some style warnings remain valid here and could be fixed by > another patch. > > Signed-off-by: Marcin Ciupak > --- > drivers/staging/pi433/rf69.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c > index 23d609474836..6420d1b67ccc 100644 > --- a/drivers/staging/pi433/rf69.c > +++ b/drivers/staging/pi433/rf69.c > @@ -959,8 +959,8 @@ int rf69_read_fifo (struct spi_device *spi, u8 *buffer, unsigned int size) > /* prepare a bidirectional transfer */ > local_buffer[0] = REG_FIFO; > memset(&transfer, 0, sizeof(transfer)); > - transfer.tx_buf = local_buffer; > - transfer.rx_buf = local_buffer; > + transfer.tx_buf = local_buffer; > + transfer.rx_buf = local_buffer; > transfer.len = size+1; > > retval = spi_sync_transfer(spi, &transfer, 1); > -- Marcus Wolf Wolf-Entwicklungen Helene-Lange-Weg 23 80637 München