16 Feb, 2010

18 commits


04 Feb, 2010

2 commits


17 Jan, 2010

3 commits

  • This patch adds export/import support to md5. The exported type is
    defined by struct md5_state.

    This is modeled after the equivalent change to sha1_generic.

    Signed-off-by: Max Vozeler
    Signed-off-by: Herbert Xu

    Max Vozeler
     
  • From: Márton Németh

    The match_table field of the struct of_device_id is constant in
    so it is worth to make the initialization data also constant.

    The semantic match that finds this kind of pattern is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @r@
    disable decl_init,const_decl_init;
    identifier I1, I2, x;
    @@
    struct I1 {
    ...
    const struct I2 *x;
    ...
    };
    @s@
    identifier r.I1, y;
    identifier r.x, E;
    @@
    struct I1 y = {
    .x = E,
    };
    @c@
    identifier r.I2;
    identifier s.E;
    @@
    const struct I2 E[] = ... ;
    @depends on !c@
    identifier r.I2;
    identifier s.E;
    @@
    + const
    struct I2 E[] = ...;
    //

    Signed-off-by: Márton Németh
    Cc: Julia Lawall
    Cc: cocci@diku.dk
    Signed-off-by: Herbert Xu

    Márton Németh
     
  • This patch adds the RFC4543 (GMAC) wrapper for GCM similar to the
    existing RFC4106 wrapper. The main differences between GCM and GMAC are
    the contents of the AAD and that the plaintext is empty for the latter.

    Signed-off-by: Tobias Brunner
    Signed-off-by: Herbert Xu

    Tobias Brunner
     

08 Jan, 2010

2 commits

  • The fallback code in cipher mode touch the union fallback.blk instead
    of fallback.cip. This is wrong because we use the cipher and not the
    blockcipher. This did not show any side effects yet because both types /
    structs contain the same element right now.

    Signed-off-by: Roel Kluin
    Signed-off-by: Sebastian Andrzej Siewior
    Signed-off-by: Herbert Xu

    Roel Kluin
     
  • The fallback code in cipher mode touch the union fallback.blk instead
    of fallback.cip. This is wrong because we use the cipher and not the
    blockcipher. This did not show any side effects yet because both types /
    structs contain the same element right now.

    Signed-off-by: Roel Kluin
    Signed-off-by: Sebastian Andrzej Siewior
    Signed-off-by: Herbert Xu

    Roel Kluin
     

07 Jan, 2010

1 commit


06 Jan, 2010

1 commit


23 Dec, 2009

