From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82F7EC3DA59 for ; Mon, 22 Jul 2024 09:11:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:CC:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UZ8qbwV8H5Uru+28S5SaGf9Alhy/rbNI7CI4WhPzKlU=; b=QQRn0E+s8uFRnDSs7qrElIOM9l vNZX44XgrprS5FK/6+g9VGdPP11Cqq9SsTKNLNeBIcfazHgvgi6Ynjqsp9282xYQ0UmyKNYINOVjm yyHeninvqVbvWrns6QHIOALlq1LF0SrfEhg+CbiUJv0E9fPr1163O/sEqFLyCuKY+9Q+h4Negxo3r /bNYv5LVQjhgVGmcBT1qh/zJhJQQC0Ha59uvgk9Bc/wuhltI80zfZ7N33lOtbljUEGfHIpHiOzfzj 94ReY4/xBeBpoJ9jannq97txMqiiKJ+CDXWLWDrBT515+R8VnOpf8lDENll05/HsXF/AhKrAbbNQZ 2kj1NxeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVp4J-00000008zVy-2jEe; Mon, 22 Jul 2024 09:10:55 +0000 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVp3w-00000008zPJ-1QOM for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2024 09:10:33 +0000 Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46M7wtTW005443; Mon, 22 Jul 2024 02:10:15 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=pfpt0220; bh=UZ8qbwV8H5Uru+28S5SaGf9Al hy/rbNI7CI4WhPzKlU=; b=dzmm2rB7zo2tr5pLB+fubm3C4F6L+MIp6nF8GXX04 iNvpNVXVUgJWJvk/hBTfDvo3Vg4tmnyR7vFcRV4//Gnk6jGloxEvfVMr+LG4jEEw wxSDKEUJCZM1rKOaGzn0hm/UkdpjRbr3pnDUuCHyR3iVl/6aGVoFhLc3lneECGd/ TNYqYgoqztuERvV0GYvJt8y3e2A7AmA06dcOgZVQdrf4CtEsQX1QA0BXgMRjoTqw J25xtF2PNgH9FF56Vj0VYemw/a/WCVeW7297NaUk8soVQS7MPe96oPcYCET+HkS+ L03Fssg9crdG1WBhbk6HsMuLkbydqsrbETSKCF6U12w8A== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 40hkgrr6yj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 Jul 2024 02:10:15 -0700 (PDT) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 22 Jul 2024 02:10:15 -0700 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 22 Jul 2024 02:10:14 -0700 Received: from test-OptiPlex-Tower-Plus-7010 (unknown [10.29.37.157]) by maili.marvell.com (Postfix) with SMTP id 971D73F7041; Mon, 22 Jul 2024 02:10:08 -0700 (PDT) Date: Mon, 22 Jul 2024 14:40:07 +0530 From: Hariprasad Kelam To: Alex Elder CC: Andrew Lunn , Ayush Singh , , , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Johan Hovold , Alex Elder , Greg Kroah-Hartman , , , , , Subject: Re: [PATCH 3/3] greybus: gb-beagleplay: Add firmware upload API Message-ID: References: <20240719-beagleplay_fw_upgrade-v1-0-8664d4513252@beagleboard.org> <20240719-beagleplay_fw_upgrade-v1-3-8664d4513252@beagleboard.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Proofpoint-ORIG-GUID: uf0FV3BztW2j4yQ85RZegmP76Gjj-a41 X-Proofpoint-GUID: uf0FV3BztW2j4yQ85RZegmP76Gjj-a41 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-22_05,2024-07-18_01,2024-05-17_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240722_021032_537629_E320B96A X-CRM114-Status: GOOD ( 20.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2024-07-20 at 03:09:55, Alex Elder (elder@ieee.org) wrote: > On 7/19/24 2:15 PM, Andrew Lunn wrote: > > > > drivers/greybus/Kconfig | 1 + > > > > drivers/greybus/gb-beagleplay.c | 625 +++++++++++++++++++++++++++++++++++++++- > > > > > > +static u8 csum8(const u8 *data, size_t size, u8 base) > > > > +{ > > > > + size_t i; > > > > + u8 sum = base; > > > follow reverse x-mas tree > > > > Since this is not networking, even thought it was posted to the netdev > > list, this comment might not be correct. I had a quick look at some > > greybus code and reverse x-mas tree is not strictly used. > > > > Please see what the Graybus Maintainers say. > > Andrew is correct. The Greybus code does not strictly follow > the "reverse christmas tree" convention, so there is no need > to do that here. Please understand that, while checkpatch.pl > offers good and well-intentioned advice, not everything it > warns about must be fixed, and in some cases it suggests things > certain maintainers don't agree with. > > -Alex > > > Andrew > > Ok got it.