Re: [Cocci] [PATCH] coccinelle: misc: add excluded_middle.cocci script

2020-09-02 Thread Jim Davis
On Wed, Sep 2, 2020 at 8:19 AM Denis Efremov wrote: > > Check for "!A || A && B" condition. It's equivalent to > "!A || B" condition. > > Signed-off-by: Denis Efremov > --- > scripts/coccinelle/misc/excluded_middle.cocci | 40 +++ > 1 file changed, 40 insertions(+) > create mode

Re: [PATCH] kbuild: pkg: make out-of-tree rpm/deb-pkg build immediately fail

2017-12-06 Thread Jim Davis
echo "binrpm-pkg or bindeb-pkg target instead."; \ > + echo >&2; \ > + echo >&2 " ERROR:"; \ > + echo >&2 " Building source tarball is not possible outside the"; \ > + echo >&2 " kernel source tree. Don't set KBUILD_OUTPUT, or use the"; > \ > + echo >&2 " binrpm-pkg or bindeb-pkg target instead."; \ > + echo >&2; \ > false; \ > fi ; \ > $(srctree)/scripts/setlocalversion --save-scmversion; \ > -- > 2.7.4 > Tested-by: Jim Davis -- Jim

Re: [PATCH v3] scripts/package: snap-pkg target

2017-12-05 Thread Jim Davis
On Tue, Dec 5, 2017 at 4:43 AM, Paolo Pisati wrote: >> I noticed that if I tried to make snap-pkg with the O=/some/dir option >> the tar step failed but the rest of the build continued, and seems to >> have finished successfully. Should the snap-pkg target stop after a >> tar failure? > > That i

Re: [PATCH v3] scripts/package: snap-pkg target

2017-11-30 Thread Jim Davis
On Wed, Nov 29, 2017 at 10:05 AM, Paolo Pisati wrote: > On Wed, Nov 29, 2017 at 8:33 AM, Masahiro Yamada > wrote: >> >> Worked for me too, >> after updating snapcraft. >> >> >> Is it really impossible to check the snapcraft version? >> What is the minimum version? 2.35 ? > > The minimum version

Re: [PATCH v3] scripts/package: snap-pkg target

2017-11-28 Thread Jim Davis
On Tue, Nov 28, 2017 at 10:14 AM, Paolo Pisati wrote: > On Mon, Nov 27, 2017 at 7:33 PM, Jim Davis wrote: >> >> With this patch applied to the 4.14 kernel source, and running make >> snap-pkg on a Ubuntu 16.04 VM with the latest 16.04 kernel config >> file, I ran

Re: [PATCH] builddeb: introduce variables for control-file customization

2017-11-27 Thread Jim Davis
On Mon, Nov 27, 2017 at 9:13 AM, Henning Schild wrote: > The debian packages coming out of "make *deb-pkg" lack some critical > information in the control-files e.g. the "Depends:" field. If one > tries to install a fresh system with such a "linux-image" debootstrap or > multistrap might try to in

Re: [PATCH v3] scripts/package: snap-pkg target

2017-11-27 Thread Jim Davis
On Mon, Nov 27, 2017 at 4:07 AM, Paolo Pisati wrote: > Following in footsteps of other targets like 'deb-pkg, 'rpm-pkg' and > 'tar-pkg', > this patch adds a 'snap-pkg' target for the creation of a Linux kernel snap > package using the kbuild infrastructure. With this patch applied to the 4.14 ke

Re: [PATCH 2/7] kbuild: Add P= command line flag to run checkpatch

2017-11-21 Thread Jim Davis
On Tue, Nov 21, 2017 at 1:10 AM, Knut Omang wrote: > Would you like to keep the checkpatch changes in some form, or would you > rather > see everything happening in the wrapper? I don't have a strong preference one way or another, but keeping everything in a wrapper script might be easier if on

Re: [PATCH 2/7] kbuild: Add P= command line flag to run checkpatch

2017-11-20 Thread Jim Davis
On Mon, Nov 20, 2017 at 2:22 PM, Luc Van Oostenryck wrote: > Should it be possible to somehow keep the distinction between > the flags coming from KBUILD_CFLAGS and the pure CHECKFLAGS? Well, the practical problem seems to be that $(CHECK) is called in scripts/Makefile.build with both $(CHECKFLA

Re: [PATCH 2/7] kbuild: Add P= command line flag to run checkpatch

2017-11-20 Thread Jim Davis
On Mon, Nov 20, 2017 at 9:18 AM, Masahiro Yamada wrote: > > I am unhappy about adding a new interface > for each checker. > > The default of CHECK is "sparse", but > users can override it to use another checker. > > > > As Decumentation/dev-tools/coccinelle.rst says, > if you want to use coccinel

Re: [PATCH] coccinelle: fix verbose message about .cocci file being run

2017-10-27 Thread Jim Davis
On Wed, Oct 25, 2017 at 9:55 PM, Masahiro Yamada wrote: > If you run coccicheck with V=1 and COCCI=, you will see a strange > path to the semantic patch file. For example, run the following: > > $ make V=1 COCCI=scripts/coccinelle/free/kfree.cocci coccicheck > [ snip ] > The semantic patch tha

make linkcheckdocs error with 4.13-rc7

2017-08-28 Thread Jim Davis
On my Fedora 26 desktop (with Sphinx 1.6.3), make linkcheckdocs is failing with InputError: [Errno 2] No such file or directory: '/data/linux-rc/Documentation/output/cec.h.rst'. reST markup error: /data/linux-rc/Documentation/media/uapi/cec/cec-header.rst:9: (SEVERE/4) Problems with "kernel-inclu

Re: make clean all broken with -j? + question regarding modpost

2017-08-10 Thread Jim Davis
On Thu, Aug 10, 2017 at 11:28 AM, Randy Dunlap wrote: > [adding linux-kbuild] > > On 08/10/2017 08:42 AM, Thomas Meyer wrote: >> Hi, >> >> 1.) make with multiple targets >> >> When running >> $ make -j4 clean all >> I get error from make (probably in scripts/Makefile.modbuiltin): With 4.13-rc4 I

