[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170409223803.25da1a43@vento.lan>
Date: Sun, 9 Apr 2017 22:38:03 -0300
From: Mauro Carvalho Chehab <mchehab@...pensource.com>
To: "Takiguchi, Yasunari" <Yasunari.Takiguchi@...y.com>
Cc: kbuild test robot <lkp@...el.com>,
"kbuild-all@...org" <kbuild-all@...org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"tbird20d@...il.com" <tbird20d@...il.com>,
"frowand.list@...il.com" <frowand.list@...il.com>,
"Yamamoto, Masayuki" <Masayuki.Yamamoto@...y.com>,
"Nozawa, Hideki (STWN)" <Hideki.Nozawa@...y.com>,
"Yonezawa, Kota" <Kota.Yonezawa@...y.com>,
"Matsumoto, Toshihiko" <Toshihiko.Matsumoto@...y.com>,
"Watanabe, Satoshi (SSS)" <Satoshi.C.Watanabe@...y.com>
Subject: Re: [PATCH 2/5] media: Add support for CXD2880 SPI I/F
Em Fri, 7 Apr 2017 08:19:58 +0000
"Takiguchi, Yasunari" <Yasunari.Takiguchi@...y.com> escreveu:
> Dear All
>
> Our patches consists of the following items.
> [PATCH 1/5] dt-bindings: media: Add document file for CXD2880 SPI I/F
> [PATCH 2/5] media: Add support for CXD2880 SPI I/F
> [PATCH 3/5] media: Add suppurt for CXD2880
> [PATCH 4/5] media: Add suppurt for CXD2880 DVB-T2/T functions
> [PATCH 5/5] media: Update MAINTAINERS file for CXD2880
Didn't review your patch series yet. It should take a while to
review 14K lines ;)
> It is necessary to apply all patches before compiling kernel with our code.
>
> Could you re-compile after applying above the patches.
The kbuild test robot is... a machine. It won't read or answer to
your reply :-)
It automatically tests all patches sent to the ML and apply them at the
order the patches are found at the tree, one by one.
The rule is that no patch can cause compilation breakages, as
this breaks Kernel bisectability.
So, you have to ensure, when sending a patch series, that every single
patch is compilable, and won't cause runtime issues.
In the specific case of this patch:
> > drivers/media/spi/Kconfig | 14 +
> > drivers/media/spi/Makefile | 5 +
> > drivers/media/spi/cxd2880-spi.c | 727 +++++++++++++++++++++++++++++++++++++++
> > 3 files changed, 746 insertions(+)
> > create mode 100644 drivers/media/spi/cxd2880-spi.c
If cxd2880-spi.c need something else in order to be built, you
should not add it at Kconfig/Makefile yet. Just add the files,
using an order that makes it easier to be reviewed. In this
particular case, if it needs a header file, the patch containing
the header file should ideally be sent together with it
(or a previous patch, if adding it together wouldn't work).
Also, what I usually do when submitting drivers is that I don't
touch Kconfig/Makefile too early, putting such changes by the end
of the patch series.
E. g. you could break this patch on two separate patches, where the
first one would be just adding the cxd2880-spi.c (and cxd2880.h). Another
possibility would be to move this patch to the end, if the other patches
don't break git bisect (e. g. if they all compile without problems) and if
they're good enough to be reviewed by someone using the patch order.
Thanks,
Mauro
Powered by blists - more mailing lists