Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3705341rwi; Fri, 21 Oct 2022 22:00:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4yW8lo4HYzQxxchJwxBRzuOxxPZTe3Y1+H9uYmldJAickQko+8sNucER/QGg5oT/MvAjIc X-Received: by 2002:a17:907:3181:b0:787:d81c:a6ad with SMTP id xe1-20020a170907318100b00787d81ca6admr18574326ejb.769.1666414849331; Fri, 21 Oct 2022 22:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666414849; cv=none; d=google.com; s=arc-20160816; b=a/WmwW8rCPsYPUKeMIlg302zn1nuojAl50uP5xiNZoFa0LwIZGzn3H42BWcOHZOgA6 r8A2cf+zH+h/MINlJNSFxXBjQZR9QvHK4EgVIDJx0aK7E4fOMuJwcnJUhQ9VzJ1W7F41 dgeFJoB0u4+tWLuoOuNsOIqAPQID18XEszqjZ2DdG+s7MuzaWlL88ZKbfd+28NKwPFwh WJ3sW6ztmJbUP5LsGZ05+Z/LXQ+qMFf4uJ1Cof9aYkWXAzPk4Vb9kwYvpwPYhoZ/qD8Q izdx7aaXqbG785J+7EXfiZcazo5W4RALhFsbOW3etWMpilg/ZVTB7l6EnccmXvHECkh8 9GuQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=lL9hWr+hhuL8sq+3nMErhUNcsb9i2w8SB2V2+Hb7wEw=; b=DSVF23sWcfIGR7hg+z1/M1MCv2IpQyp9UkHgbJ4l+zmokvTUhZLt+s1+gmOjoqad4w oD3U9S/vLWobrU+x9w6odmqd/wPbmlFTIG80WpbTyYDrINQg/PB1DBxp9TRFcraQ83eb dH6Q5ylk3Ean7OVwrLUl4i8QAEBlt80NBPku9zW/NzX18SS1bbHkvdDP1p/a/3BVs8kl pYg+z0RQx5R0p1BiBpmkK0ZYVYBIi1sF60Ak3wP7znNOf6bhJwhZjco+5bBZngQV2TpS Ewn5+r9HHOrft2t29Q+3CkoOpjcVGauM/3LkQKWC0iu8Q9vuEYK4jmuNPyj2jt4PgBPo 8V3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZLho6sIk; 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 d11-20020a170906370b00b007818378f560si16757274ejc.383.2022.10.21.22.00.23; Fri, 21 Oct 2022 22:00:49 -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=ZLho6sIk; 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 S229867AbiJVEjp (ORCPT + 99 others); Sat, 22 Oct 2022 00:39:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiJVEjn (ORCPT ); Sat, 22 Oct 2022 00:39:43 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82F1B1AF1D for ; Fri, 21 Oct 2022 21:39:42 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id b12so12840994edd.6 for ; Fri, 21 Oct 2022 21:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lL9hWr+hhuL8sq+3nMErhUNcsb9i2w8SB2V2+Hb7wEw=; b=ZLho6sIk+j0kfjgtZxqEK2p28HrY5vrMe91vgeNfh5s5m4qf7eJpcgLeDQImWXDTNH zC1fFw8sYXed0XV5AxnPzhINrEhWLGiEsOt1pE06kFi5hdTUTY2NZXKJKSN+UZMwpge1 ixABtIILYnHCuCD3J9luQlW7C2DT7UDpd6bOhvAQzySlco7TX/rU4YRoCShCW/uUmmgS BgNAAuBWjXenyV+YeZH6DjS6wVkxPBVoJ0/r0QLXqwAerGYgKXBmQCJKtvUKm+A7VNfh tE0j2uRd8htLViU1jMHZi6rloo8gZRdbiMYHdnQE+JJLZYqa2NRRGNHn0l5rDLxYYMeP mAFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=lL9hWr+hhuL8sq+3nMErhUNcsb9i2w8SB2V2+Hb7wEw=; b=g7PAOM8TLqhEL/vj34Z9WPOJwDhQyg8YpQvhv5D6FzAfvfmDVlEOz5er9EIRRpUfe8 B+RnRqzEEs2tABKmqOg4TKttkZxr7WWVaCDkDam2bbLsA0pWKulsAx2TvAoTHt+cX7UE elX97TS/sHk+lxz490Su79gkYCYiFJ7pWJ2aOt5igVM9y2g7EDn6pHy8BZHJV6GC9vge VU1HP0segJw6Gv4pRZJNSz4rZFAHAHFo20M9QFMTjr81xw0rvaj1MaYSrLEsgPs47Jgv UyZ3ayzYJFXdE5mhLMZGfg1/HbTqOp0ycxNOhlTLj2AckqS4kkWhCGM6kVmeMjoRJqth 2Mww== X-Gm-Message-State: ACrzQf2GYUu7QhqqBrmqzRFRZt+qZTqSa29KNATjFUmb9Kq7raG7JEk1 WZxb3ngNVwJvepnajqx1Rz4= X-Received: by 2002:a17:906:cc0f:b0:7a0:b91c:855f with SMTP id ml15-20020a170906cc0f00b007a0b91c855fmr1434880ejb.26.1666413580897; Fri, 21 Oct 2022 21:39:40 -0700 (PDT) Received: from ?IPV6:2003:c7:8f3e:6a47:f906:12eb:e934:9c2e? (p200300c78f3e6a47f90612ebe9349c2e.dip0.t-ipconnect.de. [2003:c7:8f3e:6a47:f906:12eb:e934:9c2e]) by smtp.gmail.com with ESMTPSA id 23-20020a170906311700b00771cb506149sm12511561ejx.59.2022.10.21.21.39.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Oct 2022 21:39:40 -0700 (PDT) Message-ID: <5bb36c2c-c0a8-905d-3e6d-f42cd8e9f9c7@gmail.com> Date: Sat, 22 Oct 2022 06:39:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 4/6] staging: vt6655: refactor long lines of code in s_vGenerateTxParameter Content-Language: en-US To: Tanju Brunostar Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev References: <03dd39114b1e5c029cd8022245403a079ff03ae7.1666347511.git.tanjubrunostar0@gmail.com> <02a45afb-f81d-639c-1cc6-6376e31351a6@gmail.com> From: Philipp Hortmann In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, 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 10/21/22 20:14, Tanju Brunostar wrote: >>> Error during compiliation in next line >>> >>>> + struct vnt_rrv_time_ab *buf = 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 ‘s_vGenerateTxParameter’: >>> drivers/staging/vt6655/rxtx.c:1014:34: error: ‘pvRrvT’ undeclared (first >>> use in this function) >>> 1014 | struct vnt_rrv_time_ab *buf = pvRrvT >>> | ^~~~~~ >>> drivers/staging/vt6655/rxtx.c:1014:34: note: each undeclared identifier >>> is reported only once for each function it appears in >>> drivers/staging/vt6655/rxtx.c:1015:5: error: expected ‘,’ or ‘;’ before >>> ‘ime’ >>> 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 = pvRrvT >>>> + ime; which do not compile. Bye Philipp