linux-next: Tree for July 7
Subsystems (5)
Hi all,
The next linux-next release will (probably) be next-20110718.
Changes since 20110706:
The pci-current tree gained a build failure so I used the version from next-20110706.
The arm-lpae tree gained a conflict against the arm tree.
The v4l-dvb tree lost its conflict.
The net tree lost a conflict.
The rr tree still has its build failure for which I reverted a commit.
The block tree still has its build failure so I used the version from next-20110701.
The staging tree lost its build failures but gained conflicts agains the net, trivial and ux500-core trees and another build failure which I have just left.
The akpm tree lost its build failures. I have rmeoved one patch (that is included elsewhere) and added 2 patches to my copy of the akpm tree.
----------------------------------------------------------------------------
I have created today's linux-next tree atgit://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/v2.6/next/ ). If you are tracking the linux-next tree using git, you should not use "git pull" to do so as that will try to merge the new linux-next release with the old one. You should use "git fetch" as mentioned in the FAQ on the wiki (see below).
You can see which trees have been included by looking in the Next/Trees file in the source. There are also quilt-import.log and merge.log files in the Next directory. Between each merge, the tree was built with a ppc64_defconfig for powerpc and an allmodconfig for x86_64. After the final fixups (if any), it is also built with powerpc allnoconfig (32 and 64 bit), ppc44x_defconfig and allyesconfig (minus CONFIG_PROFILE_ALL_BRANCHES - this fails its final link) and i386, sparc and sparc64 defconfig. These builds also have CONFIG_ENABLE_WARN_DEPRECATED, CONFIG_ENABLE_MUST_CHECK and CONFIG_DEBUG_INFO disabled when necessary.
Below is a summary of the state of the merge.
We are up to 195 trees (counting Linus' and 28 trees of patches pending for Linus' tree), more are welcome (even if they are currently empty). Thanks to those who have contributed, and to those who haven't, please do.
Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next . If maintainers want to give advice about cross compilers/configs that work, we are always open to add more builds.
Thanks to Randy Dunlap for doing many randconfig builds.
There is a wiki covering stuff to do with linux-next at
http://linux.f-seidel.de/linux-next/pmwiki/ . Thanks to Frank Seidel.
Signature · 271 lines
Cheers, Stephen Rothwell [email protected] $ git checkout master $ git reset --hard stable Merging origin/master Merging fixes/fixes Merging kbuild-current/rc-fixes Merging arm-current/master Merging m68k-current/for-linus Merging powerpc-merge/merge Merging 52xx-and-virtex-current/powerpc/merge Merging sparc-current/master Merging scsi-rc-fixes/master Merging net-current/master Merging sound-current/for-linus Merging pci-current/for-linus $ git reset --hard HEAD^ Merging refs/next/20110706/pci-current Merging wireless-current/master Merging driver-core.current/driver-core-linus Merging tty.current/tty-linus Merging usb.current/usb-linus Merging staging.current/staging-linus Merging cpufreq-current/fixes Merging input-current/for-linus Merging md-current/for-linus Merging audit-current/for-linus Merging crypto-current/master Merging ide-curent/master Merging dwmw2/master Merging sh-current/sh-fixes-for-linus Merging rmobile-current/rmobile-fixes-for-linus Merging fbdev-current/fbdev-fixes-for-linus Merging devicetree-current/devicetree/merge Merging spi-current/spi/merge Merging arm/for-next Merging arm-lpae/for-next CONFLICT (content): Merge conflict in arch/arm/include/asm/pgalloc.h CONFLICT (content): Merge conflict in arch/arm/include/asm/pgtable.h CONFLICT (content): Merge conflict in arch/arm/include/asm/proc-fns.h CONFLICT (content): Merge conflict in arch/arm/include/asm/tlb.h CONFLICT (content): Merge conflict in arch/arm/mm/context.c CONFLICT (content): Merge conflict in arch/arm/mm/dma-mapping.c CONFLICT (content): Merge conflict in arch/arm/mm/proc-v7.S Merging at91/at91-next Merging davinci/davinci-next Merging i.MX/for-next CONFLICT (content): Merge conflict in arch/arm/plat-mxc/devices/platform-imx-dma.c Merging linux-spec/for-next Merging msm/for-next Merging omap/for-next Merging pxa/for-next Merging samsung/next-samsung Merging s5p/for-next Merging tegra/for-next Merging ux500-core/ux500-core Merging xilinx/arm-next Merging blackfin/for-linus Merging cris/for-next Merging ia64/test Merging m68k/for-next Merging m68knommu/for-next Merging microblaze/next Merging mips/mips-for-linux-next Merging parisc/for-next Merging powerpc/next Merging 4xx/next Merging 52xx-and-virtex/powerpc/next Merging galak/next Merging s390/features Merging sh/sh-latest Merging rmobile/rmobile-latest Merging sparc/master Merging tile/master Merging unicore32/unicore32 Merging xtensa/master CONFLICT (content): Merge conflict in arch/xtensa/configs/iss_defconfig Merging ceph/for-next CONFLICT (content): Merge conflict in fs/ceph/export.c Merging cifs/master Merging configfs/linux-next Merging ecryptfs/next Merging ext3/for_next Merging ext4/dev Merging fatfs/master Merging fuse/for-next Merging gfs2/master Merging hfsplus/for-next Merging jfs/next Merging logfs/master CONFLICT (content): Merge conflict in fs/logfs/logfs.h Merging nfs/linux-next Merging nfsd/nfsd-next Merging nilfs2/for-next Merging ocfs2/linux-next Merging omfs/for-next Merging squashfs/master Merging udf/for_next Merging v9fs/for-next Merging ubifs/linux-next Merging xfs/master Merging vfs/for-next Merging vfs-scale/vfs-scale-working Merging pci/linux-next Merging of-pci/of-pci Merging hid/for-next Merging quilt/i2c Merging bjdooks-i2c/next-i2c Merging quilt/jdelvare-hwmon Merging hwmon-staging/hwmon-next Merging quilt/kernel-doc Merging docs/docs-move Merging v4l-dvb/master Merging kbuild/for-next Merging kconfig/for-next Merging ide/master Merging libata/NEXT CONFLICT (content): Merge conflict in drivers/ata/libahci.c Merging infiniband/for-next Merging acpi/test Merging idle-test/idle-test CONFLICT (content): Merge conflict in arch/x86/kernel/process.c Merging powertools/tools-test Merging cpupowerutils/master Merging ieee1394/for-next Merging ubi/linux-next Merging dlm/next Merging swiotlb/master Merging ibft/master Merging scsi/master Merging slave-dma/next Merging async_tx/next Merging net/master CONFLICT (content): Merge conflict in drivers/scsi/bnx2fc/bnx2fc.h CONFLICT (content): Merge conflict in drivers/scsi/bnx2fc/bnx2fc_fcoe.c CONFLICT (content): Merge conflict in net/bluetooth/l2cap_core.c Merging wireless/master Merging bluetooth/master Merging mtd/master Merging l2-mtd/master Merging crypto/master Merging sound/for-next Merging sound-asoc/for-next Merging cpufreq/next Merging quilt/rr CONFLICT (delete/modify): arch/m68k/kernel/module_mm.c deleted in HEAD and modified in quilt/rr. Version quilt/rr of arch/m68k/kernel/module_mm.c left in tree. CONFLICT (delete/modify): arch/m68k/kernel/module_no.c deleted in HEAD and modified in quilt/rr. Version quilt/rr of arch/m68k/kernel/module_no.c left in tree. $ git rm -f arch/m68k/kernel/module_mm.c arch/m68k/kernel/module_no.c Applying: modules/m68k: make arch's use default loader hooks [master 88dada7] Revert "module: add /sys/module/<name>/uevent files" Merging input/next Merging input-mt/next Merging lsm/for-next Merging block/for-next $ git reset --hard HEAD^ Merging refs/next/20110701/block CONFLICT (content): Merge conflict in block/blk-throttle.c [master 062083d] Merge commit 'refs/next/20110701/block' Merging quilt/device-mapper Merging embedded/master Merging firmware/master Merging pcmcia/master Merging battery/master Merging leds/for-mm CONFLICT (content): Merge conflict in drivers/leds/Kconfig Merging backlight/for-mm Merging mmc/mmc-next CONFLICT (delete/modify): drivers/mmc/host/sdhci-of-core.c deleted in mmc/mmc-next and modified in HEAD. Version HEAD of drivers/mmc/host/sdhci-of-core.c left in tree. $ git rm -f drivers/mmc/host/sdhci-of-core.c Merging kgdb/kgdb-next Merging slab/for-next Merging uclinux/for-next Merging md/for-next Merging mfd/for-next CONFLICT (content): Merge conflict in drivers/mfd/Makefile Merging hdlc/hdlc-next Merging drm/drm-next Merging fbdev/master Merging viafb/viafb-next Merging omap_dss2/for-next Merging voltage/for-next Merging security-testing/next Merging selinux/master Merging lblnet/master Merging agp/agp-next Merging watchdog/master Merging bdev/master Merging dwmw2-iommu/master Merging cputime/cputime Merging osd/linux-next Merging jc_docs/docs-next Merging nommu/master Merging trivial/for-next CONFLICT (delete/modify): arch/arm/mach-ep93xx/dma-m2p.c deleted in HEAD and modified in trivial/for-next. Version trivial/for-next of arch/arm/mach-ep93xx/dma-m2p.c left in tree. CONFLICT (content): Merge conflict in drivers/mtd/maps/pxa2xx-flash.c $ git rm -f arch/arm/mach-ep93xx/dma-m2p.c Merging audit/for-next Merging suspend/linux-next Merging apm/for-next Merging fsnotify/for-next Merging irda/for-next Merging i7core_edac/linux_next Merging i7300_edac/linux_next Merging devicetree/devicetree/next Merging spi/spi/next Merging gpio/gpio/next CONFLICT (content): Merge conflict in arch/arm/mach-ep93xx/Makefile CONFLICT (content): Merge conflict in drivers/gpio/Makefile CONFLICT (content): Merge conflict in drivers/gpio/gpio-ep93xx.c Merging tip/auto-latest Merging rcu/rcu/next Merging kvm/linux-next Merging oprofile/for-next Merging ptrace/ptrace Merging xen/upstream/xen Merging xen-two/linux-next Merging xen-pvhvm/linux-next Merging edac-amd/for-next Merging percpu/for-next Merging workqueues/for-next Merging sfi/sfi-test Merging asm-generic/next Merging drivers-x86/linux-next Merging hwpoison/hwpoison Merging sysctl/master Merging namespace/master Merging driver-core/driver-core-next Merging tty/tty-next Merging usb/usb-next CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt Merging staging/staging-next CONFLICT (content): Merge conflict in Documentation/feature-removal-schedule.txt CONFLICT (content): Merge conflict in arch/arm/mach-ux500/board-mop500-u8500uib.c CONFLICT (content): Merge conflict in drivers/staging/bcm/headers.h CONFLICT (content): Merge conflict in drivers/staging/brcm80211/brcmfmac/dhd_linux.c CONFLICT (content): Merge conflict in drivers/staging/brcm80211/brcmfmac/dhd_sdio.c CONFLICT (content): Merge conflict in drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h CONFLICT (delete/modify): drivers/staging/brcm80211/brcmfmac/wl_iw.c deleted in staging/staging-next and modified in HEAD. Version HEAD of drivers/staging/brcm80211/brcmfmac/wl_iw.c left in tree. CONFLICT (content): Merge conflict in drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c CONFLICT (content): Merge conflict in drivers/staging/rtl8192e/r8192E.h CONFLICT (content): Merge conflict in drivers/staging/usbip/userspace/src/utils.h $ git rm -f drivers/staging/brcm80211/brcmfmac/wl_iw.c Merging bkl-config/config Merging tmem/linux-next Merging writeback/next Merging arm-dt/devicetree/arm-next Merging scsi-post-merge/merge-base:master $ git checkout akpm Applying: During allocator-intensive workloads, kswapd will be woken frequently Applying: During allocator-intensive workloads, kswapd will be woken frequently Applying: When deciding if kswapd is sleeping prematurely, the classzone is taken Applying: During allocator-intensive workloads, kswapd will be woken frequently Applying: __tlb_remove_page() switches to a new batch page, but still checks space Applying: Now, in mem_cgroup_hierarchical_reclaim(), mem_cgroup_local_usage() is Applying: ERROR: code indent should use tabs where possible Applying: fix kerneldoc layout Applying: memcg-fix-reclaimable-lru-check-in-memcg-fix2.patch Applying: commit 889976dbcb12 ("memcg: reclaim memory from nodes in round-robin Applying: attempt to repair code layout Applying: Currently we are keeping faulted page locked throughout whole __do_fault Applying: fix code layout Applying: The often-NULL data arg to read_cache_page() and read_mapping_page() Applying: Correct comment on truncate_inode_pages*() in linux/mm.h; and remove Applying: Use consistent variable names in truncate_pagecache(), truncate_setsize(), Applying: Make the pagevec_lookup loops in truncate_inode_pages_range(), Applying: truncate_inode_pages_range()'s final loop has a nice pincer property, Applying: 2.6.36's 7e496299d4d2 ("tmpfs: make tmpfs scalable with percpu_counter for Applying: remap_pfn_range() means map physical address pfn<<PAGE_SHIFT to user addr. Applying: Cc: Geert Uytterhoeven <[email protected]> Applying: If dmi_get_system_info() returns NULL, pch_phub_probe() will dereferencea
Applying: Vito said:
Applying: kernel/fork.c:267: error: implicit declaration of function
Applying: WARNING: line over 80 characters
Applying: arch/cris/arch-v10/drivers/sync_serial.c:628: error: 'ret' undeclared (first use in this function)
Applying: arch/cris/arch-v10/drivers/sync_serial.c:961: error: conflicting types for 'sync_serial_ioctl'
Applying: arch/cris/arch-v10/kernel/irq.c:239: error: implicit declaration of function 'kgdb_init'
Applying: There's a code path in pmcraid that can be reached via device ioctl that
Applying: The out_msi_disable label should be before cleanup_nomem to additionally
Applying: It's about time to revert 16d752397301b9 ("thermal: Create
Applying: We'll soon need to reuse it.
Applying: THERMAL_HWMON is implemented inside the thermal_sys driver and has no
Applying: b552a8c56db8 ("ACPI: remove NID_INVAL") removed the left over uses of
Applying: Add support for Aspire 1410 BIOS v1.3314. Fixes the following error:
Applying: With a non-constant 8-bit argument, a call to udelay() generates a warning:
Applying: On x86_32 casting the unsigned int result of get_random_int() to long may
Applying: This new driver replaces the old PCEngines Alix 2/3 LED driver with a new
Applying: Replace the bubble sort in sanitize_e820_map() with a call to the generic
Applying: In response to new device tree code in the kernel, OLPC will start using
Applying: Move these definitions into the relevant header file. This was requested
Applying: Based on earlier review comments, we'll no longer try to stick all of our
Applying: Add code needed for basic suspend/resume of the XO-1 laptop. Based on
Applying: The System Control Interrupt is used in the OLPC XO-1 to control various
Applying: Update the EC SCI masks with recent additions.
Applying: The EC in the OLPC XO-1 delivers GPE events to provide various
Applying: Configure the XO-1's lid switch GPIO to trigger an SCI interrupt, and
Applying: EC events indicate change in AC power connectivity, battery state of
Applying: Add a driver to configure the XO-1 RTC via CS5536 MSRs, to be used as a
Applying: Add a driver for the ACPI-based EC event interface found on the OLPC
Applying: Don't allow everybody to use a modem.
Applying: The address limit is already set in flush_old_exec() so this
Applying: A call to va_copy() should always be followed by a call to va_end() in the
Applying: Don't dereference em if it's NULL or an error pointer.
Applying: The buffer 'sc.cpu_mask' is a kernel buffer. If bitmap_parse is used
Applying: The address limit is already set in flush_old_exec() so this
Applying: fb_set_suspend() must be called with the console semaphore held, which
Applying: When 1280x1024@75Hz mode is set, console palette is not set properly -
Applying: Unless I'm very much missing something these tests are intended to check
Applying: The address limit is already set in flush_old_exec() so this
Applying: The address limit is already set in flush_old_exec() so this
Applying: The address limit is already set in flush_old_exec() via set_fs(USER_DS)
Applying: The address limit is already set in flush_old_exec() so this
Applying: - Fix checking of wrong return value for backlight_device_register()
Applying: Add the ams369fg06 amoled panel driver. The ams369fg06 amoled panel (480
Applying: backlight: make some varibales static
Applying: Not all systems expose a firmware or platform mechanism for changing the
Applying: The Apple MBP model 6.2 (and maybe other recent MBPs) uses an Apple
Applying: ext4_{set,clear}_bit() is defined as __test_and_{set,clear}_bit_le() for
Applying: The dqc_bitmap field of struct ocfs2_local_disk_chunk is 32-bit aligned,
Applying: The address limit is already set in flush_old_exec() so those calls to
Applying: When do pci remove/rescan on system that have more iommus, got
Applying: The current implementation of dmi_name_in_vendors() is an invitation to
Applying: When hot-plugging a root bridge, we always prevent assigning a bus number
Applying: fix comment layout
Applying: Aside of the usual motivation for constification, this function has a
Applying: The address limit is already set in flush_old_exec() so those calls to
Applying: For headers that get exported to userland and make use of u32 style
Applying: Fix sparse warnings of right shift bigger than source value size:
Applying: brd_make_request() always returns 0, which doesn't make much sense.
Applying: Remove the (unsigned long long) cast in diskstats_show() and adjusts the
Applying: The address limit is already set in flush_old_exec() so this assignment of
Applying: x86_64 allmodconfig:
Applying: x86_64 allmodconfig:
Applying: alpha allmodconfig:
Applying: alpha allmodconfig:
Applying: alpha allmodconfig:
Applying: Cc: Greg KH <[email protected]>
Applying: Use the nice enumerated constant.
Applying: There is no need to define VM_{STACK,DATA}_DEFAULT_FLAGS as variable.
Applying: The address limit is already set in flush_old_exec() so this
Applying: Both sys-i386 and sys-x86_64 support now ndelay(). The delay functions
Applying: When UML is compiled with _FORTIFY_SOURCE we have to export all _chk()
Applying: To make netconsole usable on UML, its ethernet driver needs netpoll
Applying: commit 0954828fcbf3bd13d593499b16b901a4e801b0b9 ("kconfig: replace
Applying: We presently define all kinds of notifiers in notifier.h. This is not
Applying: It is not necessary to share the same notifier.h.
Applying: It is not necessary to share the same notifier.h.
Applying: notifiers-sys-move-reboot-notifiers-into-rebooth-fix
Applying: It is not necessary to share the same notifier.h.
Applying: Cc: David Miller <[email protected]>
Applying: It is not necessary to share the same notifier.h.
Applying: If CONFIG_IKCONFIG=m but CONFIG_IKCONFIG_PROC=n we get a module that has
Applying: For each CPU, do the calibration delay only once. For subsequent calls,
Applying: make cpu_loops_per_jiffy static
Applying: Cc: Andrew Worsley <[email protected]>
Applying: prevent ARM build breakage :)
Applying: fix things up after upstream rmk changes
Applying: MPC5200B contains a limited version of RTC from MPC5121. Add support for
Applying: Add support for clock gating. Power consumption can be reduced by setting
Applying: Add support for PMIC8xxx based RTC. PMIC8xxx is Qualcomm's power
Applying: cosmetic tweaks
Applying: Signed-off-by: Anirudh Ghayal <[email protected]>
Merging akpm
Re: linux-next: Tree for July 7 (net/af_packet)
Quoted 5 lines · On Thu, 7 Jul 2011 17:25:44 +1000 Stephen Rothwell wrote:
Hi all,
The next linux-next release will (probably) be next-20110718.
Changes since 20110706:
When CONFIG_INET is not enabled:
af_packet.c:(.text+0x3d130): undefined reference to `ip_defrag' or
ERROR: "ip_defrag" [net/packet/af_packet.ko] undefined!
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
David Miller
maintainerRe: linux-next: Tree for July 7 (net/af_packet)
From: Randy Dunlap <[email protected]>
Date: Thu, 7 Jul 2011 08:12:02 -0700
Quoted 6 lines · On Thu, 7 Jul 2011 17:25:44 +1000 Stephen Rothwell wrote:
Quoted 5 lines
Hi all,
The next linux-next release will (probably) be next-20110718.
Quoted 8 lines
Quoted 1 line
Changes since 20110706:
When
CONFIG_INETis not enabled:af_packet.c:(.text+0x3d130): undefined reference to `ip_defrag' or
ERROR: "ip_defrag" [net/packet/af_packet.ko] undefined!
Sorry about that, fixed thusly:
--------------------
packet: Fix build with INET disabled.
af_packet.c:(.text+0x3d130): undefined reference to `ip_defrag' or
ERROR: "ip_defrag" [net/packet/af_packet.ko] undefined!
--- net/packet/af_packet.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
net/packet/af_packet.c +2 -0
@@ -456,6 +456,7 @@ static struct sock *fanout_demux_cpu(struct packet_fanout *f, struct sk_buff *skstatic struct sk_buff *fanout_check_defrag (struct sk_buff *skb) { +#ifdef CONFIG_INET const struct iphdr *iph;u32 len;
@@ -486,6 +487,7 @@ static struct sk_buff *fanout_check_defrag(struct sk_buff *skb) skb->rxhash = 0; } } +#endif return skb; }
Signature · 1 line
1.7.6
Randy Dunlap
Acked-byRe: linux-next: Tree for July 7 (net/af_packet)
Quoted 23 lines · On Thu, 07 Jul 2011 08:18:39 -0700 (PDT) David Miller wrote:
From: Randy Dunlap <[email protected]>
Date: Thu, 7 Jul 2011 08:12:02 -0700Quoted 6 lines · On Thu, 7 Jul 2011 17:25:44 +1000 Stephen Rothwell wrote:
Quoted 5 lines
Hi all,
The next linux-next release will (probably) be next-20110718.
Quoted 8 lines
Quoted 1 line
Changes since 20110706:
When
CONFIG_INETis not enabled:af_packet.c:(.text+0x3d130): undefined reference to `ip_defrag' or
ERROR: "ip_defrag" [net/packet/af_packet.ko] undefined!Sorry about that, fixed thusly:
--------------------
packet: Fix build with INET disabled.
Quoted 6 lines
af_packet.c:(.text+0x3d130): undefined reference to `ip_defrag' or
ERROR: "ip_defrag" [net/packet/af_packet.ko] undefined!Reported-by Randy Dunlap <[email protected]>Signed-off-by David S. Miller <[email protected]>
Thanks.
Quoted 18 lines
--- net/packet/af_packet.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)net/packet/af_packet.c +1
-0@@ -456,6 +456,7 @@ static struct sock *fanout_demux_cpu(struct packet_fanout *f, struct sk_buff *skstatic struct sk_buff *fanout_check_defrag (struct sk_buff *skb) { +#ifdef CONFIG_INET const struct iphdr *iph;u32 len;
net/packet/af_packet.c static struct sk_buff *fanout_check_defrag(struct sk_buff *skb) · line 493
Quoted 7 lines
net/packet/af_packet.c +1
-0@@ -486,6 +487,7 @@ static struct sk_buff *fanout_check_defrag(struct sk_buff *skb) skb->rxhash = 0; } } +#endif return skb; }
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Mike Frysinger
Acked-byRe: linux-next: Tree for July 7 (net/af_packet)
In reply to David MillerQuoted 5 lines · David Miller
packet: Fix build with INET disabled.
af_packet.c:(.text+0x3d130): undefined reference to `ip_defrag' or
ERROR: "ip_defrag" [net/packet/af_packet.ko] undefined!
fixes some Blackfin boards too.
-mike
Re: linux-next: Tree for July 7 (i915 + gma500)
In reply to Stephen RothwellQuoted 5 lines · On Thu, 7 Jul 2011 17:25:44 +1000 Stephen Rothwell wrote:
Hi all,
The next linux-next release will (probably) be next-20110718.
Changes since 20110706:
when both CONFIG_DRM_I915=y and CONFIG_DRM_PSB=y:
drivers/staging/built-in.o: In function `intel_opregion_init':
(.text+0x47943): multiple definition of `intel_opregion_init' drivers/gpu/built-in.o:(.text+0x17277a): first defined here
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
PATCH 1/1 usb/gadget: fix net2272 printk formats
In reply to Stephen RothwellFrom: Randy Dunlap <[email protected]>
Fix printk formats for dma_addr_t:
drivers/usb/gadget/net2272.c:740: warning: format '%08x' expects type 'unsigned int', but argument 6 has type 'dma_addr_t' drivers/usb/gadget/net2272.c:859: warning: format '%08x' expects type 'unsigned int', but argument 8 has type 'dma_addr_t'
--- drivers/usb/gadget/net2272.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/usb/gadget/net2272.c +4 -4
@@ -737,8 +737,8 @@ net2272_kick_dma(struct net2272_ep *ep,if (req->req.length &1 )return -EINVAL ; -dev_vdbg (ep->dev->dev,"kick_dma %s req %p dma %08x\n" , - ep->ep.name, req, req->req.dma); +dev_vdbg (ep->dev->dev,"kick_dma %s req %p dma %08llx\n" , + ep->ep.name, req, (unsigned long long )(req->req.dma));net2272_ep_write (ep,EP_RSPSET ,1 <<ALT_NAK_OUT_PACKETS );
@@ -856,9 +856,9 @@ net2272_queue(struct usb_ep *_ep, struct req->mapped =1 ; } -dev_vdbg (dev->dev,"%s queue req %p, len %d buf %p dma %08x %s\n" , +dev_vdbg (dev->dev,"%s queue req %p, len %d buf %p dma %08llx %s\n" , _ep->name, _req, _req->length, _req->buf, - _req->dma, _req->zero ?"zero" :"!zero" ); + (unsigned long long )(_req->dma), _req->zero ?"zero" :"!zero" );spin_lock_irqsave (&dev->lock, flags);
Re: [PATCH -next] usb/gadget: fix net2272 printk formats
Quoted 8 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix printk formats for
dma_addr_t:
drivers/usb/gadget/net2272.c:740: warning: format '%08x' expects type 'unsigned int', but argument 6 has type 'dma_addr_t'drivers/usb/gadget/net2272.c:859: warning: format '%08x' expects type 'unsigned int', but argument 8 has type 'dma_addr_t'Signed-off-by Randy Dunlap <[email protected]>
already on Greg's queue:
Signature · 1 line
balbi
PATCH 1/1 usb/gadget: fix langwell printk formats
In reply to Stephen RothwellFrom: Randy Dunlap <[email protected]>
Fix printk formats to use %zu for size_t args, to fix these build warnings:
drivers/usb/gadget/langwell_udc.c:3274: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' drivers/usb/gadget/langwell_udc.c:3289: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' drivers/usb/gadget/langwell_udc.c:3473: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' drivers/usb/gadget/langwell_udc.c:3487: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
--- drivers/usb/gadget/langwell_udc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/usb/gadget/langwell_udc.c +4 -4
@@ -3271,7 +3271,7 @@ static int langwell_udc_probe(struct pci/* allocate device dQH memory */ size = dev->ep_max *sizeof (struct langwell_dqh ); -dev_vdbg (&dev->pdev->dev,"orig size = %d\n" , size); +dev_vdbg (&dev->pdev->dev,"orig size = %zu\n" , size);if (size <DQH_ALIGNMENT ) size =DQH_ALIGNMENT ;else if ((size %DQH_ALIGNMENT ) !=0 ) {
@@ -3286,7 +3286,7 @@ static int langwell_udc_probe(struct pci goto error; } dev->ep_dqh_size = size; -dev_vdbg (&dev->pdev->dev,"ep_dqh_size = %d\n" , dev->ep_dqh_size); +dev_vdbg (&dev->pdev->dev,"ep_dqh_size = %zu\n" , dev->ep_dqh_size);/* initialize ep0 status request structure */ dev->status_req =kzalloc (sizeof (struct langwell_request ),GFP_KERNEL );
@@ -3470,7 +3470,7 @@ static int langwell_udc_resume(struct pc/* allocate device dQH memory */ size = dev->ep_max *sizeof (struct langwell_dqh ); -dev_vdbg (&dev->pdev->dev,"orig size = %d\n" , size); +dev_vdbg (&dev->pdev->dev,"orig size = %zu\n" , size);if (size <DQH_ALIGNMENT ) size =DQH_ALIGNMENT ;else if ((size %DQH_ALIGNMENT ) !=0 ) {
@@ -3484,7 +3484,7 @@ static int langwell_udc_resume(struct pcreturn -ENOMEM ; } dev->ep_dqh_size = size; -dev_vdbg (&dev->pdev->dev,"ep_dqh_size = %d\n" , dev->ep_dqh_size); +dev_vdbg (&dev->pdev->dev,"ep_dqh_size = %zu\n" , dev->ep_dqh_size);/* create dTD dma_pool resource */ dev->dtd_pool = dma_pool_create("langwell_dtd",
Re: [PATCH -next] usb/gadget: fix langwell printk formats
Quoted 11 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
Fix printk formats to use %zu for
size_targs, to fix these build warnings:
drivers/usb/gadget/langwell_udc.c:3274: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'drivers/usb/gadget/langwell_udc.c:3289: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'drivers/usb/gadget/langwell_udc.c:3473: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'drivers/usb/gadget/langwell_udc.c:3487: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'Signed-off-by Randy Dunlap <[email protected]>
already on Greg's queue:
Signature · 1 line
balbi