07 Nov, 2011

1 commit

  • * 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
    Revert "tracing: Include module.h in define_trace.h"
    irq: don't put module.h into irq.h for tracking irqgen modules.
    bluetooth: macroize two small inlines to avoid module.h
    ip_vs.h: fix implicit use of module_get/module_put from module.h
    nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
    include: replace linux/module.h with "struct module" wherever possible
    include: convert various register fcns to macros to avoid include chaining
    crypto.h: remove unused crypto_tfm_alg_modname() inline
    uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
    pm_runtime.h: explicitly requires notifier.h
    linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
    miscdevice.h: fix up implicit use of lists and types
    stop_machine.h: fix implicit use of smp.h for smp_processor_id
    of: fix implicit use of errno.h in include/linux/of.h
    of_platform.h: delete needless include
    acpi: remove module.h include from platform/aclinux.h
    miscdevice.h: delete unnecessary inclusion of module.h
    device_cgroup.h: delete needless include
    net: sch_generic remove redundant use of
    net: inet_timewait_sock doesnt need
    ...

    Fix up trivial conflicts (other header files, and removal of the ab3550 mfd driver) in
    - drivers/media/dvb/frontends/dibx000_common.c
    - drivers/media/video/{mt9m111.c,ov6650.c}
    - drivers/mfd/ab3550-core.c
    - include/linux/dmaengine.h

    Linus Torvalds
     

01 Nov, 2011

1 commit

  • The pretty much brings in the kitchen sink along
    with it, so it should be avoided wherever reasonably possible in
    terms of being included from other commonly used
    files, as it results in a measureable increase on compile times.

    The worst culprit was probably device.h since it is used everywhere.
    This file also had an implicit dependency/usage of mutex.h which was
    masked by module.h, and is also fixed here at the same time.

    There are over a dozen other headers that simply declare the
    struct instead of pulling in the whole file, so follow their lead
    and simply make it a few more.

    Most of the implicit dependencies on module.h being present by
    these headers pulling it in have been now weeded out, so we can
    finally make this change with hopefully minimal breakage.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

04 Sep, 2011

1 commit

  • Standardize the mechanisms to emit logging messages.

    A few other modules used an #include from saa7146,
    convert those at the same time.

    Add pr_fmt.
    Convert printks to pr_
    Convert printks without KERN_ to appropriate pr_.
    Convert logging macros requiring multiple parentheses to normal style.
    Removed embedded prefixes when pr_fmt was added.
    Whitespace cleanups when around other conversions.
    Use printf extension %pM to print mac address.
    Coalesce format strings.

    Signed-off-by: Joe Perches
    Acked-by: Michael Hunold
    Signed-off-by: Mauro Carvalho Chehab

    Joe Perches
     

19 Jan, 2011

1 commit


02 Dec, 2010

1 commit

  • Drivers should append their name on exported symbols, to avoid
    conflicts with allyesconfig:

    drivers/staging/built-in.o: In function `format_by_fourcc':
    /home/v4l/work_trees/linus/drivers/staging/cx25821/cx25821-video.c:96: multiple definition of `format_by_fourcc'
    drivers/media/built-in.o:/home/v4l/work_trees/linus/drivers/media/common/saa7146_video.c:88: first defined here

    Let's rename both occurences with a small shellscript:

    for i in drivers/staging/cx25821/*.[ch]; do sed s,format_by_fourcc,cx25821_format_by_fourcc,g a && mv a $i; done
    for i in drivers/media/common/saa7146*.[ch]; do sed s,format_by_fourcc,saa7146_format_by_fourcc,g a && mv a $i; done
    for i in include/media/saa7146*.[ch]; do sed s,format_by_fourcc,saa7146_format_by_fourcc,g a && mv a $i; done

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

07 Apr, 2009

1 commit


30 Mar, 2009

2 commits


17 Oct, 2008

1 commit


12 Oct, 2008

1 commit


20 Jul, 2008

1 commit


24 Oct, 2007

1 commit

  • Commits

    58b053e4ce9d2fc3023645c1b96e537c72aa8d9a ("Update arch/ to use sg helpers")
    45711f1af6eff1a6d010703b4862e0d2b9afd056 ("[SG] Update drivers to use sg helpers")
    fa05f1286be25a8ce915c5dd492aea61126b3f33 ("Update net/ to use sg helpers")

    converted many files to use the scatter gather helpers without ensuring
    that the necessary headerfile is included. This
    happened to work for ia64, powerpc, sparc64 and x86 because they
    happened to drag in that file via their .

    On most of the others this probably broke.

    Instead of increasing the header file spider web I choose to include
    directly into the affectes files.

    Signed-off-by: Ralf Baechle
    Signed-off-by: Jens Axboe
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     

10 Oct, 2007

1 commit


19 Jul, 2007

1 commit


09 May, 2007

1 commit

  • I added saa7146_vmalloc_destroy_pgtable() which frees the resources
    allocated by saa7146_vmalloc_build_pgtable() and updated the callers in
    budget-core.c and av7110.c. I have also been through the updated
    functions and updated the error paths to ensure they free all allocated
    resources on error.
    I also realised that there are other callers to saa7146_pgtable_free()
    which did not have any sg DMA mapped so it seems wrong to add the
    pci_unmap_sg() into that function. Instead I created
    saa7146_vmalloc_destroy_pgtable() to do this.
    Also included in this patch are the previous fixes for pci_unmap_sg()
    and syncing the PCI streamed data to work with a SWIOTLB and match the
    requirements documented in DMA-API.txt.

    Signed-off-by: Jon Burgess
    Signed-off-by: Oliver Endriss
    Signed-off-by: Mauro Carvalho Chehab

    Jon Burgess
     

10 Dec, 2006

2 commits


07 Feb, 2006

1 commit


07 Jan, 2006

1 commit

  • Now when kbuild passes KBUILD_MODNAME with "" do not __stringify it when
    used. Remove __stringnify for all users.
    This also fixes the output of:

    $ ls -l /sys/module/
    drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia
    drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia_core
    drwxr-xr-x 3 root root 0 2006-01-05 14:24 "processor"
    drwxr-xr-x 3 root root 0 2006-01-05 14:24 "psmouse"

    The quoting of the module names will be gone again.
    Thanks to GregKH + Kay Sievers for reproting this.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     

13 Dec, 2005

2 commits


10 Sep, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds