1. 21 Apr, 2008 40 commits
    • Linus Torvalds's avatar
      Merge branch 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block · 548453fd
      Linus Torvalds authored
      * 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block:
        block: fix blk_register_queue() return value
        block: fix memory hotplug and bouncing in block layer
        block: replace remaining __FUNCTION__ occurrences
        Kconfig: clean up block/Kconfig help descriptions
        cciss: fix warning oops on rmmod of driver
        cciss: Fix race between disk-adding code and interrupt handler
        block: move the padding adjustment to blk_rq_map_sg
        block: add bio_copy_user_iov support to blk_rq_map_user_iov
        block: convert bio_copy_user to bio_copy_user_iov
        loop: manage partitions in disk image
        cdrom: use kmalloced buffers instead of buffers on stack
        cdrom: make unregister_cdrom() return void
        cdrom: use list_head for cdrom_device_info list
        cdrom: protect cdrom_device_info list by mutex
        cdrom: cleanup hardcoded error-code
        cdrom: remove ifdef CONFIG_SYSCTL
      548453fd
    • Adrian Bunk's avatar
      frv: unexport kmap_atomic_to_page · 9fd91217
      Adrian Bunk authored
      This patch removes the no longer used export of kmap_atomic_to_page.
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9fd91217
    • Adrian Bunk's avatar
      frv: remove HARD_RESET_NOW() · eb0cc5fe
      Adrian Bunk authored
      HARD_RESET_NOW() was unused.
      
      And one of the few remaining cli() users.
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      eb0cc5fe
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6 · 19b5b517
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6:
        SELinux: one little, two little, three little whitespaces, the avc.c saga.
        SELinux: cleanup on isle selinuxfs.c
        changing whitespace for fun and profit: policydb.c
        SELinux: whitespace and formating fixes for hooks.c
        SELinux: clean up printks
        SELinux: sidtab.c whitespace, syntax, and static declaraction cleanups
        SELinux: services.c whitespace, syntax, and static declaraction cleanups
        SELinux: mls.c whitespace, syntax, and static declaraction cleanups
        SELinux: hashtab.c whitespace, syntax, and static declaraction cleanups
        SELinux: ebitmap.c whitespace, syntax, and static declaraction cleanups
        SELinux: conditional.c whitespace, syntax, and static declaraction cleanups
        SELinux: avtab.c whitespace, syntax, and static declaraction cleanups
        SELinux: xfrm.c whitespace, syntax, and static declaraction cleanups
        SELinux: nlmsgtab.c whitespace, syntax, and static declaraction cleanups
        SELinux: netnode.c whitespace, syntax, and static declaraction cleanups
        SELinux: netlink.c whitespace, syntax, and static declaraction cleanups
        SELinux: netlabel.c whitespace, syntax, and static declaraction cleanups
        SELinux: netif.c whitespace, syntax, and static declaraction cleanups
      19b5b517
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6 · bda0c0af
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6: (42 commits)
        PCI: Change PCI subsystem MAINTAINER
        PCI: pci-iommu-iotlb-flushing-speedup
        PCI: pci_setup_bridge() mustn't be __devinit
        PCI: pci_bus_size_cardbus() mustn't be __devinit
        PCI: pci_scan_device() mustn't be __devinit
        PCI: pci_alloc_child_bus() mustn't be __devinit
        PCI: replace remaining __FUNCTION__ occurrences
        PCI: Hotplug: fakephp: Return success, not ENODEV, when bus rescan is triggered
        PCI: Hotplug: Fix leaks in IBM Hot Plug Controller Driver - ibmphp_init_devno()
        PCI: clean up resource alignment management
        PCI: aerdrv_acpi.c: remove unneeded NULL check
        PCI: Update VIA CX700 quirk
        PCI: Expose PCI VPD through sysfs
        PCI: iommu: iotlb flushing
        PCI: simplify quirk debug output
        PCI: iova RB tree setup tweak
        PCI: parisc: use generic pci_enable_resources()
        PCI: ppc: use generic pci_enable_resources()
        PCI: powerpc: use generic pci_enable_resources()
        PCI: ia64: use generic pci_enable_resources()
        ...
      bda0c0af
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 904e0ab5
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        [HWRNG] omap: Minor updates
        [CRYPTO] kconfig: Ordering cleanup
        [CRYPTO] all: Clean up init()/fini()
        [CRYPTO] padlock-aes: Use generic setkey function
        [CRYPTO] aes: Export generic setkey
        [CRYPTO] api: Make the crypto subsystem fully modular
        [CRYPTO] cts: Add CTS mode required for Kerberos AES support
        [CRYPTO] lrw: Replace all adds to big endians variables with be*_add_cpu
        [CRYPTO] tcrypt: Change the XTEA test vectors
        [CRYPTO] tcrypt: Shrink the tcrypt module
        [CRYPTO] tcrypt: Change the usage of the test vectors
        [CRYPTO] api: Constify function pointer tables
        [CRYPTO] aes-x86-32: Remove unused return code
        [CRYPTO] tcrypt: Shrink speed templates
        [CRYPTO] tcrypt: Group common speed templates
        [CRYPTO] sha512: Rename sha512 to sha512_generic
        [CRYPTO] sha384: Hardware acceleration for s390
        [CRYPTO] sha512: Hardware acceleration for s390
        [CRYPTO] s390: Generic sha_update and sha_final
        [CRYPTO] api: Switch to proc_create()
      904e0ab5
    • Linus Torvalds's avatar
      Merge branch 'irq-cleanups-upstream' of... · 98a1e95f
      Linus Torvalds authored
      Merge branch 'irq-cleanups-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6
      
      * 'irq-cleanups-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
        [ISDN] minor irq handler cleanups
        drivers/char: minor irq handler cleanups
        [PPC] minor irq handler cleanups
        [BLACKFIN] minor irq handler cleanups
        [SPARC] minor irq handler cleanups
        ARM minor irq handler cleanup: avoid passing unused info to irq
      98a1e95f
    • Linus Torvalds's avatar
      Merge branch 'isdn-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6 · abe834c8
      Linus Torvalds authored
      * 'isdn-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
        [ISDN] Hisax: eliminate many unnecessary references to CardType[]
        [ISDN] HiSax: modularization prep
      abe834c8
    • Roland McGrath's avatar
      ptrace: compat_ptrace_request siginfo · e16b2781
      Roland McGrath authored
      This adds support for PTRACE_GETSIGINFO and PTRACE_SETSIGINFO in
      compat_ptrace_request.  It relies on existing arch definitions for
      copy_siginfo_to_user32 and copy_siginfo_from_user32.
      
      On powerpc, this fixes a longstanding regression of 32-bit ptrace
      calls on 64-bit kernels vs native calls (64-bit calls or 32-bit
      kernels).  This can be seen in a 32-bit call using PTRACE_GETSIGINFO
      to examine e.g. siginfo_t.si_addr from a signal that sets it.
      (This was broken as of 2.6.24 and, I presume, many or all prior versions.)
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e16b2781
    • Randy Dunlap's avatar
      skbuff: fix missing kernel-doc notation · 553a5672
      Randy Dunlap authored
      Add kernel-doc notation for ndisc_nodetype:
      
      Warning(linux-2.6.25-git2//include/linux/skbuff.h:340): No description found for parameter 'ndisc_nodetype'
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      553a5672
    • Linus Torvalds's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · 9a64388d
      Linus Torvalds authored
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (202 commits)
        [POWERPC] Fix compile breakage for 64-bit UP configs
        [POWERPC] Define copy_siginfo_from_user32
        [POWERPC] Add compat handler for PTRACE_GETSIGINFO
        [POWERPC] i2c: Fix build breakage introduced by OF helpers
        [POWERPC] Optimize fls64() on 64-bit processors
        [POWERPC] irqtrace support for 64-bit powerpc
        [POWERPC] Stacktrace support for lockdep
        [POWERPC] Move stackframe definitions to common header
        [POWERPC] Fix device-tree locking vs. interrupts
        [POWERPC] Make pci_bus_to_host()'s struct pci_bus * argument const
        [POWERPC] Remove unused __max_memory variable
        [POWERPC] Simplify xics direct/lpar irq_host setup
        [POWERPC] Use pseries_setup_i8259_cascade() in pseries_mpic_init_IRQ()
        [POWERPC] Turn xics_setup_8259_cascade() into a generic pseries_setup_i8259_cascade()
        [POWERPC] Move xics_setup_8259_cascade() into platforms/pseries/setup.c
        [POWERPC] Use asm-generic/bitops/find.h in bitops.h
        [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup
        [POWERPC] 85xx: Fix the size of qe muram for MPC8568E
        [POWERPC] 86xx: mpc86xx_hpcn - Temporarily accept old dts node identifier.
        [POWERPC] 86xx: mark functions static, other minor cleanups
        ...
      9a64388d
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6 · e80ab411
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: (36 commits)
        SCSI: convert struct class_device to struct device
        DRM: remove unused dev_class
        IB: rename "dev" to "srp_dev" in srp_host structure
        IB: convert struct class_device to struct device
        memstick: convert struct class_device to struct device
        driver core: replace remaining __FUNCTION__ occurrences
        sysfs: refill attribute buffer when reading from offset 0
        PM: Remove destroy_suspended_device()
        Firmware: add iSCSI iBFT Support
        PM: Remove legacy PM (fix)
        Kobject: Replace list_for_each() with list_for_each_entry().
        SYSFS: Explicitly include required header file slab.h.
        Driver core: make device_is_registered() work for class devices
        PM: Convert wakeup flag accessors to inline functions
        PM: Make wakeup flags available whenever CONFIG_PM is set
        PM: Fix misuse of wakeup flag accessors in serial core
        Driver core: Call device_pm_add() after bus_add_device() in device_add()
        PM: Handle device registrations during suspend/resume
        block: send disk "change" event for rescan_partitions()
        sysdev: detect multiple driver registrations
        ...
      
      Fixed trivial conflict in include/linux/memory.h due to semaphore header
      file change (made irrelevant by the change to mutex).
      e80ab411
    • Linus Torvalds's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 529a41e3
      Linus Torvalds authored
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        rose: Socket lock was not released before returning to user space
        hci_usb: remove code obfuscation
        drivers/net/appletalk: use time_before, time_before_eq, etc
        drivers/atm: use time_before, time_before_eq, etc
        hci_usb: do not initialize static variables to 0
        tg3: 5701 DMA corruption fix
        atm nicstar: Removal of debug code containing deprecated calls to cli()/sti()
        iwlwifi: Fix unconditional access to station->tidp[].agg.
        netfilter: Fix SIP conntrack build with NAT disabled.
        netfilter: Fix SCTP nat build.
      529a41e3
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6 · c3823c47
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6: (25 commits)
        avr32: Add hardware power-down function call
        avr32: add include/asm-avr32/serial.h
        avr32: don't offer PARPORT_PC
        avr32: don't offer CONFIG_GEN_RTC
        avr32: don't offer CONFIG_RTC
        add include/asm-avr32/xor.h
        avr32: Remove two unused #defines from mm/init.c
        avr32: Implement set_rate(), set_parent() and mode() for pll1
        avr32: Generic clockevents support
        avr32: Move sleep code into mach-at32ap
        avr32: Use constants from sysreg.h in asm.h
        avr32: Delete mostly unused header asm/intc.h
        avr32: start clocksource cleanup
        avr32: pass i2c board info through at32_add_device_twi
        avr32: cleanup - use _AC macro to define PAGE_SIZE
        Generate raw keyboard codes for AVR32 architecture
        atmel_usba_udc: Add support for AT91CAP9 UDPHS
        atmel_usba_udc: Add missing kfree() in usba_udc_remove()
        atmel_usba_udc: move endpoint declarations into platform data.
        atmel_usba_udc: Kill GPIO_PIN_NONE
        ...
      c3823c47
    • Linus Torvalds's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrt · 5dfeaef8
      Linus Torvalds authored
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-hrt:
        hrtimer: optimize the softirq time optimization
        hrtimer: reduce calls to hrtimer_get_softirq_time()
        clockevents: fix typo in tick-broadcast.c
        jiffies: add time_is_after_jiffies and others which compare with jiffies
      5dfeaef8
    • Linus Torvalds's avatar
      Merge branch 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc · 429f731d
      Linus Torvalds authored
      * 'semaphore' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc:
        Deprecate the asm/semaphore.h files in feature-removal-schedule.
        Convert asm/semaphore.h users to linux/semaphore.h
        security: Remove unnecessary inclusions of asm/semaphore.h
        lib: Remove unnecessary inclusions of asm/semaphore.h
        kernel: Remove unnecessary inclusions of asm/semaphore.h
        include: Remove unnecessary inclusions of asm/semaphore.h
        fs: Remove unnecessary inclusions of asm/semaphore.h
        drivers: Remove unnecessary inclusions of asm/semaphore.h
        net: Remove unnecessary inclusions of asm/semaphore.h
        arch: Remove unnecessary inclusions of asm/semaphore.h
      429f731d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm · 85b375a6
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (212 commits)
        [ARM] pxa: Phycore pcm-990-specific code for the PXA270 Quick Capture driver
        [ARM] pxa: V4L2 soc_camera driver for PXA270
        [ARM] pxa: restrict availability of pxa2xx PCMCIA drivers
        [ARM] 5005/1: BAST: Fix kset_name initialiser
        [ARM] 4967/1: Adds functions to set clkout rate for Samsung S3C2410
        [ARM] 4988/1: Add GPIO lib support to the EP93xx
        [ARM] Add initial sparsemem support
        [ARM] pxa: initialise PXA devices before platform init code
        [ARM] 5002/1: tosa: add two more leds
        [ARM] 5004/1: Tosa: make several unreferenced structures static.
        [ARM] 5003/1: Shut up sparse warnings
        [ARM] 4977/2: soc - pxa2xx-ac97 - Add missing clk_enable()
        [ARM] 4976/1: zylonite: Configure GPIO for WM9713 IRQ line
        [ARM] 4974/1: Drop unused leds-tosa.
        [ARM] 4973/1: Tosa: use leds-gpio driver.
        [ARM] 4972/1: Tosa: convert scoop GPIOs usage to generic gpio code
        [ARM] 4971/1: pxaficp_ir: provide startup and shutdown hooks
        [ARM] pxa: lubbock: move mis-placed SPI info
        [ARM] 4970/1: tosa: correct gpio used for wake up.
        [ARM] 4966/1: magician: add MFP pin configuration
        ...
      85b375a6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of... · ec965350
      Linus Torvalds authored
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel: (62 commits)
        sched: build fix
        sched: better rt-group documentation
        sched: features fix
        sched: /debug/sched_features
        sched: add SCHED_FEAT_DEADLINE
        sched: debug: show a weight tree
        sched: fair: weight calculations
        sched: fair-group: de-couple load-balancing from the rb-trees
        sched: fair-group scheduling vs latency
        sched: rt-group: optimize dequeue_rt_stack
        sched: debug: add some debug code to handle the full hierarchy
        sched: fair-group: SMP-nice for group scheduling
        sched, cpuset: customize sched domains, core
        sched, cpuset: customize sched domains, docs
        sched: prepatory code movement
        sched: rt: multi level group constraints
        sched: task_group hierarchy
        sched: fix the task_group hierarchy for UID grouping
        sched: allow the group scheduler to have multiple levels
        sched: mix tasks and groups
        ...
      ec965350
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86 · 5f033bb9
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: (77 commits)
        x86: UV startup of slave cpus
        x86: integrate pci-dma.c
        x86: don't do dma if mask is NULL.
        x86: return conditional to mmu
        x86: remove kludge from x86_64
        x86: unify gfp masks
        x86: retry allocation if failed
        x86: don't try to allocate from DMA zone at first
        x86: use a fallback dev for i386
        x86: use numa allocation function in i386
        x86: remove virt_to_bus in pci-dma_64.c
        x86: adjust dma_free_coherent for i386
        x86: move bad_dma_address
        x86: isolate coherent mapping functions
        x86: move dma_coherent functions to pci-dma.c
        x86: merge iommu initialization parameters
        x86: merge dma_supported
        x86: move pci fixup to pci-dma.c
        x86: move x86_64-specific to common code.
        x86: move initialization functions to pci-dma.c
        ...
      5f033bb9
    • Linus Torvalds's avatar
      Merge branch 'ro-bind.b6' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 · fd9be4ce
      Linus Torvalds authored
      * 'ro-bind.b6' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (24 commits)
        [PATCH] r/o bind mounts: debugging for missed calls
        [PATCH] r/o bind mounts: honor mount writer counts at remount
        [PATCH] r/o bind mounts: track numbers of writers to mounts
        [PATCH] r/o bind mounts: check mnt instead of superblock directly
        [PATCH] r/o bind mounts: elevate count for xfs timestamp updates
        [PATCH] r/o bind mounts: make access() use new r/o helper
        [PATCH] r/o bind mounts: write counts for truncate()
        [PATCH] r/o bind mounts: elevate write count for chmod/chown callers
        [PATCH] r/o bind mounts: elevate write count for open()s
        [PATCH] r/o bind mounts: elevate write count for ioctls()
        [PATCH] r/o bind mounts: write count for file_update_time()
        [PATCH] r/o bind mounts: elevate write count for do_utimes()
        [PATCH] r/o bind mounts: write counts for touch_atime()
        [PATCH] r/o bind mounts: elevate write count for ncp_ioctl()
        [PATCH] r/o bind mounts: elevate write count for xattr_permission() callers
        [PATCH] r/o bind mounts: get write access for vfs_rename() callers
        [PATCH] r/o bind mounts: write counts for link/symlink
        [PATCH] r/o bind mounts: get callers of vfs_mknod/create/mkdir()
        [PATCH] r/o bind mounts: elevate write count for rmdir and unlink.
        [PATCH] r/o bind mounts: drop write during emergency remount
        ...
      fd9be4ce
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 · b1af9ccc
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (27 commits)
        sh: Fix up L2 cache probe.
        sh: Fix up SH-4A part probe.
        sh: Add support for SH7723 CPU subtype.
        sh: Fix up SH7763 build.
        sh: Add migor_ts support to MigoR
        sh: Add rs5c732b RTC support to MigoR
        sh: Add I2C support to MigoR
        sh: Add I2C platform data to sh7722
        sh: MigoR NAND flash support using gen_flash
        sh: MigoR NOR flash support using physmap-flash
        sh: Fix up mach-types formatting from merge damage.
        sh: r7780rp: Hook up the I2C and SMBus platform devices.
        sh: Use phyical addresses for MigoR smc91x resources
        sh: Use physical addresses for sh7722 USBF resources
        sh: Add MigoR header file
        Fix sh_keysc double free
        sh: Fix up __access_ok() check for nommu.
        sh: Allow optimized clear/copy page routines to be used on SH-2.
        sh: Hook up the rest of the SH7770 serial ports.
        sh: Add support for Solution Engine SH7721 board
        ...
      b1af9ccc
    • Linus Torvalds's avatar
      Fix RCU list iterator use of 'rcu_dereference()' · cc216c5d
      Linus Torvalds authored
      The RCU iterators used 'rcu_dereference()' on an already-fetched RCU
      pointer value, which defeats the whole point of the exercise.
      
      When we dereference a pointer protected by RCU, we need to make sure
      that we only fetch the value _once_, because if the compiler ends up
      re-loading it due to register pressure, the newly reloaded value could
      be different from the previously fetched one, and you get inconsistent
      results.
      
      Cleaned-up, fixed, and the pointless list_for_each_safe_rcu #define
      deleted by Paul Kenney.
      Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      cc216c5d
    • Eric Paris's avatar
      SELinux: one little, two little, three little whitespaces, the avc.c saga. · 95fff33b
      Eric Paris authored
      avc.c was bad.  It had whitespace and syntax issues which are against
      our coding style.  I have had a little chat with it and the result of
      that conversation looked like this patch.
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      95fff33b
    • Eric Paris's avatar
      SELinux: cleanup on isle selinuxfs.c · 1872981b
      Eric Paris authored
      Why would anyone just clean up white space all day?  Because they were
      out too late last night and don't want to think for a day.  So here is a
      nice clean selinuxfs.c patch.
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      1872981b
    • Eric Paris's avatar
      changing whitespace for fun and profit: policydb.c · 2ced3dfd
      Eric Paris authored
      More formatting changes.  Aside from the 80 character line limit even
      the checkpatch scripts like this file now.  Too bad I don't get paid by
      the lines of code I change.
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      2ced3dfd
    • Eric Paris's avatar
      SELinux: whitespace and formating fixes for hooks.c · 828dfe1d
      Eric Paris authored
      All whitespace and formatting.  Nothing interesting to see here.  About
      the only thing to remember is that we aren't supposed to initialize
      static variables to 0/NULL.  It is done for us and doing it ourselves
      puts them in a different section.
      
      With this patch running checkpatch.pl against hooks.c only gives us
      complaints about busting the 80 character limit and declaring extern's
      in .c files.  Apparently they don't like it, but I don't feel like going
      to the trouble of moving those to .h files...
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      828dfe1d
    • Eric Paris's avatar
      SELinux: clean up printks · 744ba35e
      Eric Paris authored
      Make sure all printk start with KERN_*
      Make sure all printk end with \n
      Make sure all printk have the word 'selinux' in them
      Change "function name" to "%s", __func__ (found 2 wrong)
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      744ba35e
    • Eric Paris's avatar
      SELinux: sidtab.c whitespace, syntax, and static declaraction cleanups · 11670889
      Eric Paris authored
      This patch changes sidtab.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      11670889
    • Eric Paris's avatar
      SELinux: services.c whitespace, syntax, and static declaraction cleanups · 5d55a345
      Eric Paris authored
      This patch changes services.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      5d55a345
    • Eric Paris's avatar
      SELinux: mls.c whitespace, syntax, and static declaraction cleanups · 1a5e6f87
      Eric Paris authored
      This patch changes mls.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      1a5e6f87
    • Eric Paris's avatar
      SELinux: hashtab.c whitespace, syntax, and static declaraction cleanups · 719a2f8e
      Eric Paris authored
      This patch changes hashtab.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      719a2f8e
    • Eric Paris's avatar
      SELinux: ebitmap.c whitespace, syntax, and static declaraction cleanups · 7696ee80
      Eric Paris authored
      This patch changes ebitmap.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      7696ee80
    • Eric Paris's avatar
      SELinux: conditional.c whitespace, syntax, and static declaraction cleanups · 7c2b240e
      Eric Paris authored
      This patch changes conditional.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      7c2b240e
    • Eric Paris's avatar
      SELinux: avtab.c whitespace, syntax, and static declaraction cleanups · eb5df9a7
      Eric Paris authored
      This patch changes avtab.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      eb5df9a7
    • Eric Paris's avatar
      SELinux: xfrm.c whitespace, syntax, and static declaraction cleanups · 3c1c88ab
      Eric Paris authored
      This patch changes xfrm.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      3c1c88ab
    • Eric Paris's avatar
      SELinux: nlmsgtab.c whitespace, syntax, and static declaraction cleanups · bfff3aa4
      Eric Paris authored
      This patch changes nlmsgtab.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      bfff3aa4
    • Eric Paris's avatar
      SELinux: netnode.c whitespace, syntax, and static declaraction cleanups · 7b6b239c
      Eric Paris authored
      This patch changes netnode.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      7b6b239c
    • Eric Paris's avatar
      SELinux: netlink.c whitespace, syntax, and static declaraction cleanups · c544c028
      Eric Paris authored
      This patch changes netlink.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      c544c028
    • Eric Paris's avatar
      SELinux: netlabel.c whitespace, syntax, and static declaraction cleanups · a6aaafee
      Eric Paris authored
      This patch changes netlabel.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      locateion of { around struct and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      a6aaafee
    • Eric Paris's avatar
      SELinux: netif.c whitespace, syntax, and static declaraction cleanups · 338366cb
      Eric Paris authored
      This patch changes netif.c to fix whitespace and syntax issues.  Things that
      are fixed may include (does not not have to include)
      
      whitespace at end of lines
      spaces followed by tabs
      spaces used instead of tabs
      spacing around parenthesis
      location of { around structs and else clauses
      location of * in pointer declarations
      removal of initialization of static data to keep it in the right section
      useless {} in if statemetns
      useless checking for NULL before kfree
      fixing of the indentation depth of switch statements
      and any number of other things I forgot to mention
      Signed-off-by: default avatarEric Paris <eparis@redhat.com>
      Signed-off-by: default avatarJames Morris <jmorris@namei.org>
      338366cb