make pdfdocs problem with 4.13-rc4

2017-08-09 Thread Jim Davis
On my Fedora 26 workstation, with the latest patches, running make pdfdocs stops with [jim@krebstar ~]$ tail /tmp/make-pdfdocs.out Underfull \hbox (badness 1) in paragraph at lines 3980--3983 []\EU1/DejaVuSans(0)/m/n/10 Threshold below [31] ! Missing \endgroup inserted. \endg

Re: [PATCH] scripts/package: snap-pkg target

2017-07-18 Thread Jim Davis
On Mon, Jul 10, 2017 at 11:13 PM, Paolo Pisati wrote: > On Mon, Jul 10, 2017 at 6:46 PM, Jim Davis wrote: >>> >>> For more information on snap packages: https://snapcraft.io/docs/ >> >> Is this something a user could do with the existing deb target, and >

Re: [PATCH v2 00/53] Get rid of Docbook

2017-07-14 Thread Jim Davis
On Thu, Jul 6, 2017 at 1:54 AM, Markus Heiser wrote: > 52b3f23 Docs: clean up some DocBook loose ends Speaking of minor loose ends, make SPHINXDIRS=userspace-api pdfdocs works -- though now that it's all sphinx, wouldn't just DIRS be better? -- and make DOCBOOKS=userspace-api pdfdocs still

Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Jim Davis
On Fri, Jul 14, 2017 at 10:35 AM, Markus Heiser wrote: > > > Ok, this won't solve TeX installation problems of Linux distros, Which seems to be the thorniest problem. It's one thing to identify which sphinx versions work, and another to figure out which of the metric boatload of TeX packages are

Re: [PATCH] scripts/package: snap-pkg target

2017-07-10 Thread Jim Davis
On Mon, Jul 10, 2017 at 7:59 AM, Paolo Pisati wrote: > eg. Ubuntu Core, and it's subsequent upgrades. its > > For more information on snap packages: https://snapcraft.io/docs/ Is this something a user could do with the existing deb target, and then running deb2snap? -- Jim

Re: [PATCH v2 00/53] Get rid of Docbook

2017-07-05 Thread Jim Davis
On Fri, Jun 16, 2017 at 7:03 AM, Markus Heiser wrote: > > docproc and some lines in the Makefile & .gitignore > > ./scripts/docproc.c > ./scripts/.docproc.cmd > ./scripts/Makefile > ./scripts/.gitignore With 4.12, running make xmldocs (or any other working target) and then "make cleandocs; git c

Re: [PATCH 0/5] Make PDF builds work again

2017-07-05 Thread Jim Davis
On Mon, Jul 3, 2017 at 5:44 AM, Jonathan Corbet wrote: > On Mon, 3 Jul 2017 10:25:38 +0200 > Daniel Vetter wrote: > >> Only now stumbled over the full thread, but the drm patch is already >> queued up for at least 4.13 (Dave was out and all that). I guess we could >> try to cherry-pick through st

make pdfdoc errors with 4.12-rc2

2017-05-24 Thread Jim Davis
make pdfdocs, on my Fedora 25 desktop with the latest patches, fails with Running Sphinx v1.5.2 [...lots-o-stuff...] make PDFLATEX=xelatex LATEXOPTS="-interaction=batchmode" -C Documentation/output/./latex || exit; xelatex -interaction=batchmode 'linux-input.tex' This is XeTeX, Version 3.1415926

Re: making documentation targets on v4.10 with Fedora 25

2017-02-23 Thread Jim Davis
On Mon, Feb 20, 2017 at 4:20 PM, Jonathan Corbet wrote: >> Exception occurred: >> File "/usr/lib/python3.5/site-packages/docutils/writers/_html_base.py", >> line >> 671, in depart_document >> assert not self.context, 'len(context) = %s' % len(self.context) >> AssertionError: len(context) =

Re: making documentation targets on v4.10 with Fedora 25

2017-02-23 Thread Jim Davis
On Thu, Feb 23, 2017 at 2:59 AM, Jani Nikula wrote: > On Mon, 20 Feb 2017, Jim Davis wrote: >> For the Sphinx targets, htmldocs, pdfdocs, epubdocs, and cleandocs >> failed. cleandocs works without the O= argument, and arguably the O= >> thing isn't very useful with an

Re: making documentation targets on v4.10 with Fedora 25