1 commit

  • When load aesni-intel and ghash_clmulni-intel driver,kernel will complain no
    test for some internal used algorithm.
    The strange information as following:

    alg: No test for __aes-aesni (__driver-aes-aesni)
    alg: No test for __ecb-aes-aesni (__driver-ecb-aes-aesni)
    alg: No test for __cbc-aes-aesni (__driver-cbc-aes-aesni)
    alg: No test for __ecb-aes-aesni (cryptd(__driver-ecb-aes-aesni)
    alg: No test for __ghash (__ghash-pclmulqdqni)
    alg: No test for __ghash (cryptd(__ghash-pclmulqdqni))

    This patch add NULL test entries for these algorithm and driver.

    Signed-off-by: Youquan, Song
    Signed-off-by: Ying, Huang
    Signed-off-by: Herbert Xu

    Youquan, Song
     

19 Dec, 2009

2 commits


18 Dec, 2009

10 commits

  • Linus Torvalds
     
  • …/rusty/linux-2.6-for-linus

    * 'cpumask-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    cpumask: rename tsk_cpumask to tsk_cpus_allowed
    cpumask: don't recommend set_cpus_allowed hack in Documentation/cpu-hotplug.txt
    cpumask: avoid dereferencing struct cpumask
    cpumask: convert drivers/idle/i7300_idle.c to cpumask_var_t
    cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c
    cpumask: avoid deprecated function in mm/slab.c
    cpumask: use cpu_online in kernel/perf_event.c

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
    Keys: KEYCTL_SESSION_TO_PARENT needs TIF_NOTIFY_RESUME architecture support
    NOMMU: Optimise away the {dac_,}mmap_min_addr tests
    security/min_addr.c: make init_mmap_min_addr() static
    keys: PTR_ERR return of wrong pointer in keyctl_get_security()

    Linus Torvalds
     
  • …/git/tmlind/linux-omap-2.6

    * 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
    OMAP3: serial - fix bug introduced in
    mfd: twl: fix twl4030 rename for remaining driver, board files
    USB ehci: replace mach header with plat
    omap3: Allow EHCI to be built on OMAP3

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    hwmon: (w83627hf) Fix for "No such device"
    hwmon: (sht15) Off-by-one error in array index + incorrect constants
    hwmon: Add driver for VIA CPU core temperature
    hwmon: (smsc47m1) Enable device if needed
    hwmon: (smsc47m1) Fail module loading on error
    hwmon: (smsc47m1) Only request I/O ports we really use
    hwmon: New driver for AMD Family 10h/11h CPUs

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (40 commits)
    [SCSI] 3w-9xxx fix bug in sgl loading
    [SCSI] fcoe, libfc: adds enable/disable for fcoe interface
    [SCSI] libfc: reduce hold time on SCSI host lock
    [SCSI] libfc: remote port gets stuck in restart state without really restarting
    [SCSI] pm8001: misc code cleanup
    [SCSI] pm8001: enable read HBA SAS address from VPD
    [SCSI] pm8001: do not reset local sata as it will not be found if reset
    [SCSI] pm8001: bit set pm8001_ha->flags
    [SCSI] pm8001:fix potential NULL pointer dereference
    [SCSI] pm8001: set SSC down-spreading only to get less errors on some 6G device.
    [SCSI] pm8001: fix endian issues with SAS address
    [SCSI] pm8001: enhance error handle for IO patch
    [SCSI] pm8001: Fix for sata io circular lock dependency.
    [SCSI] hpsa: add driver for HP Smart Array controllers.
    [SCSI] cxgb3i: always use negative errno in case of error
    [SCSI] bnx2i: minor code cleanup and update driver version
    [SCSI] bnx2i: Task management ABORT TASK fixes
    [SCSI] bnx2i: update CQ arming algorith for 5771x chipsets
    [SCSI] bnx2i: Adjust sq_size module parametr to power of 2 only if a non-zero value is specified
    [SCSI] bnx2i: Add 5771E device support to bnx2i driver
    ...

    Linus Torvalds
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (71 commits)
    MIPS: Lasat: Fix botched changes to sysctl code.
    RTC: rtc-cmos.c: Fix warning on MIPS
    MIPS: Cleanup random differences beween lmo and Linus' kernel.
    MIPS: No longer hardwire CONFIG_EMBEDDED to y
    MIPS: Fix and enhance built-in kernel command line
    MIPS: eXcite: Remove platform.
    MIPS: Loongson: Cleanups of serial port support
    MIPS: Lemote 2F: Suspend CS5536 MFGPT Timer
    MIPS: Excite: move iodev_remove to .devexit.text
    MIPS: Lasat: Convert to proc_fops / seq_file
    MIPS: Cleanup signal code initialization
    MIPS: Modularize COP2 handling
    MIPS: Move EARLY_PRINTK to Kconfig.debug
    MIPS: Yeeloong 2F: Cleanup reset logic using the new ec_write function
    MIPS: Yeeloong 2F: Add LID open event as the wakeup event
    MIPS: Yeeloong 2F: Add basic EC operations
    MIPS: Move several variables from .bss to .init.data
    MIPS: Tracing: Make function graph tracer work with -mmcount-ra-address
    MIPS: Tracing: Reserve $12(t0) for mcount-ra-address of gcc 4.5
    MIPS: Tracing: Make ftrace for MIPS work without -fno-omit-frame-pointer
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable:
    Btrfs: make sure fallocate properly starts a transaction
    Btrfs: make metadata chunks smaller
    Btrfs: Show discard option in /proc/mounts
    Btrfs: deny sys_link across subvolumes.
    Btrfs: fail mount on bad mount options
    Btrfs: don't add extent 0 to the free space cache v2
    Btrfs: Fix per root used space accounting
    Btrfs: Fix btrfs_drop_extent_cache for skip pinned case
    Btrfs: Add delayed iput
    Btrfs: Pass transaction handle to security and ACL initialization functions
    Btrfs: Make truncate(2) more ENOSPC friendly
    Btrfs: Make fallocate(2) more ENOSPC friendly
    Btrfs: Avoid orphan inodes cleanup during committing transaction
    Btrfs: Avoid orphan inodes cleanup while replaying log
    Btrfs: Fix disk_i_size update corner case
    Btrfs: Rewrite btrfs_drop_extents
    Btrfs: Add btrfs_duplicate_item
    Btrfs: Avoid superfluous tree-log writeout

    Linus Torvalds
     
  • * 'kmemleak' of git://linux-arm.org/linux-2.6:
    kmemleak: fix kconfig for crc32 build error
    kmemleak: Reduce the false positives by checking for modified objects
    kmemleak: Show the age of an unreferenced object
    kmemleak: Release the object lock before calling put_object()
    kmemleak: Scan the _ftrace_events section in modules
    kmemleak: Simplify the kmemleak_scan_area() function prototype
    kmemleak: Do not use off-slab management with SLAB_NOLEAKTRACE

    Linus Torvalds
     
  • * 'next-spi' of git://git.secretlab.ca/git/linux-2.6:
    spi: spi_txx9.c: use resource_size()
    spi: spi_sh_sci.c: use resource_size()
    spi: spi_mpc8xxx.c: use resource_size()
    spi: spi_bfin5xx.c: use resource_size()
    spi: atmel_spi.c: use resource_size()
    spi: Add s3c64xx SPI Controller driver
    atmel_spi: fix dma addr calculation for len > BUFFER_SIZE
    spi_s3c24xx: add FIQ pseudo-DMA support
    spi: controller driver for Designware SPI core
    spidev: add proper section markers
    spidev: use DECLARE_BITMAP instead of declaring the array

    Linus Torvalds