Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp231262ybg; Sun, 26 Jul 2020 02:45:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFvRyqkt8OJ/GYKO16a8SNxWlTWGnxEt6ABcyiBFXhlXM4LVAu+8zpjYFXtNISr5VmuTi3 X-Received: by 2002:a50:bb2f:: with SMTP id y44mr16583922ede.351.1595756732478; Sun, 26 Jul 2020 02:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595756732; cv=none; d=google.com; s=arc-20160816; b=zWDimPD7jtjmKWOT/96I/xRRERp9rqdIxDUuVOeaJHbaIw3R5co94gAs+s8PqVyRLo zX0+c5jMfGR8jRLWADW4+SuxswBd2ldsIevMRKOU1pIlITMJ2sH334BjdaXoDuW1xumR cQncJAQf2fWCNmWqXD0hYd+prZjXYo3dLJ9rd0MfRa+0bZBfz/Wm8wd6Rsv7CSPyAiCV K5Iieqy3LsA+wgiFtIsDc2+9ByHq0M5H1AG7T8GHR3aI+tgq9hDU+lYz1YcYUD8G6+wd Rc3Nbnxa73uBbUZtDtV1mW5txJ/OwKeQDSEM23wo1oMez7+S56d4kX9GLQv7eRup4/9m x3Jw== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=R8/uNn9dj0QgbCZTPS+VvaQPQ9LdMBFsIH1QUfLW8m8=; b=SePJyaDeFqDN2j7N74xRIDe5odUF7M2uRa0WMgGW86TLE2RlqTjA/tKov/X9jhausW B0HL8hyqpYw8LL7dwXgb/NQQ7y2RMlnwiGAo5d03kDJe4Iq8U8O+w7r8/HkEjzYQq4MX HlvoKLuaAF81HEwllgoZq6nqsKgZCzeEgDX6/TfTRHEFIk6hTSGneHXKQW3FqOjB+6XF 3bkFJX1/Nh+5NP5EIkuUgW0tVLIPwY8HGrywQW4G5yqFMMFsIvE9BqcoPuMRWXoLijeu ozxnToUsVf6uMUOrxDSRkniBk2tIUvEV5VJdJYW/92jXZSEX97ZnRgt6EayfIe0LtnUL yXVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Lm4qRcFf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j92si1758030edd.310.2020.07.26.02.45.08; Sun, 26 Jul 2020 02:45:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Lm4qRcFf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726878AbgGZJm3 (ORCPT + 99 others); Sun, 26 Jul 2020 05:42:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:52574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgGZJm2 (ORCPT ); Sun, 26 Jul 2020 05:42:28 -0400 Received: from coco.lan (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2A5992065C; Sun, 26 Jul 2020 09:42:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595756548; bh=xU3mIY5/hOHJA9Dae120zT2CM7tU7BcJpSsWowzvqcU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Lm4qRcFfX69sVvN8HloMzZSOCi0Ezg2P6d3048kP4DtpGl11HJxusW9XiM2YhG1Z7 nOe9QBhlaD+gvKLOlmPPdYLbfkVxVTO2V0628CnUeQ2TTEgeT5bZkecaUA5I0L5G7h 473Xm9s4iPMV22fPUrYd8YUCz+EUgJVrsnyMAEqU= Date: Sun, 26 Jul 2020 11:42:24 +0200 From: Mauro Carvalho Chehab To: Rohit K Bharadwaj Cc: sakari.ailus@linux.intel.com, gregkh@linuxfoundation.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/4] staging: media: atomisp: fix style of open brace Message-ID: <20200726114224.1825a769@coco.lan> In-Reply-To: <20200726090512.20574-2-bharadwaj.rohit8@gmail.com> References: <20200726062541.11304-1-bharadwaj.rohit8@gmail.com> <20200726090512.20574-2-bharadwaj.rohit8@gmail.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sun, 26 Jul 2020 14:35:12 +0530 Rohit K Bharadwaj escreveu: > this patch fixes style of open brace after functions and if statements > > Signed-off-by: Rohit K Bharadwaj > @@ -119,8 +121,9 @@ sh_css_load_blob_info(const char *fw, const struct ia_css_fw_info *bi, > blob = (const unsigned char *)fw + bi->blob.offset; > > /* sanity check */ > - if (bi->blob.size != bi->blob.text_size + bi->blob.icache_size + bi->blob.data_size + bi->blob.padding_size) > - { > + if (bi->blob.size != > + bi->blob.text_size + bi->blob.icache_size + > + bi->blob.data_size + bi->blob.padding_size) { Please adjust the alignments here. I'm pretty sure checkpatch --strict will end complaining with the above, as the first line ends with "=". I would, instead, code it as: if (bi->blob.size != bi->blob.text_size + bi->blob.icache_size + bi->blob.data_size + bi->blob.padding_size) { Thanks, Mauro