2017-02-22 Thread Jim Davis
On Mon, Feb 20, 2017 at 4:20 PM, Jonathan Corbet wrote: > On Mon, 20 Feb 2017 12:19:24 -0700 > Jim Davis wrote: > >> pdfdocs (Sphinx or DocBook) has been broken for some time, while >> psdocs hasn't worked in ages. The errors with the Sphinx htmldocs and >>

making documentation targets on v4.10 with Fedora 25

2017-02-20 Thread Jim Davis
I ran a script like the one below to make the various Sphinx and DocBook documentations targets for v4.10 on my Fedora 25 desktop make O=/tmp/sphinx-out DOCBOOKS="" htmldocs make O=/tmp/sphinx-out DOCBOOKS="" latexdocs make O=/tmp/sphinx-out DOCBOOKS="" pdfdocs make O=/tmp/sphinx-out DOCBOOKS="" e

make pdfdocs errors with 4.10-rc8

2017-02-14 Thread Jim Davis
On a Fedora 25 system, [...] build succeeded, 32 warnings. make PDFLATEX=xelatex LATEXOPTS="-interaction=batchmode" -C Documentation/output/./latex; xelatex -interaction=batchmode 'linux-user.tex' This is XeTeX, Version 3.14159265-2.6-0.6 (TeX Live 2016) (preloaded format=xelatex) restricted

[PATCH] Documentation: DocBook/Makefile comment typo

2017-02-13 Thread Jim Davis
Fix a se for so typo. Signed-off-by: Jim Davis --- Documentation/DocBook/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index a6eb7dcd4dd5..1f23567bf76e 100644 --- a/Documentation/DocBook/Makefile

[PATCH] Documentation: make Makefile.sphinx no-ops quieter

2017-02-10 Thread Jim Davis
Silence the "make[1]: Nothing to be done for ..." messages for the no-op targets in Makefile.sphinx. Signed-off-by: Jim Davis --- Documentation/Makefile.sphinx | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sp

make pdfdoc errors with 4.10-rc7

2017-02-09 Thread Jim Davis
On a Fedora 25 system, make pdfdocs is failing with [jim@krebstar linux-rc]$ grep -v -i 'warning:' /tmp/make-pdfdocs.err /data/linux-rc/Documentation/doc-guide/sphinx.rst:110: ERROR: Unknown target name: "sphinx c domain". ./include/net/cfg80211.h:3154: ERROR: Unexpected indentation. ./include/net

Re: [PATCH 2/2] Documentation/kconfig: add search jump feature description

2017-02-06 Thread Jim Davis
On Mon, Feb 6, 2017 at 12:46 AM, wrote: > From: Changbin Du > > Kernel menuconfig support direct jumping function from the search > result. This is a very convenient feature but not documented. So > add a short description to the kconfig documentation to let more > developer know it. > > Signed-

Extra messages from Makefile.sphinx

2017-01-27 Thread Jim Davis
On a sphinx-free Ubuntu system with 4.10-rc5, make installmandocs works just fine, but the garrulous Makefile.sphinx twice tells me I don't have sphinx-build installed: Documentation/Makefile.sphinx:22: The 'sphinx-build' command was not found. Make sure you have Sphinx installed and in PATH, or

make pdfdoc errors with v4.9

