07 Dec, 2013

1 commit


30 Nov, 2013

1 commit


23 Nov, 2013

1 commit


16 Nov, 2013

1 commit

  • Pull kbuild changes from Michal Marek:
    - LTO fixes, but the kallsyms part had to be reverted
    - Pass -Werror=implicit-int and -Werror=strict-prototypes to the
    compiler by default
    - snprintf fix in modpost
    - remove GREP_OPTIONS from the environment to be immune against exotic
    grep option settings

    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    kallsyms: Revert back to 128 max symbol length
    Kbuild: Ignore GREP_OPTIONS env variable
    scripts: kallsyms: Use %zu to print 'size_t'
    scripts/bloat-o-meter: use .startswith rather than fragile slicing
    scripts/bloat-o-meter: ignore changes in the size of linux_banner
    kbuild: replace unbounded sprintf call in modpost
    kbuild, bloat-o-meter: fix static detection
    Kbuild: Handle longer symbols in kallsyms.c
    kbuild: Increase kallsyms max symbol length
    Makefile: enable -Werror=implicit-int and -Werror=strict-prototypes by default

    Linus Torvalds
     

13 Nov, 2013

1 commit

  • Make menuconfig allows one to choose compression format of an initial
    ramdisk image. But this choice does not result in duly compressed ramdisk
    image. Because - $ make install - does not pass on the selected
    compression choice to the dracut(8) tool, which creates the initramfs
    file. dracut(8) generates the image with the default compression, ie.
    gzip(1).

    This patch exports the selected compression option to a sub-shell
    environment, so that it could be used by dracut(8) tool to generate
    appropriately compressed initramfs images.

    There isn't a straightforward way to pass on options to dracut(8) via
    positional parameters. Because it is indirectly invoked at the end of a $
    make install sequence.

    # make install
    -> arch/$arch/boot/Makefile
    -> arch/$arch/boot/install.sh
    -> /sbing/installkernel ...
    -> /sbin/new-kernel-pkg ...
    -> /sbin/dracut ...

    Signed-off-by: P J P
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    P J P
     

12 Nov, 2013

