Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3759444rwi; Fri, 21 Oct 2022 23:05:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7FRRykLpCa6nJrASw0m0bvqlbmP/otigcfhfKCnbT0qM0wTbkR++DF03FSF7CEa5sPeWG+ X-Received: by 2002:a05:6402:1e88:b0:45d:88f:4b99 with SMTP id f8-20020a0564021e8800b0045d088f4b99mr21252820edf.236.1666418751374; Fri, 21 Oct 2022 23:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666418751; cv=none; d=google.com; s=arc-20160816; b=N72BH+yKe8B+2133dIgejYbA4pivrxREhCh4/3IOlbI7F2hOE2s5DBdZNu0GgeB919 qRVY8Ea4d5XykjDC+0+NY2ScBDSQgceoM0b0SzkgdD0sDwkNRxOmV3MMXDii+I3wGZ52 rP/VSf95fqbv3LSl1u0C3LxWK1UO47P6WY+Lkqb8cJyBq1KzCa51XG9H/vKrwZloe7sf lda+K9EZaS8+zLX365Xu7VgSId49FZ6ZoQZ3MEFW51yp2YOdvMDep5+w4q0ItXkFXjYp ehBFvh/aF9COcG9KbI/CCRVr7T5hK5cEnPfB/vfQ+YTlYLJjWXV5GSmutyf373EP8wo6 6CFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mq8vgxJPi9qRVLA99cJm5hDsGpgcQJTOYbogoNjK3a0=; b=IFAepuJk8Y2lxBAt0WPZUe97AgTNmwBwYTLigImJpYdDRw19yBjUV8V/pqx8r8BZes StUg56q9rIybSytAFiKztKRbTaWNl75G7hrEMVYhzRU3fORZIEvgkr9wtuqTW4m4hUsE ucXOKLEoc3h7asuZFJ1ldyzPoSdCN/+L/elpe7rLMx9P/ANeIqNhdd0N2NZJ3t/uijkZ bXocVHX3JBHzky2xBo3UmE6+egpOGZKucpzboFOnghpdOqydZ3EijHazyodmkDtdsgNL 0TXhZscBrijzfiEcnWBybIug35kPbDrtLln6TF7/muiHU4sHUeZ21NAkTsDP45XK6OaD dajA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iuzbHD1N; 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 i37-20020a0564020f2500b0045fc914660csi6986897eda.200.2022.10.21.23.05.22; Fri, 21 Oct 2022 23:05:51 -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=20210112 header.b=iuzbHD1N; 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 S229845AbiJVFtj (ORCPT + 99 others); Sat, 22 Oct 2022 01:49:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbiJVFtg (ORCPT ); Sat, 22 Oct 2022 01:49:36 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D9310FD4 for ; Fri, 21 Oct 2022 22:49:28 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id z8so2930125qtv.5 for ; Fri, 21 Oct 2022 22:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mq8vgxJPi9qRVLA99cJm5hDsGpgcQJTOYbogoNjK3a0=; b=iuzbHD1NM69QHYbaqOY+BK2zsxZ+OWnP6v9ksN2e4pMGQ1VPwkxGEpgw9ZWpnrywTm pNscVc4kIX02AsAmiHKtH+8gETsoVQQMvhfGIiu2T650DKVQmptVf3KVrlfayXeG1UyV ZRF8Gbc9DSzUOMYygDguP4vJ8zhtLQaVnvmBvWyrO8KA7OR9iUPKDlQ5p+p8uXMJKJpO trzXLei3WbZVWeaPi4wmxkbpR39I2OSKjgtW5zjTmR02556f8thi1D3nPJuzv1ZTXgkp 6VIbIrWEzO1n/j+as94XSslnTMLZndP+DfqqacsJ2JYMLM0oIfcnavy1G7x+VfnCVEes jIXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mq8vgxJPi9qRVLA99cJm5hDsGpgcQJTOYbogoNjK3a0=; b=FQX2T6iznkBrdqGJs//DBMRJ049Wmc2tVcjmdTR7TvCdxKSbwTO6B66NxQjwmR6WxQ IyFHX36dTHzc6wmp7eSvZcSeSdBuOIkxn40Ayk52enoG6TOnVa8225d2GeMD+JGJyYIx ZUcmWaQQMdBDD9oJYcMgfDCqQpYzLLuH/rk9yLQEEfZ0lH9cp1SnL2bETcWxioV0MgL4 6Khsi+9m6g5/P66+B3LdqVk/Y3D5gJttzkqK8CTevrYgKNCFfK2sQ/skSBc+0G2fjdsC xsfZhXmglWiib+DLovfPmgtb2d1kDSgFOEEWSeLMbov6hM7L3wu4WeIm+KKKeataO6gL r2Wg== X-Gm-Message-State: ACrzQf0Odwm3ikasvMjo7F21zTOEcMQe9KBgqxnNjod1/zwUSvfSX26P 1CZJg/gOEP3MNPRri08efsbPhB993AUz714zUfM= X-Received: by 2002:ac8:5902:0:b0:39c:e440:6adb with SMTP id 2-20020ac85902000000b0039ce4406adbmr19333958qty.18.1666417768051; Fri, 21 Oct 2022 22:49:28 -0700 (PDT) MIME-Version: 1.0 References: <03dd39114b1e5c029cd8022245403a079ff03ae7.1666347511.git.tanjubrunostar0@gmail.com> <02a45afb-f81d-639c-1cc6-6376e31351a6@gmail.com> <5bb36c2c-c0a8-905d-3e6d-f42cd8e9f9c7@gmail.com> In-Reply-To: <5bb36c2c-c0a8-905d-3e6d-f42cd8e9f9c7@gmail.com> From: Tanju Brunostar Date: Sat, 22 Oct 2022 06:49:15 +0100 Message-ID: Subject: Re: [PATCH v2 4/6] staging: vt6655: refactor long lines of code in s_vGenerateTxParameter To: Philipp Hortmann Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On Sat, Oct 22, 2022 at 5:39 AM Philipp Hortmann wrote: > > On 10/21/22 20:14, Tanju Brunostar wrote: > >>> Error during compiliation in next line > >>> > >>>> + struct vnt_rrv_time_ab *buf =3D pvRrvT > >>>> + ime; > >>> make: Entering directory '/home/kernel/Documents/git/kernels/staging' > >>> CC [M] drivers/staging/vt6655/rxtx.o > >>> drivers/staging/vt6655/rxtx.c: In function =E2=80=98s_vGenerateTxPara= meter=E2=80=99: > >>> drivers/staging/vt6655/rxtx.c:1014:34: error: =E2=80=98pvRrvT=E2=80= =99 undeclared (first > >>> use in this function) > >>> 1014 | struct vnt_rrv_time_ab *buf =3D pvRrvT > >>> | ^~~~~~ > >>> drivers/staging/vt6655/rxtx.c:1014:34: note: each undeclared identifi= er > >>> is reported only once for each function it appears in > >>> drivers/staging/vt6655/rxtx.c:1015:5: error: expected =E2=80=98,=E2= =80=99 or =E2=80=98;=E2=80=99 before > >>> =E2=80=98ime=E2=80=99 > >>> 1015 | ime; > >>> | ^~~ > >>> make[1]: *** [scripts/Makefile.build:250: drivers/staging/vt6655/rxtx= .o] > >>> Error 1 > >>> make: *** [Makefile:1992: drivers/staging/vt6655] Error 2 > >>> make: Leaving directory '/home/kernel/Documents/git/kernels/staging' > >>> > >> This error occured on the first version of this patch. I corrected it, > >> compiled the code and the error was gone before I sent this version. > >> please check again. You may have seen this error on the first version > >> and not this one. > >> thanks > >> > >> Tanju > > On the first patch, this error was detected by the kernel bot. This > > time around, the kernel bot did not detect it, meaning it was fixed. > > Please check the outbox of your email account and have a look. This is > the v2 Patch and it contains this two lines: > >>>> + struct vnt_rrv_time_ab *buf =3D pvRrvT > >>>> + ime; > which do not compile. > > Bye Philipp Oh you are right. I don't know how this is possible. I will send a third version.