Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 245DFC2D0E2 for ; Tue, 22 Sep 2020 08:13:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B611123A32 for ; Tue, 22 Sep 2020 08:13:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600762399; bh=/I/tsgu5z1HdXH5eL2XtzL1U3qNMlVWPjKY/7jGvr5I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=UmPLlPEuJwNIogAicRfPClRTEUr/CPfm4LRhFn1p2gBl0s2JAlbIQqPPYpMthNfGU hVDYhLLQDaGgAtAUMybQk8fYjeHk67I5F4X5ZJvuz/tT7rVPmQS9C2g1EBf1xYeRLW hy7Zc1649MS1bzziE8YMn2ac+wFgEf9Wc2VsGeF8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726572AbgIVINT (ORCPT ); Tue, 22 Sep 2020 04:13:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:33876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726562AbgIVINT (ORCPT ); Tue, 22 Sep 2020 04:13:19 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 BF1D5239E5; Tue, 22 Sep 2020 08:13:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600762398; bh=/I/tsgu5z1HdXH5eL2XtzL1U3qNMlVWPjKY/7jGvr5I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LMOpGLVzESsqYsP1wtyJitpyGrJnMSRcvpXMc5aIcfvPLNQNA3UaqQlQDbQy/6i+U ht+Rwho1EBwJ9k4356uASbvEMdSew3GtzNoe+2WMab0Rkkoo6folq9TSeJ+rh6ZGPR iNJ3FlQfjQSFhMZbfdpjVyfGBfI5LaQxkcEzp8BI= Date: Tue, 22 Sep 2020 10:13:39 +0200 From: Greg KH To: Moritz Fischer Cc: linux-fpga@vger.kernel.org, moritzf@google.com Subject: Re: [GIT PULL] FPGA Manager additional changes for 5.10 Message-ID: <20200922081339.GA1972786@kroah.com> References: <20200921000855.GA15612@epycbox.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200921000855.GA15612@epycbox.lan> Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org On Sun, Sep 20, 2020 at 05:08:55PM -0700, Moritz Fischer wrote: > The following changes since commit 9ba3a0aa09fe505540a3bdd11f0da3b8e9d73055: > > fpga: dfl: create a dfl bus type to support DFL devices (2020-09-09 20:28:16 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga.git tags/fpga-extra-for-5.10 > > for you to fetch changes up to 41b9b36fe986e15eba0a4220c18d72fa5eb9f0dd: > > fpga: dfl: n3000-nios: Make m10_n3000_info static (2020-09-16 19:16:58 -0700) > > ---------------------------------------------------------------- > FPGA Manager changes for 5.10-rc1 > > Here is the second set of FPGA changes for the 5.10 merge window. > > Mircea's changes are part of a changeset to add support for FPGA based > clock drivers. > > My change fixed a whitespace error in that patch that I missed when > initially applying it. > > Xu's changes contain additional changes to support the new DFL bus, > including some clean ups, refactoring as well as its first user, the > NIOS 3000 driver. > > YueHaibing's change addresses a sparse warning. > > All patches have been reviewed on the mailing list, and have been in the > last few linux-next releases (as part of my for-next branch) without issues. > > Signed-off-by: Moritz Fischer > > ---------------------------------------------------------------- > Mircea Caprioru (1): > include: fpga: adi-axi-common.h: add definitions for supported FPGAs > > Moritz Fischer (1): > include: fpga: adi-axi-common: Fix leading whitespace in header > > Xu Yilun (5): > fpga: dfl: move dfl_device_id to mod_devicetable.h > dfl: add dfl bus support to MODULE_DEVICE_TABLE() > fpga: dfl: fix the comments of type & feature_id fields > fpga: dfl: add support for N3000 Nios private feature > fpga: dfl: move dfl bus related APIs to include/linux/fpga/dfl.h > > YueHaibing (1): > fpga: dfl: n3000-nios: Make m10_n3000_info static > > .../ABI/testing/sysfs-bus-dfl-devices-n3000-nios | 49 ++ > Documentation/fpga/dfl-n3000-nios.rst | 73 +++ > Documentation/fpga/index.rst | 1 + > MAINTAINERS | 3 +- > drivers/fpga/Kconfig | 11 + > drivers/fpga/Makefile | 2 + > drivers/fpga/dfl-n3000-nios.c | 573 +++++++++++++++++++++ > drivers/fpga/dfl.c | 1 + > drivers/fpga/dfl.h | 85 +-- > include/linux/fpga/adi-axi-common.h | 103 ++++ > include/linux/fpga/dfl.h | 86 ++++ > include/linux/mod_devicetable.h | 12 + > scripts/mod/devicetable-offsets.c | 4 + > scripts/mod/file2alias.c | 17 + It's hard to comment on patches on a pull request, but this series still needs some work. I'll try to list the patch names here and comments, but really, patches would be best to make it easier to review: 0001-include-fpga-adi-axi-common.h-add-definitions-for-su.patch - no users of any of these things you added, why is this patch needed? 0002-fpga-dfl-move-dfl_device_id-to-mod_devicetable.h.patch - dfl_device_id is not descriptive, it means nothing to anyone outside of the fpga subsystem. - fpga_dfl_device_id perhaps instead? That gives people a chance to know where to look for this 0003-dfl-add-dfl-bus-support-to-MODULE_DEVICE_TABLE.patch - same "prefix" issues as patch 0002, make it "fpga_dfl" please. 0004-fpga-dfl-fix-the-comments-of-type-feature_id-fields.patch - You talk about 4 bits here, and then point to an enumerated type with no actual values set for them at all. How is that possible??? 0005-include-fpga-adi-axi-common-Fix-leading-whitespace-i.patch - wrong usage of "Fixes" in a signed-off-by area, please see the submitting patches documentation for the correct format. My scripts, and linux-next's scripts would have caught this, making this pull request not be able to be accepted anyway... 0006-fpga-dfl-add-support-for-N3000-Nios-private-feature.patch - module parameters are for drivers written in the 1990's. Please just "do the right thing" and make the code work properly without having to have custom options. Note this option does not really work if you have multiple devices in the system at once, which is one reason why we don't use module parameters anymore. 0007-fpga-dfl-move-dfl-bus-related-APIs-to-include-linux-.patch - no one uses this header file move, so don't do it until it is required. 0008-fpga-dfl-n3000-nios-Make-m10_n3000_info-static.patch - as patch 0006 is going to be redone, this can be merged into that when completed. Why the original developer didn't run sparse on the file to start with, I don't know :( Wow, 8 out of 8 patches rejected, I think that's a new record! :) thanks, greg k-h