Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247206

Re: [PATCH] staging: octeon: fixed few coding style warnings

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: octeon: fixed few coding style warnings
Date 2015-10-14 23:40 +0200
Message-ID <qjBWa-2yn-11@gated-at.bofh.it> (permalink)
References <qjuUG-KS-19@gated-at.bofh.it> <qjBjs-1yI-9@gated-at.bofh.it> <qjBt9-20C-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 14 October 2015 14:04:00 David Daney wrote:
> On 10/14/2015 01:58 PM, Arnd Bergmann wrote:
> > On Wednesday 14 October 2015 08:47:44 David Daney wrote:
> >> On 10/14/2015 07:06 AM, Sakshi Bansal wrote:
> >>> Fixed allignment issues and line over 80 characters
> >>
> >> Use spell checking on 'allignment'
> >>
> >> But that is not the main problem with the patch...
> >>
> >>
> >> You are changing things other than white space and comment formatting,
> >> can you tell us on which platforms the patch was tested to verify that
> >> you didn't break anything?
> >
> > In general a good advice, but for trivial whitespace or comment
> > changes, this is normally not necessary. Compile-testing a patch
> > as you say is normally expected, if only to avoid embarrassing
> > complaints if it does break later.
> >
> > For drivers that are not enabled in the x86 allmodconfig, it sure
> > helps to say something like "Compile-tested using MIPS cross toolchain
> > from https://www.kernel.org/pub/tools/crosstool/". Even better would
> > be to send a fix to decouple the driver from asm/octeon/*.h
> > to make it build on all architectures, but that is much more work
> > than I'd expect for a trivial patch.
> 
> There is no point in such a patch.  We know, a priori, that there will 
> *never* be a non-MIPS system with this hardware.

We generally like to have all drivers compilable using COMPILE_TEST
across all architectures, as that enables automated build regression
tests from services like coverity or the 0-day build tester.

It also makes it much easier for normal developers to test changes
when they can verify them using a single toolchain and allmodconfig.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] staging: octeon: fixed few coding style warnings Sakshi Bansal <sakshi.april5@gmail.com> - 2015-10-14 16:10 +0200
  Re: [PATCH] staging: octeon: fixed few coding style warnings David Daney <ddaney@caviumnetworks.com> - 2015-10-14 18:10 +0200
    Re: [PATCH] staging: octeon: fixed few coding style warnings Arnd Bergmann <arnd@arndb.de> - 2015-10-14 23:00 +0200
      Re: [PATCH] staging: octeon: fixed few coding style warnings David Daney <ddaney@caviumnetworks.com> - 2015-10-14 23:10 +0200
        Re: [PATCH] staging: octeon: fixed few coding style warnings Arnd Bergmann <arnd@arndb.de> - 2015-10-14 23:40 +0200
    Re: [PATCH] staging: octeon: fixed few coding style warnings Dan Carpenter <dan.carpenter@oracle.com> - 2015-10-15 15:50 +0200
      Re: [PATCH] staging: octeon: fixed few coding style warnings Dan Carpenter <dan.carpenter@oracle.com> - 2015-10-15 20:20 +0200
  Re: [PATCH] staging: octeon: fixed few coding style warnings Aaro Koskinen <aaro.koskinen@iki.fi> - 2015-10-14 21:40 +0200

csiph-web