2016-12-12 Thread Jim Davis
On my Ubuntu 16.04 desktop, make pdfdocs fails with Makefile:58: recipe for target 'media.pdf' failed make[2]: *** [media.pdf] Error 1 Documentation/Makefile.sphinx:79: recipe for target 'pdfdocs' failed make[1]: *** [pdfdocs] Error 2 Makefile:1450: recipe for target 'pdfdocs' failed make: *** [pd

Re: [PATCH RESEND 2/2] builddeb: allow building without headers/firmware packages

2016-11-16 Thread Jim Davis
> Section: devel > @@ -380,10 +386,15 @@ Description: Linux support headers for userspace > development > This package provides userspaces headers from the Linux kernel. These > headers > are used by the installed headers for GNU glibc and other system libraries. > EOF > +fi > > if [ "$ARCH" != "um" ]; then > - create_package "$kernel_headers_packagename" "$kernel_headers_dir" > - create_package "$libc_headers_packagename" "$libc_headers_dir" > + if [ -z "$KDEB_NO_HEADERS" ]; then > + create_package "$kernel_headers_packagename" > "$kernel_headers_dir" > + fi > + if [ -z "$KDEB_NO_LIBC_HEADERS" ]; then > + create_package "$libc_headers_packagename" "$libc_headers_dir" > + fi > fi > > create_package "$packagename" "$tmpdir" > -- > Andrew Donnellan OzLabs, ADL Canberra > andrew.donnel...@au1.ibm.com IBM Australia Limited > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html Worked fine with Ubuntu 16.04, and it's nice speedup. Tested-by: Jim Davis -- Jim

Re: [PATCH] cxl: Fix error handling

2016-11-02 Thread Jim Davis
On Wed, Nov 2, 2016 at 4:12 AM, Michael Ellerman wrote: > Jim Davis writes: > >> On Sun, Oct 30, 2016 at 10:37 PM, Michael Ellerman >> wrote: >>> More here: >>> >>> https://github.com/linuxppc/linux/wiki/Building-powerpc-kernels >> >&g

Re: [PATCH] cxl: Fix error handling

2016-11-01 Thread Jim Davis
On Sun, Oct 30, 2016 at 10:37 PM, Michael Ellerman wrote: > Christophe JAILLET writes: > >> 'cxl_dev_context_init()' returns an error pointer in case of error, not >> NULL. So test it with IS_ERR. >> >> Signed-off-by: Christophe JAILLET >> --- >> un-compiled because I don't have the required cr

Re: make pdfdocs fails with v4.9-rc3

2016-11-01 Thread Jim Davis
On Mon, Oct 31, 2016 at 3:41 PM, Mauro Carvalho Chehab wrote: > Em Mon, 31 Oct 2016 16:40:02 -0600 > Mauro Carvalho Chehab escreveu: > >> Em Mon, 31 Oct 2016 15:04:42 -0700 >> Jim Davis escreveu: >> >> > On Mon, Oct 31, 2016 at 1:58 PM, Mauro Carvalho Cheha

Re: make pdfdocs fails with v4.9-rc3

2016-10-31 Thread Jim Davis
On Mon, Oct 31, 2016 at 1:58 PM, Mauro Carvalho Chehab wrote: > Em Mon, 31 Oct 2016 14:17:59 -0600 > Mauro Carvalho Chehab escreveu: > >> Em Mon, 31 Oct 2016 13:15:24 -0600 >> Jonathan Corbet escreveu: >> >> > On Mon, 31 Oct 2016 11:51:20 -0700 >> &g

make cleandocs missing files with v4.9-rc3

2016-10-31 Thread Jim Davis
On my Ubuntu 16.04 system, make htmldocs works just fine (hurrah!) but make cleandocs misses a fair number of files: HTMLDocumentation/DocBook/index.html jim@krebstar:~/linux-rc$ make cleandocs jim@krebstar:~/linux-rc$ git status HEAD detached at v4.9-rc3 nothing to commit, working directory

make psdocs fails with v4.9-rc3

2016-10-31 Thread Jim Davis
Running make psdocs on a Ubuntu 16.04 system fails with Documentation/DocBook/Makefile:142: recipe for target 'Documentation/DocBook/kernel-hacking.ps' failed make[1]: *** [Documentation/DocBook/kernel-hacking.ps] Error 9 Makefile:1442: recipe for target 'psdocs' failed make: *** [psdocs] Error 2

make pdfdocs fails with v4.9-rc3

2016-10-31 Thread Jim Davis
Running make pdfdocs on a Ubuntu 16.04 system fails with Makefile:58: recipe for target 'media.pdf' failed make[2]: *** [media.pdf] Error 1 Documentation/Makefile.sphinx:79: recipe for target 'pdfdocs' failed make[1]: *** [pdfdocs] Error 2 Makefile:1442: recipe for target 'pdfdocs' failed make: **

Re: [PATCH 09/10] scripts/basic/fixdep: Complete error handling in print_cmdline()

2016-10-28 Thread Jim Davis
On Fri, Oct 28, 2016 at 1:40 AM, SF Markus Elfring wrote: > + if (printf("cmd_%s := %s\n\n", target, cmdline) < 10) { Rather than scatter fragile magic numbers, like 10, throughout the code, if you're hell-bent on checking for printf errors you could write a little wrapper function that hi

Re: [PATCH 01/10] scripts/basic/bin2c: Complete error handling in main()

2016-10-28 Thread Jim Davis
On Fri, Oct 28, 2016 at 1:31 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 27 Oct 2016 16:15:04 +0200 > > Return values were not checked from five calls of the function "printf". > > This issue was detected also by using the Coccinelle software. > > > * Add a bit of exception h

Re: Challenges around the usage of different "HOSTCFLAGS" for kernel build configuration and module generation

2016-10-19 Thread Jim Davis
On Wed, Oct 19, 2016 at 12:25 AM, SF Markus Elfring wrote: > > Are you interested that a software generation parameter like "-S" > (for output of assembler source files) could be directly supported > for a special build variant? No, if you want to see the assembly code then something like make d

Re: Difficulties around "fixdep" for the usage of a kernel build output directory

2016-10-18 Thread Jim Davis
On Tue, Oct 18, 2016 at 10:25 AM, SF Markus Elfring wrote: > Can it be that the passing of the adjusted parameter "HOSTCFLAGS" has got a > significant > influence (with unwanted side effects) in this use case? That's probably it. If I strip down your advanced original example to just make def

Re: Difficulties around "fixdep" for the usage of a kernel build output directory

2016-10-18 Thread Jim Davis
On Tue, Oct 18, 2016 at 9:38 AM, SF Markus Elfring wrote: >>> elfring@Sonne:~/Projekte/Linux/next-patched> my_off=-O0 && for X in off; do >>> my_output_dir=${my_build_dir}unchanged/optimisation/${X} && >>> my_var="my_${X}" && my_parameters="-Wall -std=gnu89 -fomit-frame-pointer >>> ${!my_var}"

Re: Difficulties around "fixdep" for the usage of a kernel build output directory

2016-10-18 Thread Jim Davis
On Tue, Oct 18, 2016 at 6:54 AM, SF Markus Elfring wrote: > Hello, > > The file "README" contains a section "BUILD directory for the kernel". > I would like to use the functionality which is described there. > > One of my commands for such a build try is working as desired. > > > elfring@Sonne:~/P

Re: [PATCH 2/2] kbuild: add shell cache

2016-06-29 Thread Jim Davis
On Mon, Jun 27, 2016 at 11:28 AM, Rabin Vincent wrote: > Running make results in over 40 invocations of the compiler just during > processing of the Makefile, before any actual rules are run. > > To reduce this overhead, cache the results of $(shell) calls to the > compiler. Clever. Looks like

randconfig build error with next-20151216, in drivers/i2c/busses

2015-12-16 Thread Jim Davis
Building with the attached random configuration file, ERROR: "i2c_parse_fw_timings" [drivers/i2c/busses/i2c-rcar.ko] undefined! -- Jim # # Automatically generated file; DO NOT EDIT. # Linux/x86 4.4.0-rc5 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y CONFIG_X86=y CONFIG_INSTRUCTION_DECODE

randconfig build error with next-20151215, in arch/x86/entry/vdso/vma.c

2015-12-15 Thread Jim Davis
Building with the attached random configuration file, arch/x86/built-in.o: In function `map_vdso': vma.c:(.text+0x13fc): undefined reference to `pvclock_pvti_cpu0_va' -- Jim # # Automatically generated file; DO NOT EDIT. # Linux/x86 4.4.0-rc5 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=

randconfig build error with next-20151209, in drivers/tty/serial/kgdboc.c

2015-12-09 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `kgdboc_pre_exp_handler': kgdboc.c:(.text+0x7b5aa): undefined reference to `fg_console' kgdboc.c:(.text+0x7b5ce): undefined reference to `vc_cons' kgdboc.c:(.text+0x7b5d5): undefined reference to `vc_cons' -- J

randconfig build error with next-20151203, in drivers/scsi/mpt3sas/mpt3sas_base.c

2015-12-03 Thread Jim Davis
Building with the attached random configuration file, warning: (SCSI_MPT2SAS) selects SCSI_MPT3SAS which has unmet direct dependencies (SCSI_LOWLEVEL && PCI && SCSI) drivers/scsi/mpt3sas/mpt3sas_base.c: In function ‘mpt3sas_remove_dead_ioc_func’: drivers/scsi/mpt3sas/mpt3sas_base.c:140:2: error:

[PATCH] scripts/package/buildtar: don't complain if lib/ is missing

2015-11-20 Thread Jim Davis
Building a tinyconfig kernel or similar stripped-down configurations may not have a lib directory to tar up. Test for a lib directory to avoid an unnecessary error message. Signed-off-by: Jim Davis --- scripts/package/buildtar | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH] drivers/crypto/qat/qat_common/Makefile: fix typo in clean-files

2015-11-19 Thread Jim Davis
A typo in the Makefile leaves qat_rsaprivkey-asn1.h hanging around. Signed-off-by: Jim Davis --- drivers/crypto/qat/qat_common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/qat/qat_common/Makefile b/drivers/crypto/qat/qat_common/Makefile index

[PATCH v2] scripts/package/Makefile: Restore the RPMOPTS variable

2015-11-19 Thread Jim Davis
Restore the RPMOPTS variable to the rpm-pkg and binrpm-pkg targets that commit 21a59991ce0c ("scripts/package/Makefile: rpmbuild is needed for rpm targets") removed. Reported-by: Alaa Hleihel Fixes: 21a59991ce0c ("scripts/package/Makefile: rpmbuild is needed for rpm targets"

randconfig build error with next-20151117, in drivers/clocksource

2015-11-17 Thread Jim Davis
Building with the attached random configuration file, fsl_ftm_timer.c:(.init.text+0xe2b7): undefined reference to `clocksource_mmio_readl_up' fsl_ftm_timer.c:(.init.text+0xe2ca): undefined reference to `clocksource_mmio_init' drivers/built-in.o: In function `st_clksrc_of_register': clksrc_st_lpc.

randconfig build error with next-20151117, in drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

2015-11-17 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) drivers/built-in.o: In function `mgmt_tx_cancel_wait': wilc_wfi_cfgoperations.c:(.text+0x24e1d4): undefined reference to `cfg8021

[PATCH] scripts/package/Makefile: Restore the RPMOPTS variable

2015-10-16 Thread Jim Davis
Restore the RPMOPTS variable to the rpm-pkg and binrpm-pkg targets that commit 21a59991ce0c ("scripts/package/Makefile: rpmbuild is needed for rpm targets") removed. Reported-by: Alaa Hleihel Signed-off-by: Jim Davis --- scripts/package/Makefile | 4 ++-- 1 file changed, 2 insert

Re: [PATCH 01/22] ver_linux: gcc -dumpversion, use regex to find version number

2015-10-14 Thread Jim Davis
On Wed, Oct 14, 2015 at 2:29 AM, Alexander Kapshuk wrote: > On Wed, Oct 14, 2015 at 2:21 AM, Jim Davis wrote: >> I tried out patches 1-22 on a Fedora 22 system with the v4.3-rc5 >> source tree; everything looks pretty good. The old ver_linux script >> didn't get the mo

Re: [PATCH 01/22] ver_linux: gcc -dumpversion, use regex to find version number

2015-10-13 Thread Jim Davis
I tried out patches 1-22 on a Fedora 22 system with the v4.3-rc5 source tree; everything looks pretty good. The old ver_linux script didn't get the mount version right, but the new one does < mount debug > Mount2.26.2 One minor thing with Net-tools, the old version p

Re: randconfig build error with next-20151013, in fs/xfs/libxfs/xfs_alloc.c

2015-10-13 Thread Jim Davis
On Tue, Oct 13, 2015 at 1:41 PM, Dave Chinner wrote: > On Tue, Oct 13, 2015 at 09:41:25AM -0700, Jim Davis wrote: >> Building with the attached random configuration file, >> >> fs/built-in.o: In function `xfs_free_ag_extent': >> /home/jim/linux-next/fs/xfs/li

randconfig build error with next-20151013, in drivers/staging/unisys/visorinput

2015-10-13 Thread Jim Davis
Building with the attached random configuration file, ERROR: "input_free_device" [drivers/staging/unisys/visorinput/visorinput.ko] undefined! ERROR: "input_set_capability" [drivers/staging/unisys/visorinput/visorinput.ko] undefined! ERROR: "input_set_abs_params" [drivers/staging/unisys/visorinput/

randconfig build error with next-20151013, in fs/xfs/libxfs/xfs_alloc.c

2015-10-13 Thread Jim Davis
Building with the attached random configuration file, fs/built-in.o: In function `xfs_free_ag_extent': /home/jim/linux-next/fs/xfs/libxfs/xfs_alloc.c:1813: undefined reference to `xfsstats' fs/built-in.o: In function `xfs_alloc_ag_vextent': /home/jim/linux-next/fs/xfs/libxfs/xfs_alloc.c:656: undef

Re: [PATCH 04/22] ver_linux: util-linux, 'fdformat' not ubiquitous any longer

2015-10-12 Thread Jim Davis
On Mon, Oct 12, 2015 at 11:39 AM, Alexander Kapshuk wrote: > The current implementation relies on 'fdformat' to output the version of > 'util-linux'. This does not seem to be reliable any longer, as 'fdformat' > does not seem to come preinstalled in all ditros these days. No fdformat?! Hmph, kid

Re: [PATCH 22/22] ver_linux: proc/modules, limit text processing to 'sed'

2015-10-12 Thread Jim Davis
On Mon, Oct 12, 2015 at 11:40 AM, Alexander Kapshuk wrote: > This patch is more of a personal preference, rather than a fix for a problem. Using the sed hold space isn't exactly easy to follow... if, unlike the other patches, there isn't some potential improvement over the status quo I'd suggest

randconfig build error with next-20151012, in drivers/bluetooth

2015-10-12 Thread Jim Davis
Building with the attached random configuration file, warning: (BT_HCIBPA10X) selects BT_HCIUART which has unmet direct dependencies (NET && BT && TTY) ERROR: "tty_unthrottle" [drivers/bluetooth/hci_uart.ko] undefined! ERROR: "tty_termios_encode_baud_rate" [drivers/bluetooth/hci_uart.ko] undefine

Re: bindeb-pkg error (was Re: kbuild misc changes for v4.3-rc1 )

2015-10-11 Thread Jim Davis
On Sun, Oct 11, 2015 at 7:58 PM, Pranith Kumar wrote: > > > ../linux-firmware-image-4.3.0-rc4_4.3.0-rc4-7_powerpc.deb: No such > file or directory > scripts/package/Makefile:97: recipe for target 'bindeb-pkg' failed > make[1]: *** [bindeb-pkg] Error 2 > Makefile:1226: recipe for target 'bindeb-pkg

randconfig build error with next-20151009, in lib/zlib_deflate/deftree.c

2015-10-09 Thread Jim Davis
Building with the attached random configuration file, lib/built-in.o: In function `__bitrev32': deftree.c:(.text+0x1e799): undefined reference to `byte_rev_table' deftree.c:(.text+0x1e7a0): undefined reference to `byte_rev_table' deftree.c:(.text+0x1e7b4): undefined reference to `byte_rev_table' d

randconfig build error with next-20151008, in drivers/tty/serial/mxs-auart.c

2015-10-08 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH && SND_SOC_INT

randconfig build error with next-20151007, in drivers/misc/mic/cosm/cosm_debugfs.c

2015-10-07 Thread Jim Davis
Building with the attached random configuration file, warning: (USB_OTG_FSM && FSL_USB2_OTG && USB_MV_OTG) selects USB_OTG which has unmet direct dependencies (USB_SUPPORT && USB && PM) drivers/misc/mic/cosm/cosm_debugfs.c: In function ‘cosm_log_buf_show’: drivers/misc/mic/cosm/cosm_debugfs.c:66:

randconfig build error with next-20151007, in drivers/hwtracing/stm/policy.c

2015-10-07 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH && SND_SOC_INT

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Jim Davis
On Fri, Oct 2, 2015 at 1:57 PM, Alexander Kapshuk wrote: > On Fri, Oct 2, 2015 at 11:22 PM, Alexander Kapshuk > wrote: >> On Fri, Oct 2, 2015 at 10:45 PM, Jim Davis wrote: >>> On Fri, Oct 2, 2015 at 12:35 PM, Jim Davis wrote: >>>> On Fri, Oct 2, 20

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Jim Davis
On Fri, Oct 2, 2015 at 12:35 PM, Jim Davis wrote: > On Fri, Oct 2, 2015 at 12:03 PM, Alexander Kapshuk > >>>> +depmod=`whereis depmod | awk '{print $2}'` >>> > I suspect it'll be hard to come up with something that's 100% > foolproof and

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Jim Davis
On Fri, Oct 2, 2015 at 12:03 PM, Alexander Kapshuk wrote: > On Fri, Oct 2, 2015 at 9:10 PM, Jim Davis wrote: >> On Thu, Oct 1, 2015 at 11:49 AM, Alexander Kapshuk >> wrote: >>> The current implementation relies on 'depmod' to be available in the >>>

Re: [PATCH] ver_linux: module-init-tools.patch

2015-10-02 Thread Jim Davis
On Thu, Oct 1, 2015 at 11:49 AM, Alexander Kapshuk wrote: > The current implementation relies on 'depmod' to be available in the > PATH. It also expects the version number to be found in the last field > as seen by 'awk'. Should the output format be different, this approach > would no longer be re

randconfig build error with next-20151002, in samples/configfs

2015-10-02 Thread Jim Davis
Building with the attached random configuration file, ERROR: "configfs_unregister_subsystem" [samples/configfs/configfs_sample.ko] undefined! ERROR: "configfs_register_subsystem" [samples/configfs/configfs_sample.ko] undefined! ERROR: "config_group_init" [samples/configfs/configfs_sample.ko] undef

Re: error when make pdfdocs

2015-09-24 Thread Jim Davis
On Fri, Sep 18, 2015 at 7:35 AM, 慕冬亮 wrote: > I git clone and git pull the latest linux kernel. > When I make pdfdocs, it reports the following error to me. > But I checked the filesystems.xml:14946, no error found. > > --

randconfig build error with next-20150924, in drivers/staging/rdma/hfi1

2015-09-24 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH && SND_SOC_INT

randconfig build error with next-20150924, in fs/cifs

2015-09-24 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) ERROR: "cifs_get_spnego_key" [fs/cifs/cifs.ko] undefined! -- Jim # # Automatically generated file; DO NOT EDIT. # Linux/x86 4.3

randconfig build error with next-20150923, in drivers/staging/rtl8188eu/os_dep/mon.c

2015-09-23 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `mon_recv_decrypted': mon.c:(.text+0x31befb): undefined reference to `ieee80211_hdrlen' -- Jim # # Automatically generated file; DO NOT EDIT. # Linux/x86 4.3.0-rc2 Kernel Configuration # CONFIG_64BIT=y CONFIG_X

randconfig build error with next-20150923, in drivers/staging/unisys/visorhid

2015-09-23 Thread Jim Davis
Building with the attached random configuration file, ERROR: "input_free_device" [drivers/staging/unisys/visorhid/visorhid.ko] undefined! ERROR: "input_set_capability" [drivers/staging/unisys/visorhid/visorhid.ko] undefined! ERROR: "input_set_abs_params" [drivers/staging/unisys/visorhid/visorhid.k

randconfig build error with next-20150917, in drivers/base/regmap/regmap-spmi.c

2015-09-17 Thread Jim Davis
Building with the attached random configuration file, warning: (QCOM_SPMI_TEMP_ALARM) selects REGMAP_SPMI which has unmet direct dependencies (SPMI) drivers/built-in.o: In function `regmap_spmi_base_read': regmap-spmi.c:(.text+0x2fffa7): undefined reference to `spmi_register_read' drivers/built-i

randconfig build errors with next-20150915, in drivers/media/i2c

2015-09-15 Thread Jim Davis
Building with the attached random configuration file, warning: (VIDEO_COBALT) selects VIDEO_ADV7511 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API) warning: (VIDEO_COBALT) selects VIDEO_ADV7604 which has unmet direct dependencies (MEDIA_SUPPORT &&

randconfig build error with next-20150914, in include/linux/bitrev.h

2015-09-14 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) lib/built-in.o: In function `__bitrev16': /home/jim/linux-next-2/include/linux/bitrev.h:22: undefined reference to `byte_rev_tabl

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-12 Thread Jim Davis
On Fri, Sep 11, 2015 at 4:22 PM, Davidlohr Bueso wrote: > On Fri, 11 Sep 2015, Vinson Lee wrote: > >> Hi. >> >> With the latest Linux 4.3-rc1, I am hitting this build error on CentOS >> 5.11. >> >> HOSTCC scripts/sign-file >> scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or

randconfig build error with next-20150908, in drivers/md/dm-mpath.c

2015-09-08 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `activate_path': /home/jim/linux-next/drivers/md/dm-mpath.c:1225: undefined reference to `scsi_dh_activate' drivers/built-in.o: In function `parse_path': /home/jim/linux-next/drivers/md/dm-mpath.c:581: undefined

Compiler warning with extract-cert.c in recent linux-next builds

2015-09-03 Thread Jim Davis
Over the past couple of days, linux-next builds have been turning up this compile warning buildlog-1441309952.txt:scripts/extract-cert.c: In function ‘write_cert’: buildlog-1441309952.txt:scripts/extract-cert.c:89:2: warning: format not a string literal and no format arguments [-Wformat-security]

randconfig build error with next-20150903, in drivers/staging/slicoss/slicoss.c

2015-09-03 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `slic_mcast_set_list': slicoss.c:(.text+0xf3677): undefined reference to `crc32_le' slicoss.c:(.text+0xf3687): undefined reference to `byte_rev_table' slicoss.c:(.text+0xf3690): undefined reference to `byte_rev_t

randconfig build error with next-20150901, in drivers/media/pci/netup_unidvb/netup_unidvb_core.c

2015-09-01 Thread Jim Davis
Building with the attached random configuration file, warning: (SND_SOC_INTEL_BYTCR_RT5640_MACH && SND_SOC_INTEL_CHT_BSW_RT5672_MACH && SND_SOC_INTEL_CHT_BSW_RT5645_MACH && SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH) selects SND_SST_IPC_ACPI which has unmet direct dependencies (SOUND && !M68K && !UML

Re: [PATCH] staging: ipath: fix build failure

2015-09-01 Thread Jim Davis
undefined! >> ERROR: "ib_unregister_device" [drivers/staging/ipath/ib_ipath.ko] undefined! >> ERROR: "ib_modify_qp_is_ok" [drivers/staging/ipath/ib_ipath.ko] undefined! >> ERROR: "ib_wq" [drivers/staging/ipath/ib_ipath.ko] undefined! >> >>

randconfig build error with next-20150831, in drivers/staging/ipath

2015-08-31 Thread Jim Davis
Building with the attached random configuration file, ERROR: "ib_alloc_device" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_dealloc_device" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_dispatch_event" [drivers/staging/ipath/ib_ipath.ko] undefined! ERROR: "ib_register_devi

randconfig build error with next-20150812, in drivers/i2c/busses/i2c-i801.c

2015-08-12 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `dmi_check_onboard_devices': i2c-i801.c:(.text+0x126b36): undefined reference to `i2c_new_device' drivers/built-in.o: In function `i801_remove': i2c-i801.c:(.text+0x126b86): undefined reference to `i2c_del_adapte

randconfig build error with next-20150812, in arch/x86/mm/init_64.c

2015-08-12 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) warning: (CRYPTO_DEV_QAT_DH895xCCVF) selects PCI_IOV which has unmet direct dependencies (PCI) In file included from arch/x86/mm

