Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2141260ybb; Sun, 29 Mar 2020 23:49:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv0qFHjxm0uboWJjIIzRpShFuWrmbekOzXo9So/SpfBBn4/UtMmjyDgb0Dj8gD4Iv8YtSBC X-Received: by 2002:a4a:8241:: with SMTP id t1mr8461090oog.57.1585550954280; Sun, 29 Mar 2020 23:49:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585550954; cv=none; d=google.com; s=arc-20160816; b=z7fAjztUQHP2/cnyd1Lj4cncnk/Ee9U91G/vhKWat9Bo9yBGwVmtxMks4cuYyCIBE2 d47tVXkpC/ONAz9OIWJ3Zf49g4nLHjBwDxgULXkVTohKLtzkvHEIb3l9QmTLJ4oagN9p 6rcq/hhKe2hbO1iBNUK5grNAd5GYc4SGvua+pXiJyHXQf/fJiK88vzRg13blstkUugS5 4RobJluq3Rs1hnwQ/+Z59UHXQPojkeCHy0/0UY4/ZCYLv74BcBe9b2sOhROL7hHqMheo hI7caXdCwDp4sba0smzWHhu8k+om2ZVGxo7qRYOGavPceofvGf+CeneEblbknyUVy7m9 /P5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=nyfUsO/T0E/7xzoexsaycHqsJ0KjG21nQpinw4BcqNI=; b=WaAV9kTFF/EN7vzlaufyZg6HiqeXRYcrVaZHPNclY81pFccq6q5994jhw1zLgjA0A2 f7UknuMaNaXsX1h0jEJ1x5vNz4ZIWnsV/+AaCLv0kC50G+z9s1oeUaDC5tRYanzTbJ/V hTbpgFs11LjWPbA1oaFmKWCRhu0iiZ18pwwabihY3eWVf70PK0bawLOw9hZnNj400NXa MTM28o1jYu+1yv+r/fUpjf1xIBfLH/dF6R/Md4UI8YxLGcMgqxzH1sR3bCbfXiVfhczS 60eNoipM3XmSDK0opKI9X5rgGU29f0piZ4tyu8NEbuNCZapprg60xrZxlAlYHFn9hw71 ky0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QELm2Snu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4si5400770oie.121.2020.03.29.23.49.02; Sun, 29 Mar 2020 23:49:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QELm2Snu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729313AbgC3GsG (ORCPT + 99 others); Mon, 30 Mar 2020 02:48:06 -0400 Received: from us-smtp-delivery-74.mimecast.com ([63.128.21.74]:56602 "EHLO us-smtp-delivery-74.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728964AbgC3GsG (ORCPT ); Mon, 30 Mar 2020 02:48:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585550885; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nyfUsO/T0E/7xzoexsaycHqsJ0KjG21nQpinw4BcqNI=; b=QELm2SnuO61IbHdsql4RZvR7dvtdBzscGLNtyZje428ahc0O6LQY+tlRH9bUf3xfd7YJI1 7PHDzk14La1+LfUKqnGohyZu0W3jT5jr79lD+v+SVEeAEKAAmfmHLHCEE/Aj3G13MWHRTq cflQM/ud7ccSs1BTq9HI15IPQKXHTjY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-54-oot0cUrMMpKseoO5axt2Pg-1; Mon, 30 Mar 2020 02:48:01 -0400 X-MC-Unique: oot0cUrMMpKseoO5axt2Pg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 05523102CE14; Mon, 30 Mar 2020 06:48:00 +0000 (UTC) Received: from elisabeth (unknown [10.40.208.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EAC7B5E009; Mon, 30 Mar 2020 06:47:57 +0000 (UTC) Date: Mon, 30 Mar 2020 08:47:52 +0200 From: Stefano Brivio To: Simran Singhal Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: rtw_cmd: Compress lines for immediate return Message-ID: <20200330084752.7a0557ca@elisabeth> In-Reply-To: <20200325212253.GA8175@simran-Inspiron-5558> References: <20200325212253.GA8175@simran-Inspiron-5558> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Mar 2020 02:52:53 +0530 Simran Singhal wrote: > Compress two lines into a single line if immediate return statement is found. > It also removes variable cmd_obj as it is no longer needed. > > It is done using script Coccinelle. This should be consistent. What does "it" refer to, now? If you start with an imperative mode, switching to indicative makes it hard to follow. By the way, Coccinelle is not exactly a script. Saying something is detected by Coccinelle is enough, you don't need to qualify that further. -- Stefano