1 commit

  • When building the kernel in a shell which defines GREP_OPTIONS so that
    grep behavior is modified, we can break the generation of the syscalls
    table like so:

    __SYSCALL_COMMON(^[[01;31m^[[K0^[[m^[[K, sys_read, sys_read)
    __SYSCALL_COMMON(^[[01;31m^[[K1^[[m^[[K, sys_write, sys_write)
    __SYSCALL_COMMON(^[[01;31m^[[K1^[[m^[[K0, sys_mprotect, sys_mprotect) ...

    This is just the initial breakage, later we barf when generating
    modules.

    In this case, GREP_OPTIONS contains "--color=always" which adds the shell
    colors markup and completely fudges the headers under ...generated/asm/.

    Fix that by unexporting the GREP_OPTIONS variable for the whole kernel
    build as we tend to use grep at a bunch of places.

    Signed-off-by: Borislav Petkov
    Signed-off-by: Michal Marek

    Borislav Petkov
     

04 Nov, 2013

1 commit


28 Oct, 2013

1 commit


23 Oct, 2013

1 commit

  • The common error found in forward-ported/backported patches is missing
    headers. One recent example (files and function names are mangled):

    void foo(){}
    EXPORT_SYMBOL(foo);

    gave only warning

    foo.c:12345678:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
    void foo(){}
    ^

    foo.c:12345679:5: warning: data definition has no type or storage class [enabled by default]
    EXPORT_SYMBOL(foo);
    foo.c:12345679:5: warning: type defaults to 'int' in declaration of 'EXORT_SYMBOL' [-Werror=implicit-int]

    Now it's a fatal error. Tested on x86_64 allyesconfig.

    [akpm@linux-foundation.org: fix typos in comments]
    Signed-off-by: Sergei Trofimovich
    Cc: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Michal Marek

    Sergei Trofimovich
     

20 Oct, 2013

1 commit


14 Oct, 2013

1 commit


07 Oct, 2013

1 commit


30 Sep, 2013

1 commit


24 Sep, 2013

1 commit


17 Sep, 2013

1 commit


12 Sep, 2013

1 commit

  • This reverts the Linux for Workgroups thing. And no, before somebody
    asks, we're not doing Linux95. Not for a few years, at least.

    Sure, the flag added some color to the logo, and could have remained as
    a testament to my leet gimp skills. But no. And I'll do this early, to
    avoid the chance of forgetting when I'm doing the actual rc1 release on
    the road.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

08 Sep, 2013

1 commit


03 Sep, 2013

1 commit


28 Aug, 2013

1 commit


26 Aug, 2013

1 commit


19 Aug, 2013

1 commit


12 Aug, 2013

1 commit


05 Aug, 2013

1 commit


29 Jul, 2013

1 commit


22 Jul, 2013

1 commit


15 Jul, 2013

1 commit


11 Jul, 2013

2 commits

  • This reverts commit d2aae8477cd00325bb7c7c7e95be488088900c48.

    It is completely and utterly broken. Module install should not build
    any files, and adding broken dependencies to "help" it build files is
    complete and utter sh*t.

    The kernel should not be built by root, and "make install" and "make
    module_install" (that for obvious reasons need to be run as root)
    absolutely must not build any files. They should only ever copy the
    already-built files over.

    So having dependencies for the install targets is wrong, wrong, wrong.

    If you try to install a kernel without building it first, you *should*
    get errors. The build system shouldn't try to help root build the files.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Pull kbuild updates from Michal Marek:
    - fix for make headers_install argv explosion with too long path
    - scripts/setlocalversion does not call git update-index needlessly
    - fix for the src.rpm produced by make rpm-pkg. The new make
    image_name can be useful also for other packaging tools.
    - scripts/mod/devicetable-offsets.o is not rebuilt during each make run
    - make modules_install dependency fix
    - scripts/sortextable portability fix
    - fix for kbuild to generate the output directory for all object files
    in subdirs.
    - a couple of minor fixes

    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    kbuild: create directory for dir/file.o
    tools/include: use stdint types for user-space byteshift headers
    Makefile: Fix install error with make -j option
    Fix a build warning in scripts/mod/file2alias.c
    improve modalias building
    scripts/mod: Spelling s/DEVICEVTABLE/DEVICETABLE/
    kbuild: fix error when building from src rpm
    scripts/setlocalversion on write-protected source tree
    Makefile.lib: align DTB quiet_cmd
    kbuild: fix make headers_install when path is too long

    Linus Torvalds
     

05 Jul, 2013

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "The usual stuff from trivial tree"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
    treewide: relase -> release
    Documentation/cgroups/memory.txt: fix stat file documentation
    sysctl/net.txt: delete reference to obsolete 2.4.x kernel
    spinlock_api_smp.h: fix preprocessor comments
    treewide: Fix typo in printk
    doc: device tree: clarify stuff in usage-model.txt.
    open firmware: "/aliasas" -> "/aliases"
    md: bcache: Fixed a typo with the word 'arithmetic'
    irq/generic-chip: fix a few kernel-doc entries
    frv: Convert use of typedef ctl_table to struct ctl_table
    sgi: xpc: Convert use of typedef ctl_table to struct ctl_table
    doc: clk: Fix incorrect wording
    Documentation/arm/IXP4xx fix a typo
    Documentation/networking/ieee802154 fix a typo
    Documentation/DocBook/media/v4l fix a typo
    Documentation/video4linux/si476x.txt fix a typo
    Documentation/virtual/kvm/api.txt fix a typo
    Documentation/early-userspace/README fix a typo
    Documentation/video4linux/soc-camera.txt fix a typo
    lguest: fix CONFIG_PAE -> CONFIG_x86_PAE in comment
    ...

    Linus Torvalds
     

03 Jul, 2013

1 commit


01 Jul, 2013

1 commit


28 Jun, 2013

1 commit


24 Jun, 2013

1 commit

  • The following issue can be reproduced with Linus' tree on
    an x86_64 server.

    >+ cp /home/user/rpmbuild-test/BUILDROOT/kernel-3.9.2.x86_64/boot/vmlinuz-3.9.2
    >cp: missing destination file operand after
    >/home/user/rpmbuild-test/BUILDROOT/kernel-3.9.2-1.x86_64/boot/vmlinuz-3.9.2'
    >Try `cp --help' for more information.
    >error: Bad exit status from /var/tmp/rpm-tmp.R4o0iI (%install)

    Here are the commands to reproduce:

    make defconfig
    make rpm-pkg

    Use the resulting src rpm to build as follows:

    mkdir ~/rpmbuild-test
    cd ~/rpmbuild-test
    rpmbuild --rebuild --define "_topdir `pwd`" -vv ~/rpmbuild/SRPMS/kernel-3.10.0_rc1+-1.src.rpm

    The issue is because the %install script uses $KBUILD_IMAGE and it hasn't
    been set since it is only available in the kbuild system and not in the
    %install script.

    This patch adds a Makefile target to emit the image_name that can be used
    and modifies the mkspec to use the dynamic name in %install.

    Signed-off-by: Mike Marciniszyn
    Signed-off-by: Michal Marek

    Mike Marciniszyn
     

23 Jun, 2013

1 commit


16 Jun, 2013

1 commit


09 Jun, 2013

1 commit


02 Jun, 2013

1 commit


27 May, 2013

1 commit


21 May, 2013

1 commit


12 May, 2013

1 commit