randconfig build error with next-20150812, in drivers/extcon/extcon-palmas.c

2015-08-12 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects IOSF_MBI which has unmet direct dependencies (PCI) drivers/extcon/extcon-palmas.c: In function ‘palmas_gpio_id_detect’: drivers/extcon/extcon-palmas.c:136:2: error: implicit declar

randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c

2015-08-06 Thread Jim Davis
Building with the attached random configuration file, drivers/usb/gadget/function/f_mass_storage.c: In function ‘fsg_main_thread’: drivers/usb/gadget/function/f_mass_storage.c:2520:2: error: implicit declaration of function ‘set_fs’ [-Werror=implicit-function-declaration] set_fs(get_ds()); ^ d

randconfig build error with next-20150806, in arch/x86/kernel/cpu/mshyperv.c

2015-08-06 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_MIC_HOST && CAIF_VIRTIO && VHOST_NET && VHOST_SCSI && VHOST_NET && VHOST_SCSI) selects VHOST_RING which has unmet direct dependencies (NETDEVICES && CAIF_VIRTIO || VIRTUALIZATION) arch/x86/built-in.o: In function `hv_machine_cr

randconfig build error with next-20150806, in drivers/power/twl4030_charger.c

2015-08-06 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `twl4030_charger_update_current': twl4030_charger.c:(.text+0x175638): undefined reference to `twl4030_get_madc_conversion' -- Jim # # Automatically generated file; DO NOT EDIT. # Linux/x86 4.2.0-rc5 Kernel Conf

randconfig build error with next-20150729, in drivers/mfd/intel-lpss-acpi.c

2015-07-29 Thread Jim Davis
Building with the attached random configuration file, In file included from drivers/mfd/intel-lpss-acpi.c:22:0: drivers/mfd/intel-lpss.h:58:2: error: ‘INTEL_LPSS_SLEEP_PM_OPS’ undeclared here (not in a function) INTEL_LPSS_SLEEP_PM_OPS \ ^ drivers/mfd/intel-lpss-acpi.c:67:8: note: in expansi

randconfig build error with next-20150729, in drivers/staging/most/aim-network/networking.c

2015-07-29 Thread Jim Davis
Building with the attached random configuration file, warning: (INTEL_MIC_HOST && CAIF_VIRTIO && VHOST_NET && VHOST_SCSI && VHOST_NET && VHOST_SCSI) selects VHOST_RING which has unmet direct dependencies (NETDEVICES && CAIF_VIRTIO || VIRTUALIZATION) drivers/built-in.o: In function `most_nd_setup'

randconfig build error with next-20150724, in mm/page_ext.c

2015-07-24 Thread Jim Davis
Building with the attached random configuration file, warning: (HWPOISON_INJECT && MEM_SOFT_DIRTY && IDLE_PAGE_TRACKING) selects PROC_PAGE_MONITOR which has unmet direct dependencies (PROC_FS && MMU) mm/built-in.o: In function `page_ext_init_flatmem': (.init.text+0x30ef): undefined reference to `

[PATCH] Documentation: installed man pages don't need to be executable

2015-07-16 Thread Jim Davis
Install the man pages with mode 644 instead of 755 Signed-off-by: Jim Davis --- Documentation/DocBook/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index b6a6a2e0dd3bb..170042a1ea5f2 100644 --- a

  1   2   3   >