Skip to contentSkip to conversation

mmotm 2010-09-28-16-13 uploaded

PATCH In review [email protected] 7 participants 32 messages Sep 28, 2010 – Oct 24, 2010 1 message not in the archive

Subsystems (25)
lore
Share & tools
lore
#0 lore raw

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

and will soon be available at

git://zen-kernel.org/kernel/mmotm.git

It contains the following patches against 2.6.36-rc5:

origin.patch
linux-next.patch
next-remove-localversion.patch
fs-inodec-work-around-bug.patch
i-need-old-gcc.patch
arch-alpha-kernel-systblss-remove-debug-check.patch
kfifo-fix-scatterlist-usage.patch
alpha-asm-irqflagsh-needs-asm-systemh.patch
drivers-serial-mfdc-needs-slabh.patch
arch-m68k-include-asm-irqflagsh-fix-build.patch
arch-m68k-mac-macboingc-use-unsigned-long-for-irqfalgs.patch
drivers-serial-mrst_max3110c-needs-linux-irqh.patch
i7core_edac-fix-panic-in-udimm-sysfs-attributes-registration.patch
sys_semctl-fix-kernel-stack-leakage.patch
lib-list_sort-do-not-pass-bad-pointers-to-cmp-callback.patch
proc-make-proc-pid-limits-world-readable.patch
maintainers-update-matroxfb-ncpfs-status.patch
drivers-block-pktcdvdc-prevent-arbitrary-kernel-reads-in-ioctl.patch
maintainers-update-maintainer-for-s5p-arm-architectures.patch reiserfs-fix-dependency-inversion-between-inode-and-reiserfs-mutexes.patch
reiserfs-fix-unwanted-reiserfs-lock-recursion.patch
mm-vmap-area-cache.patch
arch-arm-plat-omap-iovmmc-fix-end-address-of-vm-area-comparation-in-alloc_iovm_area.patch audit-call-tty_audit_push_task-outside-preempt-disabled.patch
audit-do-not-send-uninitialized-data-for-audit_tty_get.patch
audit-use-rcu-for-task-lookup-protection.patch
backlight-fix-88pm860x_bl-macro-collision.patch
cciss-fix-botched-tag-masking-for-scsi-tape-commands.patch
drm-prune-gem-vma-entries.patch
arch-mips-include-asm-fcntlh-needs-typesh.patch
time-compensate-for-rounding-on-odd-frequency-clocksources.patch
drivers-acpi-fanc-fix-more-unbalanced-code-block.patch
acpi-apei-fix-erst-move_data-instruction-implementation.patch
x86-enable-arch_dma_addr_t_64bit-with-x86_64-highmem64g.patch
arch-x86-kernel-entry_64s-fix-build-with-gas-2161.patch
arch-x86-kernel-entry_32s-i386-too.patch
drivers-char-agp-parisc-agpc-eliminate-memory-leak.patch
parport-prevent-arm-boards-frmo-crashing-when-cups-is-loaded.patch parport-prevent-arm-boards-frmo-crashing-when-cups-is-loaded-fix.patch audit-add-support-to-match-lsm-labels-on-user-audit-messages.patch
fs-btrfs-use-memdup_user.patch
fs-btrfs-use-err_cast.patch
gcc-46-btrfs-clean-up-unused-variables-bugs.patch
gcc-46-btrfs-clean-up-unused-variables-nonbugs.patch
btrfs-only-bug_on-when-the-errno-is-not-enoent.patch
fs-btrfs-inodec-eliminate-memory-leak.patch
fsldma-move-dma_slave-support-functions-to-the-driver.patch
powerpc-enable-arch_dma_addr_t_64bit-with-arch_phys_addr_t_64bit.patch
drivers-gpu-drm-radeon-atomc-fix-warning.patch
drivers-media-ir-ene_irc-fix-null-dereference.patch
drivers-media-video-cx23885-cx23885-corec-fix-cx23885_dev_checkrevision.patch ecryptfs-call-__vfs_setxattr_noperm-in-ecryptfs_setxattr.patch
fs-notify-fanotify-fanotify_userc-fix-warnings.patch
hpet-unmap-unused-i-o-space.patch
hpet-fix-unwanted-interrupt-due-to-stale-irq-status-bit.patch
hpet-fix-style-problems.patch
documentation-timers-hpet_examplec-add-supporting-info-for-hpet_example.patch
hpet-factor-timer-allocate-from-open.patch
lis3-add-axes-module-parameter-for-custom-axis-mapping.patch
lis3-add-axes-module-parameter-for-custom-axis-mapping-update.patch
drivers-i2c-busses-i2c-pasemic-fix-unsigned-return-type.patch
softirq-improve-preempt-count-error-message.patch
tile-enable-arch_dma_addr_t_64bit.patch
timer_list-remove-alignment-padding-on-64-bit-when-config_timer_stats.patch
timer-initialize-the-field-slack-of-timer_list.patch
kernel-time-use-array_size-macro-in-timecomparec.patch
timer-make-try_to_del_timer_sync-safe-on-both-hardirq-context-and-up.patch
timer-del_timer_sync-can-be-used-in-softirq-context.patch
timer-warn-when-del_timer_sync-used-in-hardirq-context.patch
ia64-enable-arch_dma_addr_t_64bit.patch
readme-cite-nconfig.patch
namespacepl-fix-source-tree-name-mangling.patch
namespacepl-update-file-exclusion-list.patch
leds-route-kbd-leds-through-the-generic-leds-layer.patch
led-class-always-implement-blinking.patch
led-class-always-implement-blinking-update.patch
led-class-always-implement-blinking-update-2.patch
mips-enable-arch_dma_addr_t_64bit-with-highmem-64bit_phys_addr-64bit.patch
mtdpart-memory-accessor-interface-for-mtd-layer.patch
jffs2-use-cond_resched-instead-of-yield.patch
tpm-change-tpm_suspend_pcr-to-be-module-parameter.patch
sctp-prevent-reading-out-of-bounds-memory.patch
sctp-prevent-reading-out-of-bounds-memory-cleanup.patch drivers-net-tulip-de4x5c-fix-copy-length-in-de4x5_ioctl-checkpatch-fixes.patch
drivers-net-stmmac-add-has_iomem-dependency.patch
drivers-video-backlight-s6e63m0c-set-permissions-on-gamma_table-file-to-0444.patch
backlight-fix-blanking-for-lms283gf05-lcd.patch
backlight-fix-blanking-for-l4f00242t03-lcd.patch backlight-s6e63m0-unregister-backlight-device-and-remove-sysfs-attribute-file-in-s6e63m0_remove.patch backlight-s6e63m0-fix-section-mismatch.patch
backlight-add-low-threshold-to-pwm-backlight.patch
backlight-add-low-threshold-to-pwm-backlight-checkpatch-fixes.patch drivers-power-ds2782_batteryc-fix-ds2782-battery-driver-units.patch
bluetooth-simplify-l2cap-streaming-mode-sending.patch
btusb-patch-add_apple_macbookpro62.patch
serial-add-sc16is7x2-driver.patch
serial-add-sc16is7x2-driver-update.patch
serial-add-sc16is7x2-driver-update-fix.patch
sc16is7x2-use-threaded-irqs.patch
drivers-serial-serial_corec-prevent-reading-uninitialized-stack-memory.patch
md-check-return-code-of-read_sb_page.patch
gcc-46-perf-fix-set-but-unused-variables-in-perf.patch
s390-enable-arch_dma_addr_t_64bit-with-64bit.patch
security-add-const-to-security_task_setscheduler.patch sched-make-sched_param-argument-static-variables-in-some-sched_setscheduler-caller.patch percpu-fix-list_head-init-bug-in-__percpu_counter_init.patch
drivers-message-fusion-mptsasc-fix-warning.patch
block-m68k-z2ram-correct-printing-of-sector_t.patch
zram-work-around-oops-due-to-startup-ordering-snafu.patch
scsi-sr-add-no_read_disc_info-scsi_device-flag.patch
usb-storage-add-new-no_read_disc_info-quirk.patch
usb-storage-add-new-no_read_disc_info-quirk-fix.patch
scsi-sd-add-a-no_read_capacity_16-scsi_device-flag.patch
usb-storage-add-new-no_read_capacity_16-quirk.patch
vfs-introduce-fmode_neg_offset-for-allowing-negative-f_pos.patch
vfs-introduce-fmode_neg_offset-for-allowing-negative-f_pos-fix.patch
vfs-remove-a-warning-on-open_fmode.patch
vfs-add-__fmode_exec.patch
it87_wdt-add-support-for-it8720f-watchdog.patch
it87_wdt-add-support-for-watchdogs-with-8b-timers.patch
kernel-modulesc-fix-warning.patch
mm.patch
vmcore-it-is-not-experimental-any-more.patch
documentation-filesystems-proctxt-improve-smaps-field-documentation.patch
mm-smaps-export-mlock-information.patch
oom-add-per-mm-oom-disable-count.patch
oom-add-per-mm-oom-disable-count-protect-oom_disable_count-with-task_lock-in-fork.patch oom-add-per-mm-oom-disable-count-use-old_mm-for-oom_disable_count-in-exec.patch oom-avoid-killing-a-task-if-a-thread-sharing-its-mm-cannot-be-killed.patch
oom-kill-all-threads-sharing-oom-killed-tasks-mm.patch
oom-kill-all-threads-sharing-oom-killed-tasks-mm-fix.patch
oom-kill-all-threads-sharing-oom-killed-tasks-mm-fix-fix.patch oom-rewrite-error-handling-for-oom_adj-and-oom_score_adj-tunables.patch
oom-fix-locking-for-oom_adj-and-oom_score_adj.patch
writeback-remove-nonblocking-encountered_congestion-references.patch include-linux-pageblock-flagsh-fix-set_pageblock_flags-macro-definiton.patch mm-only-build-per-node-scan_unevictable-functions-when-numa-is-enabled.patch mm-only-build-per-node-scan_unevictable-functions-when-numa-is-enabled-cleanup.patch mm-compaction-fix-compactpagefailed-counting.patch
memory-hotplug-fix-notifiers-return-value-check.patch
memory-hotplug-unify-is_removable-and-offline-detection-code.patch memory-hotplug-unify-is_removable-and-offline-detection-code-checkpatch-fixes.patch vmscan-prevent-background-aging-of-anon-page-in-no-swap-system.patch
mm-mempolicy-check-return-code-of-check_range.patch
mm-add-account_page_writeback.patch
writeback-add-nr_dirtied-and-nr_written-to-proc-vmstat.patch
writeback-add-nr_dirtied-and-nr_written-to-proc-vmstat-update.patch
writeback-add-sys-devices-system-node-node-vmstat.patch
writeback-add-sys-devices-system-node-node-vmstat-update.patch
writeback-report-dirty-thresholds-in-proc-vmstat.patch
mm-fix-typo-in-mmh-when-node_not_in_page_flags.patch
vmscan-delete-dead-code.patch
tracing-vmscan-add-trace-events-for-lru-list-shrinking.patch
writeback-account-for-time-spent-congestion_waited.patch
vmscan-synchronous-lumpy-reclaim-should-not-call-congestion_wait.patch vmscan-narrow-the-scenarios-lumpy-reclaim-uses-synchrounous-reclaim.patch
vmscan-remove-dead-code-in-shrink_inactive_list.patch vmscan-isolated_lru_pages-stop-neighbour-search-if-neighbour-cannot-be-isolated.patch writeback-do-not-sleep-on-the-congestion-queue-if-there-are-no-congested-bdis.patch writeback-do-not-sleep-on-the-congestion-queue-if-there-are-no-congested-bdis-or-if-significant-congestion-is-not-being-encountered-in-the-current-zone.patch writeback-do-not-sleep-on-the-congestion-queue-if-there-are-no-congested-bdis-or-if-significant-congestion-is-not-being-encounted-in-the-current-zone-fix.patch writeback-remove-the-internal-5%-low-bound-on-dirty_ratio.patch
vmscantmpfs-treat-used-once-pages-on-tmpfs-as-used-once.patch
mm-strictly-nested-kmap_atomic.patch
mm-stack-based-kmap_atomic.patch
mm-stack-based-kmap_atomic-checkpatch-fixes.patch
mm-remove-pte_map_nested.patch
perf-x86-fix-up-kmap_atomic-type.patch
mm-highmem-documentation.patch
mm-add-a-might_sleep_if-in-dma_pool_alloc.patch
mm-remove-alignment-padding-from-anon_vma-on-some-64-bit-builds.patch
mm-cleanup-gfp_zone-fix-sparse-warnings.patch
define-madv_hugepage.patch
frv-duplicate-output_buffer-of-e03.patch
frv-duplicate-output_buffer-of-e03-checkpatch-fixes.patch
alpha-enable-arch_dma_addr_t_64bit.patch
m68k-__pa-cast-arg-to-long.patch
uml-define-config_no_dma.patch
uml-fix-config_static_link=y-build-failure-with-newer-glibc.patch
kernelh-add-minmax3-macros.patch
kernelh-add-minmax3-macros-fix.patch
replace-nested-max-min-macros-with-maxmin3-macro.patch
m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions.patch
include-linux-kernelh-add-__must_check-to-strict_strto.patch
add-the-common-dma_addr_t-typedef-to-include-linux-typesh.patch
modules-no-need-to-align-modinfo-strings.patch
use-clear_page-copy_page-in-favor-of-memset-memcpy-on-whole-pages.patch fuse-use-clear_highpage-and-km_user0-instead-of-km_user1.patch
ihex-add-support-for-cs-ip-eip-records.patch
drivers-misc-phantomc-add-missing-warning-messages-in-phantom_probe.patch
init-mark-__user-address-space-on-string-literals.patch
kernel-userc-add-lock-release-annotation-on-free_user.patch
stop_machine-convert-cpu-notifier-to-return-encapsulate-errno-value.patch
kernel-remove-pf_flusher.patch
misc-devices-do-not-enable-by-default.patch
printk-fixup-declaration-of-kmsg_reasons.patch
printk-add-lock-context-annotation.patch
printk-change-type-of-boot_delay-to-int.patch
printk-declare-printk_ratelimit_state-in-ratelimith.patch
printk-declare-printk_ratelimit_state-in-ratelimith-fix.patch
vsprintfc-use-default-pointer-field-size-for-null-strings.patch
vsprintfc-use-default-pointer-field-size-for-null-strings-fix.patch
lib-fix-scnprintf-if-size-is-==-0.patch
scripts-get_maintainerpl-add-git-blame-rolestats-authored-lines-information.patch scripts-get_maintainerpl-use-correct-indentation.patch
scripts-get_maintainerpl-dont-search-maintainers-for-keywords-or-emails.patch scripts-get_maintainerpl-add-default-git-fallback-remove-default-git.patch scripts-get_maintainerpl-use-get_maintainerconf-from-then-home-then-scripts.patch
maintainers-fix-colibri-pxa270-file-pattern.patch
maintainers-merge-imote2-and-stargate.patch
maintainers-merge-s3c-244x-sections.patch
maintainers-merge-s3c6400-and-6410-to-64xx.patch
maintainers-remove-usb-ov511-driver.patch
maintainers-remove-usb-zc0301-driver.patch
maintainers-use-t-git-and-whitespace-trivia.patch
lib-bitmapc-use-hex_to_bin.patch
idr-fix-idr_pre_get-locking-description.patch
idr-fix-idr_pre_get-locking-description-fix.patch
lib-div64c-document-that-div64_u64-is-not-precise-on-32bit-platforms.patch
percpu_counter-add-debugobj-support.patch
lib-kconfigdebug-add-list_sort-debugging-switch.patch
lib-list_sort-test-use-more-reasonable-printk-levels.patch
lib-list_sort-test-use-generic-random32.patch
lib-list_sort-test-improve-errors-handling.patch
lib-list_sort-test-unify-test-messages.patch
lib-list_sort-test-check-element-addresses.patch
mmc-mmc-44-ddr-support.patch
drivers-mmc-host-omapc-use-resource_size.patch
drivers-mmc-host-omap_hsmmcc-use-resource_size.patch
mmc-make-id-freq-configurable.patch
mmc-make-id-freq-configurable-v5.patch
mmc-move-regulator-handling-closer-to-core-v3.patch
mmc-move-regulator-handling-closer-to-core-v4.patch
mmc-move-regulator-handling-closer-to-core-v3-fix.patch
checkpatch-fix-regressions-in-fix-handling-of-leading-spaces.patch
checkpatch-types-may-sit-on-a-line-on-their-own.patch
checkpatch-suggest-cleanpatch-and-cleanfile-when-appropriate.patch checkpatch-ensure-we-do-not-collapse-bracketed-sections-into-constants.patch checkpatch-handle-casts-better-fixing-false-categorisation-of-as-binary.patch checkpatch-returning-errno-typically-should-be-negative.patch
checkpatch-add-check-for-space-after-struct-union-and-enum.patch
checkpatch-simplify-and-consolidate-missing-space-after-checks.patch checkpatch-ensure-kconfig-help-checks-only-apply-when-we-are-adding-help.patch
checkpatch-check-for-incorrect-permissions.patch
checkpatch-add-additional-attribute-defines.patch
checkpatch-update-copyright-dates.patch
checkpatch-clean-up-structure-definition-macro-handline.patch
checkpatch-handle-export_symbol-for-device_attr-and-similar.patch checkpatch-statement-block-context-analyser-should-look-at-sanitised-lines.patch
checkpatch-version-031.patch
scripts-checkpatchpl-add-warnings-for-static-char-that-could-be-static-const-char.patch select-rename-estimate_accuracy-to-select_estimate_accuracy.patch
epoll-make-epoll_wait-use-the-hrtimer-range-feature.patch
initramfs-generalize-initramfs_dataxxxs-variants.patch
initramfs-fix-initramfs-size-calculation.patch
drivers-char-vt_ioctlc-fix-vt_openqry-error-value.patch
autofs4-fix-compilation-warning.patch
autofs-only-declare-function-when-config_compat-is-defined.patch
rtc-rtc-lpc32xx-introduce-rtc-driver-for-the-lpc32xx-soc-v4.patch
rtc-bfin-shrink-optimize-interrupt-handler-a-bit.patch
rtc-bfin-add-debug-markers-to-suspend-resume-paths.patch
drivers-rtc-classc-fix-device_register-error-handling.patch rtc-omap-let-device-wakeup-capability-be-configured-from-chip-init-logic.patch gpio-add-driver-for-basic-memory-mapped-gpio-controllers.patch
gpio-add-driver-for-basic-memory-mapped-gpio-controllers-fix.patch
gpiolib-fix-have_gpio_lib-leftovers-in-asm-generic-gpioh.patch
drivers-video-atafbc-remove-undead-ifdef-atafb_falcon.patch drivers-video-matrox-matroxfb_dac1064c-remove-undead-ifdef-config_fb_matrox_g.patch
savagefb-fix-ddc-for-savage-4.patch
drivers-video-matrox-matroxfb_mavenc-fix-unsigned-return-type.patch
fbmem-ix-whitespace.patch
cyber2000fb-avoid-palette-corruption-at-higher-clocks.patch
fbmem-fix-fb_read-fb_write-unaligned-accesses.patch
drivers-video-gbefbc-eliminate-memory-leak.patch
jbd-remove-dependency-on-__gfp_nofail.patch
isofs-work-around-for-rock-ridgejoliet-cds-with-empty-iso-root-directory.patch hfsplus-identify-journal-info-block-in-volume-header.patch
hfsplus-fix-journal-detection.patch
cgroup_freezer-unnecessary-test-in-cgroup_freezing_or_frozen.patch cgroup_freezer-fix-can_attach-to-prohibit-moving-from-to-freezing-frozen-cgroups.patch cgroup_freezer-update_freezer_state-does-incorrect-state-transitions.patch cgroup_freezer-update_freezer_state-does-incorrect-state-transitions-checkpatch-fixes.patch cgroup-add-clone_children-control-file.patch
cgroup-make-the-mount-options-parsing-more-accurate.patch
memcg-fix-race-in-file_mapped-accouting-flag-management.patch memcg-avoid-lock-in-updating-file_mapped-was-fix-race-in-file_mapped-accouting-flag-management.patch memcg-use-for_each_mem_cgroup.patch
memcg-cpu-hotplug-aware-percpu-count-updates.patch
memcg-cpu-hotplug-aware-percpu-count-updates-fix.patch
memcg-cpu-hotplug-aware-quick-acount_move-detection.patch
memcg-cpu-hotplug-aware-quick-acount_move-detection-checkpatch-fixes.patch
memcg-generic-filestat-update-interface.patch
ptrace-annotate-lock-context-change-on-exit_ptrace.patch
signals-annotate-lock_task_sighand.patch
signals-annotate-lock-context-change-on-ptrace_stop.patch core_pattern-fix-long-parameters-was-truncated-by-core_pattern-handler.patch core_pattern-fix-long-parameters-was-truncated-by-core_pattern-handler-update.patch core_pattern-fix-long-parameters-was-truncated-by-core_pattern-handler-update-2.patch core_pattern-fix-long-parameters-was-truncated-by-core_pattern-handler-update-2-checkpatch-fixes.patch default-config_core_dump_default_elf_headers=y.patch
exit-add-lock-context-annotation-on-find_new_reaper.patch
proc-pid-smaps-export-amount-of-anonymous-memory-in-a-mapping.patch proc-pid-smaps-export-amount-of-anonymous-memory-in-a-mapping-doc.patch proc-pid-pagemap-document-in-documentation-filesystems-proctxt.patch
procfs-fix-proc-softirqs-formatting.patch
ipc-shmc-add-rss-and-swap-size-information-to-proc-sysvipc-shm.patch ipc-shmc-add-rss-and-swap-size-information-to-proc-sysvipc-shm-v2.patch
ipmi-fix-__init-and-__exit-attribute-locations.patch
rocket-release_region-or-error-path.patch
drivers-char-hvc_consolec-remove-unneeded-__set_current_statetask_running.patch hvc_console-fix-dropping-of-characters-when-output-byte-channel-is-full.patch
rapidio-fix-rapidio-sysfs-hierarchy.patch
rapidio-powerpc-85xx-modify-rio-port-write-interrupt-handler.patch rapidio-use-stored-ingress-port-number-instead-of-register-read.patch
rapidio-add-relation-links-between-rio-device-structures.patch
rapidio-add-default-handler-for-error-stopped-state.patch
rapidio-modify-sysfs-initialization-for-switches.patch
rapidio-add-handling-of-orphan-port-write-message.patch
rapidio-add-device-access-check-into-the-enumeration.patch
rapidio-add-support-for-idt-cps-gen2-switches.patch
rapidio-add-handling-of-redundant-routes.patch
fs-execc-provide-the-correct-process-pid-to-the-pipe-helper.patch
taskstats-separate-taskstats-commands.patch
taskstats-split-fill_pid-function.patch
fuse-use-release_pages.patch
affs-testing-the-wrong-variable.patch
pps-trivial-fixes.patch
pps-declare-variables-where-they-are-used-in-switch.patch
pps-fix-race-in-pps_fetch-handler.patch
pps-unify-timestamp-gathering.patch
pps-access-pps-device-by-direct-pointer.patch
pps-convert-printk-pr_-to-dev_.patch
pps-move-idr-stuff-to-ppsc.patch
pps-add-async-pps-event-handler.patch
pps-add-async-pps-event-handler-fix.patch
pps-dont-disable-interrupts-when-using-spin-locks.patch
pps-use-bug_on-for-kernel-api-safety-checks.patch
pps-simplify-conditions-a-bit.patch
ntp-add-hardpps-implementation.patch
pps-capture-monotonic_raw-timestamps-as-well.patch
pps-add-kernel-consumer-support.patch
pps-add-parallel-port-pps-client.patch
pps-add-parallel-port-pps-signal-generator.patch
memstick-a-few-changes-to-core.patch
memstick-add-support-for-legacy-memorysticks.patch
memstick-add-driver-for-ricoh-r5c592-card-reader.patch
memstick-add-driver-for-ricoh-r5c592-card-reader-fix.patch
memstick-core-fix-device_register-error-handling.patch
w1-dont-allow-arbitrary-users-to-remove-w1-devices.patch
aio-bump-i_count-instead-of-using-igrab.patch
kernel-resourcec-handle-reinsertion-of-an-already-inserted-resource.patch ramoops-use-the-platform-data-structure-instead-of-module-params.patch ramoops-use-the-platform-data-structure-instead-of-module-params-fix.patch
make-sure-nobodys-leaking-resources.patch
journal_add_journal_head-debug.patch
releasing-resources-with-children.patch
make-frame_pointer-default=y.patch
mutex-subsystem-synchro-test-module.patch
mutex-subsystem-synchro-test-module-add-missing-header-file.patch
slab-leaks3-default-y.patch
put_bh-debug.patch
add-debugging-aid-for-memory-initialisation-problems.patch
workaround-for-a-pci-restoring-bug.patch
prio_tree-debugging-patch.patch
single_open-seq_release-leak-diagnostics.patch
add-a-refcount-check-in-dput.patch
getblk-handle-2tb-devices.patch

#1 lore raw

Hi,

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

I wonder why are these two functions in include/linux/fs.h static inline void lock_flocks()
{
}

static inline void unlock_flocks()
{
}

Was there any contest for function, which will cause many warnings?

I'm getting an awful lot of
CC kernel/trace/trace_sched_switch.o
In file included from kernel/trace/trace_sched_switch.c:8:
include/linux/fs.h:1278: warning: function declaration isn’t a prototype include/linux/fs.h:1282: warning: function declaration isn’t a prototype
CC kernel/trace/trace_functions.o
In file included from include/linux/debugfs.h:18,
from kernel/trace/trace_functions.c:13:
include/linux/fs.h:1278: warning: function declaration isn’t a prototype include/linux/fs.h:1282: warning: function declaration isn’t a prototype

Signature · 2 lines
Slawa!
N.P.S.
#2 lore raw
Quoted 16 lines · On Wed, 29 Sep 2010 02:27:55 +0200 "N.P.S. N.P.S."…

Hi,

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

I wonder why are these two functions in include/linux/fs.h static inline void lock_flocks()
{
}

static inline void unlock_flocks()
{
}

Was there any contest for function, which will cause many warnings?

Quoted 10 lines

I'm getting an awful lot of
CC kernel/trace/trace_sched_switch.o
In file included from kernel/trace/trace_sched_switch.c:8:
include/linux/fs.h:1278: warning: function declaration isn___t a prototype include/linux/fs.h:1282: warning: function declaration isn___t a prototype
CC kernel/trace/trace_functions.o
In file included from include/linux/debugfs.h:18,
from kernel/trace/trace_functions.c:13:
include/linux/fs.h:1278: warning: function declaration isn___t a prototype include/linux/fs.h:1282: warning: function declaration isn___t a prototype

Arnd has been bad.

commit 0a4de5980db88de75b798b291524ba9af8553e7c

Author:     Arnd Bergmann <[email protected]>
AuthorDate: Sat Sep 18 15:09:31 2010 +0200
Commit:     Arnd Bergmann <[email protected]>
CommitDate: Sat Sep 25 18:07:47 2010 +0200

fs/locks.c: prepare for BKL removal

#3 lore raw
Quoted 14 lines · Andrew Morton
Quoted 12 lines · On Wed, 29 Sep 2010 02:27:55 +0200 "N.P.S. N.P.S."…

Was there any contest for function, which will cause many warnings?

I'm getting an awful lot of
CC kernel/trace/trace_sched_switch.o
In file included from kernel/trace/trace_sched_switch.c:8:
include/linux/fs.h:1278: warning: function declaration isn___t a prototype include/linux/fs.h:1282: warning: function declaration isn___t a prototype
CC kernel/trace/trace_functions.o
In file included from include/linux/debugfs.h:18,
from kernel/trace/trace_functions.c:13:
include/linux/fs.h:1278: warning: function declaration isn___t a prototype include/linux/fs.h:1282: warning: function declaration isn___t a prototype

Quoted 1 line

Arnd has been bad.

Sorry about that, I obviously forgot to test without CONFIG_FILE_LOCKING. Are you actually using that configuration, or did you find it during random build testing?

Quoted 7 lines

commit 0a4de5980db88de75b798b291524ba9af8553e7c

Author:     Arnd Bergmann <[email protected]>
AuthorDate: Sat Sep 18 15:09:31 2010 +0200
Commit:     Arnd Bergmann <[email protected]>
CommitDate: Sat Sep 25 18:07:47 2010 +0200

fs/locks.c: prepare for BKL removal

I updated that commit now.

Arnd

#4 lore raw

2010/9/29 Arnd Bergmann <[email protected]>:

Quoted 15 lines · Andrew Morton
Quoted 14 lines · On Wed, 29 Sep 2010 02:27:55 +0200 "N.P.S. N.P.S."…
Quoted 12 lines

Was there any contest for function, which will cause many warnings?

I'm getting an awful lot of
  CC      kernel/trace/trace_sched_switch.o
In file included from kernel/trace/trace_sched_switch.c:8:
include/linux/fs.h:1278: warning: function declaration isn___t a prototype include/linux/fs.h:1282: warning: function declaration isn___t a prototype CC      kernel/trace/trace_functions.o
In file included from include/linux/debugfs.h:18,
                 from kernel/trace/trace_functions.c:13:
include/linux/fs.h:1278: warning: function declaration isn___t a prototype include/linux/fs.h:1282: warning: function declaration isn___t a prototype

Quoted 5 lines
Quoted 1 line

Arnd has been bad.

Sorry about that, I obviously forgot to test without CONFIG_FILE_LOCKING. Are you actually using that configuration, or did you find it during random build testing?

It was randconfig build.

Quoted 10 lines
Quoted 8 lines

commit 0a4de5980db88de75b798b291524ba9af8553e7c
Author:     Arnd Bergmann <[email protected]>
AuthorDate: Sat Sep 18 15:09:31 2010 +0200
Commit:     Arnd Bergmann <[email protected]>
CommitDate: Sat Sep 25 18:07:47 2010 +0200

    fs/locks.c: prepare for BKL removal

I updated that commit now.

Thanks

Quoted 3 lines

       Arnd

Signature · 2 lines
Slawa!
N.P.S.
#5 lore raw
In reply to N.P.S. N.P.S.
Quoted 5 lines · N.P.S. N.P.S.

Hi,

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Quoted 8 lines

I wonder why are these two functions in include/linux/fs.h static inline void lock_flocks()
{
}

static inline void unlock_flocks()
{
}

Those were added as part of the kill-the-BKL project. They used to be done as #defines to lock_kernel and unlock_kernel, but became full-fledged functions in this release. Unfortunately, if you build with CONFIG_FILE_LOCKING=n you need to provide a dummy stub, which is what was intended here.

Does the following (untested) fix the problem for you?

include/linux/fs.h renamed from include/linux/fs.h.dist +2 -2
@@ -1274,11 +1274,11 @@ static inline int lock_may_write(struct 
 	return 1;
 }
 
-static inline void lock_flocks()
+static inline void lock_flocks(void)
 {
 }
 
-static inline void unlock_flocks()
+static inline void unlock_flocks(void)
 {
 }
 
#6 lore raw

2010/9/29 <[email protected]>:

Quoted 15 lines · N.P.S. N.P.S.
Quoted 5 lines

Hi,

2010/9/29  <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Quoted 8 lines

I wonder why are these two functions in include/linux/fs.h static inline void lock_flocks()
{
}

static inline void unlock_flocks()
{
}

Quoted 6 lines

Those were added as part of the kill-the-BKL project.  They used to be done as #defines to lock_kernel and unlock_kernel, but became full-fledged functions in this release.  Unfortunately, if you build with CONFIG_FILE_LOCKING=n you need to provide a dummy stub, which is what was intended here.

Does the following (untested) fix the problem for you?

Yes, it does. Thanks!

Quoted 21 lines
include/linux/fs.h       2010-09-28 20:47:34.221924470 -0400 renamed from include/linux/fs.h.dist  2010-09-28 20:46:29.276970365 -0400 +2 -2
@@ -1274,11 +1274,11 @@ static inline int lock_may_write(struct
        return 1;
  }
 
-static inline void lock_flocks()
+static inline void lock_flocks(void)
  {
  }
 
-static inline void unlock_flocks()
+static inline void unlock_flocks(void)
  {
  }
 
Signature · 2 lines
Slawa!
N.P.S.
#7 lore raw
Quoted 18 lines · N.P.S. N.P.S.

2010/9/29 <[email protected]>:

Quoted 11 lines · N.P.S. N.P.S.
Quoted 10 lines

Hi,

2010/9/29 =A0<[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

I wonder why are these two functions in include/linux/fs.h static inline void lock_flocks()
{
}

Quoted 6 lines
Quoted 3 lines

static inline void unlock_flocks()
{
}

Those were added as part of the kill-the-BKL project. =A0They used to be done as #defines to lock_kernel and unlock_kernel, but became full-fledge=

Quoted 8 lines

d

Quoted 1 line

functions in this release. =A0Unfortunately, if you build with CONFIG_FIL=

E_LOCKING=3Dn

Quoted 3 lines

you need to provide a dummy stub, which is what was intended here.

Does the following (untested) fix the problem for you?

Yes, it does. Thanks!

And right after that I spotted that Randy Dunlap posted an almost identical patch (with better changelog) earlier this afternoon...

#8 lore raw
In reply to [email protected]

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

It seems that randconfig causes a problem

drivers/hwmon/pkgtemp.c: In function 'pkgtemp_init':
drivers/hwmon/pkgtemp.c:413: error: 'pkgtemp_cpu_notifier' undeclared (first use drivers/hwmon/pkgtemp.c:413: error: (Each undeclared identifier is reported only drivers/hwmon/pkgtemp.c:413: error: for each function it appears in.) make[2]: *** [drivers/hwmon/pkgtemp.o] Błąd 1
make[1]: *** [drivers/hwmon] Błąd 2
make: *** [drivers] Błąd 2

Signature · 2 lines
Slawa!
N.P.S.
#9 lore raw
Quoted 5 lines · On Wed, 29 Sep 2010 02:49:57 +0200 N.P.S. N.P.S. wrote:

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

It seems that randconfig causes a problem

Quoted 7 lines

drivers/hwmon/pkgtemp.c: In function 'pkgtemp_init':
drivers/hwmon/pkgtemp.c:413: error: 'pkgtemp_cpu_notifier' undeclared (first use drivers/hwmon/pkgtemp.c:413: error: (Each undeclared identifier is reported only drivers/hwmon/pkgtemp.c:413: error: for each function it appears in.) make[2]: *** [drivers/hwmon/pkgtemp.o] Błąd 1
make[1]: *** [drivers/hwmon] Błąd 2
make: *** [drivers] Błąd 2

I sent a patch for this in reply to today's linux-next announcement.

Same for the fs.h warnings. And several others that are needed in mmotm due to its base.

Andrew, should I be cc-ing you on all of these patches?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

#10 lore raw
Quoted 15 lines · On Tue, 28 Sep 2010 18:13:04 -0700 Randy Dunlap <[email protected]> wrote:
Quoted 5 lines · On Wed, 29 Sep 2010 02:49:57 +0200 N.P.S. N.P.S. wrote:

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

It seems that randconfig causes a problem

Quoted 7 lines

drivers/hwmon/pkgtemp.c: In function 'pkgtemp_init':
drivers/hwmon/pkgtemp.c:413: error: 'pkgtemp_cpu_notifier' undeclared (first use drivers/hwmon/pkgtemp.c:413: error: (Each undeclared identifier is reported only drivers/hwmon/pkgtemp.c:413: error: for each function it appears in.) make[2]: *** [drivers/hwmon/pkgtemp.o] B____d 1
make[1]: *** [drivers/hwmon] B____d 2
make: *** [drivers] B____d 2

Quoted 7 lines

I sent a patch for this in reply to today's linux-next announcement.

Same for the fs.h warnings. And several others that are needed in mmotm due to its base.

Andrew, should I be cc-ing you on all of these patches?

Yes please - if we can save people from discovering and reporting already-fixed bugs then I'm all for it!

#11 lore raw
In reply to [email protected]
Quoted 3 lines · On Tue, 28 Sep 2010 16:13:38 PDT, [email protected] said:

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

http://userweb.kernel.org/~akpm/mmotm/

Also needs this from Randy Dunlap:

From: Randy Dunlap <[email protected]>

Fix build error and config symbol comment:

drivers/hwmon/pkgtemp.c:413: error:'pkgtemp_cpu_notifier' undeclared (first use in this function)

---
 drivers/hwmon/pkgtemp.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/hwmon/pkgtemp.c +3 -3
@@ -386,7 +386,7 @@ static int __cpuinit pkgtemp_cpu_callbac
 static struct notifier_block pkgtemp_cpu_notifier __refdata = {
 	.notifier_call = pkgtemp_cpu_callback,
 };
-#endif				/* !CONFIG_HOTPLUG_CPU */
+#endif				/* CONFIG_HOTPLUG_CPU */
 
 static int __init pkgtemp_init(void)
 {
@@ -408,9 +408,9 @@ static int __init pkgtemp_init(void)
 		err = -ENODEV;
 		goto exit_driver_unreg;
 	}
-#endif
-
+#else
 	register_hotcpu_notifier(&pkgtemp_cpu_notifier);
+#endif
 	return 0;
 
 #ifndef CONFIG_HOTPLUG_CPU
#12 lore raw
In reply to [email protected]

2010/9/29 <[email protected]>:

Quoted 2 lines

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

drivers/base/core.c: In function 'get_device_parent':
drivers/base/core.c:634: error: 'block_class' undeclared (first use in this function)
drivers/base/core.c:634: error: (Each undeclared identifier is reported only once
drivers/base/core.c:634: error: for each function it appears in.) drivers/base/core.c: In function 'device_add_class_symlinks':
drivers/base/core.c:723: error: 'block_class' undeclared (first use in this function)
drivers/base/core.c: In function 'device_remove_class_symlinks':
drivers/base/core.c:751: error: 'block_class' undeclared (first use in this function)
make[2]: *** [drivers/base/core.o] Błąd 1
make[1]: *** [drivers/base] Błąd 2
make: *** [drivers] Błąd 2

Signature · 2 lines
Slawa!
N.P.S.
#13 lore raw
Quoted 5 lines · On Wed, 29 Sep 2010 11:15:32 +0200 N.P.S. N.P.S. wrote:

2010/9/29 <[email protected]>:

Quoted 2 lines

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Quoted 15 lines

drivers/base/core.c: In function 'get_device_parent':
drivers/base/core.c:634: error: 'block_class' undeclared (first use in this function)
drivers/base/core.c:634: error: (Each undeclared identifier is reported only once
drivers/base/core.c:634: error: for each function it appears in.) drivers/base/core.c: In function 'device_add_class_symlinks':
drivers/base/core.c:723: error: 'block_class' undeclared (first use in this function)
drivers/base/core.c: In function 'device_remove_class_symlinks':
drivers/base/core.c:751: error: 'block_class' undeclared (first use in this function)
make[2]: *** [drivers/base/core.o] Błąd 1
make[1]: *** [drivers/base] Błąd 2
make: *** [drivers] Błąd 2

Patch has been sent to GregKH for this one.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

#14 lore raw

2010/9/29 Randy Dunlap <[email protected]>:

Quoted 23 lines · On Wed, 29 Sep 2010 11:15:32 +0200 N.P.S. N.P.S. wrote:
Quoted 6 lines

2010/9/29  <[email protected]>:

Quoted 2 lines

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Quoted 15 lines

drivers/base/core.c: In function 'get_device_parent':
drivers/base/core.c:634: error: 'block_class' undeclared (first use in this function)
drivers/base/core.c:634: error: (Each undeclared identifier is reported only once
drivers/base/core.c:634: error: for each function it appears in.) drivers/base/core.c: In function 'device_add_class_symlinks':
drivers/base/core.c:723: error: 'block_class' undeclared (first use in this function)
drivers/base/core.c: In function 'device_remove_class_symlinks':
drivers/base/core.c:751: error: 'block_class' undeclared (first use in this function)
make[2]: *** [drivers/base/core.o] Błąd 1
make[1]: *** [drivers/base] Błąd 2
make: *** [drivers] Błąd 2

Quoted 2 lines

Patch has been sent to GregKH for this one.

Thanks!

Signature · 2 lines
Slawa!
N.P.S.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#16 lore raw

---------- Wiadomość przekazana dalej ----------
Od: N.P.S. N.P.S. <[email protected]>
Data: 29 września 2010 11:17
Temat: Re: mmotm 2010-09-28-16-13 uploaded
Do: [email protected]

2010/9/29  <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

drivers/char/hpet.c: In function 'hpet_alloc_timer':
drivers/char/hpet.c:278: error: implicit declaration of function 'unlock_kernel' make[2]: *** [drivers/char/hpet.o] Błąd 1
make[1]: *** [drivers/char] Błąd 2
make: *** [drivers] Błąd 2

--
Slawa!
N.P.S.

Signature · 2 lines
Slawa!
N.P.S.
#17 lore raw
In reply to [email protected]

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Another randconfig thing

drivers/net/pch_gbe/pch_gbe_main.c: In function 'pch_gbe_tx_queue':
drivers/net/pch_gbe/pch_gbe_main.c:965: error: implicit declaration of function 'tcp_hdr'
drivers/net/pch_gbe/pch_gbe_main.c:965: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:968: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:976: error: implicit declaration of function 'udp_hdr'
drivers/net/pch_gbe/pch_gbe_main.c:976: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:980: error: invalid type argument of '->' (have 'int')
make[3]: *** [drivers/net/pch_gbe/pch_gbe_main.o] Error 1 make[2]: *** [drivers/net/pch_gbe] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Signature · 2 lines
Slawa!
N.P.S.
#18 lore raw
Quoted 14 lines · On Wed, 29 Sep 2010 15:13:41 +0200 N.P.S. N.P.S. wrote:

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Another randconfig thing

drivers/net/pch_gbe/pch_gbe_main.c: In function 'pch_gbe_tx_queue':
drivers/net/pch_gbe/pch_gbe_main.c:965: error: implicit declaration of function 'tcp_hdr'
drivers/net/pch_gbe/pch_gbe_main.c:965: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:968: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:976: error: implicit declaration of function 'udp_hdr'

Quoted 8 lines

drivers/net/pch_gbe/pch_gbe_main.c:976: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:980: error: invalid type argument of '->' (have 'int')
make[3]: *** [drivers/net/pch_gbe/pch_gbe_main.o] Error 1 make[2]: *** [drivers/net/pch_gbe] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Patch has been sent to DaveM and he has merged it.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

#19 lore raw

2010/9/29 Randy Dunlap <[email protected]>:

Quoted 25 lines · On Wed, 29 Sep 2010 15:13:41 +0200 N.P.S. N.P.S. wrote:
Quoted 15 lines

2010/9/29  <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Another randconfig thing

drivers/net/pch_gbe/pch_gbe_main.c: In function 'pch_gbe_tx_queue':
drivers/net/pch_gbe/pch_gbe_main.c:965: error: implicit declaration of function 'tcp_hdr'
drivers/net/pch_gbe/pch_gbe_main.c:965: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:968: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:976: error: implicit declaration of function 'udp_hdr'

Quoted 8 lines

drivers/net/pch_gbe/pch_gbe_main.c:976: error: invalid type argument of '->' (have 'int') drivers/net/pch_gbe/pch_gbe_main.c:980: error: invalid type argument of '->' (have 'int')
make[3]: *** [drivers/net/pch_gbe/pch_gbe_main.o] Error 1 make[2]: *** [drivers/net/pch_gbe] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

Quoted 1 line

Patch has been sent to DaveM and he has merged it.

Thanks again!

Quoted 6 lines

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

Signature · 2 lines
Slawa!
N.P.S.
#20 lore raw
In reply to [email protected]

Hi,

2010/9/29 <[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Could you add this tree to the next mmotm?
git pull git://github.com/napohybelskurwysynom2010/Linux-2.6-nps.git rodi

It removes some duplicate includes

 arch/arm/mach-davinci/board-da850-evm.c        |    1 -
 arch/arm/mach-shmobile/board-ap4evb.c          |    1 -
 arch/arm/mach-tegra/timer.c                    |    1 -
 arch/arm/plat-nomadik/include/plat/ste_dma40.h |    1 -
 arch/tile/kernel/setup.c                       |    2 --
 arch/x86/mm/init_64.c                          |    1 -
 arch/x86/xen/enlighten.c                       |    1 -
 drivers/ide/ide-tape.c                         |    1 -
 drivers/media/IR/lirc_dev.c                    |    1 -
 drivers/net/pxa168_eth.c                       |    2 --
 drivers/net/wireless/libertas/cfg.c            |    1 -
 drivers/platform/x86/intel_pmic_gpio.c         |    1 -
 drivers/staging/lirc/lirc_parallel.c           |    1 -
 drivers/staging/spectra/lld_mtd.c              |    3 ---
 drivers/staging/tidspbridge/gen/gb.c           |    1 -
 drivers/staging/tidspbridge/gen/gs.c           |    1 -
 drivers/video/omap/lcd_omap3beagle.c           |    1 -
 include/linux/virtio_9p.h                      |    1 -
 kernel/trace/trace_kprobe.c                    |    1 -
 net/caif/caif_socket.c                         |    1 -
 net/netfilter/xt_ipvs.c                        |    1 -
 sound/soc/nuc900/nuc900-ac97.c                 |    1 -
 22 files changed, 0 insertions(+), 26 deletions(-)
Signature · 2 lines
Slawa!
N.P.S.
#21 lore raw

W dniu 2010-09-30 18:59, Na Pohybel pisze:

Quoted 6 lines

Hi,

2010/9/29<[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Could you add this tree to the next mmotm?
git pull git://github.com/napohybelskurwysynom2010/Linux-2.6-nps.git rodi

I noticed that some of these changes are already in mmotm. I'm sending a revised, folded patch.

Removal of duplicate includes from arch/arm/mach-davinci/board-da850-evm.c Removal of duplicate includes from arch/arm/plat-nomadik/include/plat/ste_dma40.h Removal of duplicate includes from arch/arm/mach-shmobile/board-ap4evb.c Removal of duplicate includes from arch/arm/mach-tegra/timer.c Removal of duplicate includes from arch/x86/mm/init_64.c
Removal of duplicate includes from arch/x86/xen/enlighten.c
Removal of duplicate includes from arch/tile/kernel/setup.c
Removal of duplicate includes from drivers/media/IR/lirc_dev.c Removal of duplicate includes from drivers/platform/x86/intel_pmic_gpio.c Removal of duplicate includes from drivers/staging/lirc/lirc_parallel.c Removal of duplicate includes from drivers/staging/spectra/lld_mtd.c Removal of duplicate includes from drivers/staging/tidspbridge/gen/gs.c Removal of duplicate includes from drivers/video/omap/lcd_omap3beagle.c Removal of duplicate includes from include/linux/virtio_9p.h
Removal of duplicate includes from kernel/trace/trace_kprobe.c Removal of duplicate includes from net/netfilter/xt_ipvs.c
Removal of duplicate includes from net/caif/caif_socket.c
Removal of duplicate includes from sound/soc/nuc900/nuc900-ac97.c

arch/arm/mach-davinci/board-da850-evm.c +0 -1
index fdc2cc5..851cc45 100644
@@ -26,7 +26,6 @@
 #include <linux/mtd/physmap.h>
 #include <linux/regulator/machine.h>
 #include <linux/regulator/tps6507x.h>
-#include <linux/mfd/tps6507x.h>
 #include <linux/input/tps6507x-ts.h>
 
 #include <asm/mach-types.h>
arch/arm/mach-shmobile/board-ap4evb.c +0 -1
index 95935c8..3ebb5be 100644
@@ -30,7 +30,6 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/physmap.h>
-#include <linux/mmc/host.h>
 #include <linux/mmc/sh_mmcif.h>
 #include <linux/i2c.h>
 #include <linux/i2c/tsc2007.h>
arch/arm/mach-tegra/timer.c +0 -1
index 2f42021..9057d6f 100644
@@ -28,7 +28,6 @@
 #include <linux/cnt32_to_63.h>
 
 #include <asm/mach/time.h>
-#include <asm/mach/time.h>
 #include <asm/localtimer.h>
 
 #include <mach/iomap.h>
arch/arm/plat-nomadik/include/plat/ste_dma40.h +0 -1
index 5fbde4b..93a8126 100644
@@ -14,7 +14,6 @@
 #include <linux/dmaengine.h>
 #include <linux/workqueue.h>
 #include <linux/interrupt.h>
-#include <linux/dmaengine.h>
 
 /* dev types for memcpy */
 #define STEDMA40_DEV_DST_MEMORY (-1)
arch/tile/kernel/setup.c +0 -2
index e7d54c7..45874f7 100644
@@ -30,8 +30,6 @@
 #include <linux/timex.h>
 #include <asm/setup.h>
 #include <asm/sections.h>
-#include <asm/sections.h>
-#include <asm/cacheflush.h>
 #include <asm/cacheflush.h>
 #include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
arch/x86/mm/init_64.c +0 -1
index 9a66746..612f353 100644
@@ -50,7 +50,6 @@
 #include <asm/numa.h>
 #include <asm/cacheflush.h>
 #include <asm/init.h>
-#include <linux/bootmem.h>
 
 static unsigned long dma_reserve __initdata;
 
arch/x86/xen/enlighten.c +0 -1
index 7d46c84..3396891 100644
@@ -58,7 +58,6 @@
 #include <asm/pgtable.h>
 #include <asm/tlbflush.h>
 #include <asm/reboot.h>
-#include <asm/setup.h>
 #include <asm/stackprotector.h>
 #include <asm/hypervisor.h>
 
drivers/media/IR/lirc_dev.c +0 -1
index 899891b..42b5e64 100644
@@ -27,7 +27,6 @@
 #include <linux/fs.h>
 #include <linux/poll.h>
 #include <linux/completion.h>
-#include <linux/errno.h>
 #include <linux/mutex.h>
 #include <linux/wait.h>
 #include <linux/unistd.h>
drivers/platform/x86/intel_pmic_gpio.c +0 -1
index 5cdcff6..73eae6f 100644
@@ -29,7 +29,6 @@
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/gpio.h>
-#include <linux/interrupt.h>
 #include <asm/intel_scu_ipc.h>
 #include <linux/device.h>
 #include <linux/intel_pmic_gpio.h>
drivers/staging/lirc/lirc_parallel.c +0 -1
index 6da4a8c..0c831f5 100644
@@ -40,7 +40,6 @@
 #include <linux/delay.h>
 
 #include <linux/io.h>
-#include <linux/signal.h>
 #include <linux/irq.h>
 #include <linux/uaccess.h>
 #include <asm/div64.h>
drivers/staging/spectra/lld_mtd.c +0 -3
index 0de05b1..ec57a15 100644
@@ -24,9 +24,6 @@
 #include "ffsdefs.h"
 #include "lld_emu.h"
 #include "lld.h"
-#if CMD_DMA
-#include "lld_cdma.h"
-#endif
 
 #define GLOB_LLD_PAGES           64
 #define GLOB_LLD_PAGE_SIZE       (512+16)
drivers/staging/tidspbridge/gen/gs.c +0 -1
index 9fc6144..8335bf5 100644
@@ -19,7 +19,6 @@
 #include <linux/types.h>
 /*  ----------------------------------- DSP/BIOS Bridge */
 #include <dspbridge/dbdefs.h>
-#include <linux/types.h>
 
 /*  ----------------------------------- This */
 #include <dspbridge/gs.h>
drivers/video/omap/lcd_omap3beagle.c +0 -1
index ca75cc2..ac715f9 100644
@@ -26,7 +26,6 @@
 #include <linux/i2c/twl.h>
 
 #include <plat/mux.h>
-#include <plat/mux.h>
 #include <asm/mach-types.h>
 
 #include "omapfb.h"
include/linux/virtio_9p.h +0 -1
index 1faa80d..e68b439 100644
@@ -5,7 +5,6 @@
 #include <linux/types.h>
 #include <linux/virtio_ids.h>
 #include <linux/virtio_config.h>
-#include <linux/types.h>
 
 /* The feature bitmap for virtio 9P */
 
kernel/trace/trace_kprobe.c +0 -1
index 544301d..87f0a95 100644
@@ -31,7 +31,6 @@
 #include <linux/perf_event.h>
 #include <linux/stringify.h>
 #include <linux/limits.h>
-#include <linux/uaccess.h>
 #include <asm/bitsperlong.h>
 
 #include "trace.h"
net/caif/caif_socket.c +0 -1
index 8ce9047..7a09fb6 100644
@@ -15,7 +15,6 @@
 #include <linux/poll.h>
 #include <linux/tcp.h>
 #include <linux/uaccess.h>
-#include <linux/mutex.h>
 #include <linux/debugfs.h>
 #include <linux/caif/caif_socket.h>
 #include <asm/atomic.h>
net/netfilter/xt_ipvs.c +0 -1
index 7a4d66d..9127a3d 100644
@@ -16,7 +16,6 @@
 #include <linux/ip_vs.h>
 #include <linux/types.h>
 #include <linux/netfilter/x_tables.h>
-#include <linux/netfilter/x_tables.h>
 #include <linux/netfilter/xt_ipvs.h>
 #include <net/netfilter/nf_conntrack.h>
 
sound/soc/nuc900/nuc900-ac97.c +0 -1
index caa7c90..265a950 100644
@@ -20,7 +20,6 @@
 #include <sound/pcm.h>
 #include <sound/initval.h>
 #include <sound/soc.h>
-#include <linux/device.h>
 #include <linux/clk.h>
 
 #include <mach/mfp.h>
#22 lore raw

W dniu 2010-09-30 20:25, N.P.S. pisze:

Quoted 9 lines

W dniu 2010-09-30 18:59, Na Pohybel pisze:

Quoted 6 lines

Hi,

2010/9/29<[email protected]>:

Quoted 1 line

The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to

Could you add this tree to the next mmotm?
git pull git://github.com/napohybelskurwysynom2010/Linux-2.6-nps.git rodi

I noticed that some of these changes are already in mmotm.

Here is a patch that removes duplicate includes introduced in -next and -mmotm

--
Zimny Lech

 arch/arm/mach-omap2/board-rx51-peripherals.c           |    1 -
 arch/arm/mm/flush.c                                    |    1 -
 arch/xtensa/include/asm/coprocessor.h                  |    1 -
 drivers/mmc/host/ushc.c                                |    1 -
 drivers/staging/ath6kl/os/linux/include/ar6000_drv.h   |    1 -
 drivers/staging/batman-adv/soft-interface.c            |    1 -
 drivers/staging/bcm/headers.h                          |    1 -
 drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c       |    4 ----
 drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h       |    1 -
 drivers/staging/brcm80211/brcmfmac/wl_iw.c             |    4 ----
 drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c     |    1 -
 drivers/staging/rtl8712/drv_types.h                    |    1 -
 drivers/staging/rtl8712/osdep_service.h                |    1 -
 drivers/staging/westbridge/astoria/gadget/cyasgadget.h |    3 ---
 sound/soc/fsl/mpc5200_dma.c                            |    1 -
 15 files changed, 23 deletions(-)

Removal of duplicate includes from arch/arm/mach-omap2/board-rx51-peripherals.c Removal of duplicate includes from arch/arm/mm/flush.c
Removal of duplicate includes from arch/xtensa/include/asm/coprocessor.h Removal of duplicate includes from drivers/mmc/host/ushc.c
Removal of duplicate includes from drivers/staging/ath6kl/os/linux/include/ar6000_drv.h Removal of duplicate includes from drivers/staging/batman-adv/soft-interface.c Removal of duplicate includes from drivers/staging/bcm/headers.h
Removal of duplicate includes from drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c Removal of duplicate includes from drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h Removal of duplicate includes from drivers/staging/brcm80211/brcmfmac/wl_iw.c Removal of duplicate includes from drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c Removal of duplicate includes from drivers/staging/rtl8712/drv_types.h Removal of duplicate includes from drivers/staging/rtl8712/osdep_service.h Removal of duplicate includes from drivers/staging/westbridge/astoria/gadget/cyasgadget.h Removal of duplicate includes from sound/soc/fsl/mpc5200_dma.c

arch/arm/mach-omap2/board-rx51-peripherals.c 2010-09-30 21:23:49.000000000 +0200 renamed from arch/arm/mach-omap2/board-rx51-peripherals.c 2010-09-29 02:04:13.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/arch/arm/mach-omap2/board-rx51-peripherals.c linux-2.6-mm/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -33,7 +33,6 @@
 #include <plat/onenand.h>
 #include <plat/gpmc-smc91x.h>
 
-#include <sound/tlv320aic3x.h>
 #include <sound/tpa6130a2-plat.h>
 
 #include <../drivers/staging/iio/light/tsl2563.h>
arch/arm/mm/flush.c 2010-09-30 21:23:22.000000000 +0200 renamed from arch/arm/mm/flush.c 2010-09-29 02:04:13.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/arch/arm/mm/flush.c linux-2.6-mm/arch/arm/mm/flush.c
@@ -17,7 +17,6 @@
 #include <asm/smp_plat.h>
 #include <asm/system.h>
 #include <asm/tlbflush.h>
-#include <asm/smp_plat.h>
 
 #include "mm.h"
 
arch/xtensa/include/asm/coprocessor.h 2010-09-30 21:23:02.000000000 +0200 renamed from arch/xtensa/include/asm/coprocessor.h 2010-09-29 02:04:15.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/arch/xtensa/include/asm/coprocessor.h linux-2.6-mm/arch/xtensa/include/asm/coprocessor.h
@@ -15,7 +15,6 @@
 #include <linux/stringify.h>
 #include <variant/core.h>
 #include <variant/tie.h>
-#include <variant/core.h>
 #include <asm/types.h>
 
 #if defined(__ASSEMBLY__) && !defined(LINKER_SCRIPT)
drivers/mmc/host/ushc.c 2010-09-30 21:22:48.000000000 +0200 renamed from drivers/mmc/host/ushc.c 2010-09-29 02:04:17.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/drivers/mmc/host/ushc.c linux-2.6-mm/drivers/mmc/host/ushc.c
@@ -19,7 +19,6 @@
 #include <linux/module.h>
 #include <linux/usb.h>
 #include <linux/kernel.h>
-#include <linux/usb.h>
 #include <linux/slab.h>
 #include <linux/dma-mapping.h>
 #include <linux/mmc/host.h>
drivers/staging/ath6kl/os/linux/include/ar6000_drv.h 2010-09-30 21:16:50.000000000 +0200 renamed from drivers/staging/ath6kl/os/linux/include/ar6000_drv.h 2010-09-29 02:04:23.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h linux-2.6-mm/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h
@@ -57,7 +57,6 @@
 #include "aggr_recv_api.h"
 #include <host_version.h>
 #include <linux/rtnetlink.h>
-#include <linux/init.h>
 #include <linux/moduleparam.h>
 #include "ar6000_api.h"
 #ifdef CONFIG_HOST_TCMD_SUPPORT
drivers/staging/batman-adv/soft-interface.c 2010-09-30 21:21:41.000000000 +0200 renamed from drivers/staging/batman-adv/soft-interface.c 2010-09-29 02:04:23.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/drivers/staging/batman-adv/soft-interface.c linux-2.6-mm/drivers/staging/batman-adv/soft-interface.c
@@ -28,7 +28,6 @@
 #include "translation-table.h"
 #include "types.h"
 #include "hash.h"
-#include "send.h"
 #include "bat_sysfs.h"
 #include <linux/slab.h>
 #include <linux/ethtool.h>
drivers/staging/bcm/headers.h 2010-09-30 21:16:16.000000000 +0200 renamed from drivers/staging/bcm/headers.h 2010-09-29 02:04:23.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/drivers/staging/bcm/headers.h linux-2.6-mm/drivers/staging/bcm/headers.h
@@ -28,7 +28,6 @@
 
 #include <linux/version.h>
 #include <linux/stddef.h>
-#include <linux/kernel.h>
 #include <linux/stat.h>
 #include <linux/fcntl.h>
 #include <linux/unistd.h>
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c 2010-09-30 21:15:48.000000000 +0200 renamed from drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c 2010-09-29 02:04:23.000000000 +0200 +0 -4
diff -uprN linux-2.6-mm-orig/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c linux-2.6-mm/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
@@ -30,10 +30,6 @@
 #include <dhdioctl.h>
 #include <wlioctl.h>
 
-#include <proto/ethernet.h>
-#include <dngl_stats.h>
-#include <dhd.h>
-
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
 #include <linux/sched.h>
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h 2010-09-30 21:15:13.000000000 +0200 renamed from drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h 2010-09-29 02:04:23.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h linux-2.6-mm/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h
@@ -21,7 +21,6 @@
 #include <typedefs.h>
 #include <proto/ethernet.h>
 #include <wlioctl.h>
-#include <linux/wireless.h>
 #include <net/cfg80211.h>
 
 struct wl_conf;
drivers/staging/brcm80211/brcmfmac/wl_iw.c 2010-09-30 21:13:15.000000000 +0200 renamed from drivers/staging/brcm80211/brcmfmac/wl_iw.c 2010-09-29 02:04:23.000000000 +0200 +0 -4
diff -uprN linux-2.6-mm-orig/drivers/staging/brcm80211/brcmfmac/wl_iw.c linux-2.6-mm/drivers/staging/brcm80211/brcmfmac/wl_iw.c
@@ -34,11 +34,7 @@
 typedef void wlc_info_t;
 typedef void wl_info_t;
 typedef const struct si_pub si_t;
-#include <wlioctl.h>
 
-#include <proto/ethernet.h>
-#include <dngl_stats.h>
-#include <dhd.h>
 #define WL_ERROR(x) printf x
 #define WL_TRACE(x)
 #define WL_ASSOC(x)
drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c 2010-09-30 21:11:46.000000000 +0200 renamed from drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c 2010-09-29 02:04:24.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c linux-2.6-mm/drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c
@@ -30,7 +30,6 @@
 #include <linux/netdevice.h>
 #include <linux/timer.h>
 #include <linux/delay.h>
-#include <linux/slab.h>
 #include <asm/io.h>
 #include <asm/uaccess.h>
 #include <linux/vmalloc.h>
drivers/staging/rtl8712/drv_types.h 2010-09-30 21:11:24.000000000 +0200 renamed from drivers/staging/rtl8712/drv_types.h 2010-09-29 02:04:25.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/drivers/staging/rtl8712/drv_types.h linux-2.6-mm/drivers/staging/rtl8712/drv_types.h
@@ -29,7 +29,6 @@ struct    qos_priv    {
 
 #include "rtl871x_ht.h"
 #include "rtl871x_cmd.h"
-#include "wlan_bssdef.h"
 #include "rtl871x_xmit.h"
 #include "rtl871x_recv.h"
 #include "rtl871x_security.h"
drivers/staging/rtl8712/osdep_service.h 2010-09-30 21:10:52.000000000 +0200 renamed from drivers/staging/rtl8712/osdep_service.h 2010-09-29 02:04:25.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/drivers/staging/rtl8712/osdep_service.h linux-2.6-mm/drivers/staging/rtl8712/osdep_service.h
@@ -23,7 +23,6 @@
 #include <linux/sched.h>
 #include <linux/kref.h>
 #include <linux/smp_lock.h>
-#include <linux/netdevice.h>
 #include <linux/skbuff.h>
 #include <linux/usb.h>
 #include <linux/usb/ch9.h>
drivers/staging/westbridge/astoria/gadget/cyasgadget.h 2010-09-30 21:10:25.000000000 +0200 renamed from drivers/staging/westbridge/astoria/gadget/cyasgadget.h 2010-09-29 02:04:25.000000000 +0200 +0 -3
diff -uprN linux-2.6-mm-orig/drivers/staging/westbridge/astoria/gadget/cyasgadget.h linux-2.6-mm/drivers/staging/westbridge/astoria/gadget/cyasgadget.h
@@ -64,9 +64,6 @@
 #include <linux/init.h>
 
 /*char driver defines, revisit*/
-#include <linux/module.h>
-#include <linux/moduleparam.h>
-#include <linux/init.h>
 #include <linux/fs.h>        /* everything... */
 #include <linux/errno.h>    /* error codes */
 #include <linux/types.h>    /* size_t */
sound/soc/fsl/mpc5200_dma.c 2010-09-30 21:09:51.000000000 +0200 renamed from sound/soc/fsl/mpc5200_dma.c 2010-09-30 21:05:37.000000000 +0200 +0 -1
diff -uprN linux-2.6-mm-orig/sound/soc/fsl/mpc5200_dma.c linux-2.6-mm/sound/soc/fsl/mpc5200_dma.c
@@ -9,7 +9,6 @@
 #include <linux/module.h>
 #include <linux/of_device.h>
 #include <linux/slab.h>
-#include <linux/of_device.h>
 #include <linux/of_platform.h>
 
 #include <sound/soc.h>
#23 lore raw

Ping. Is there something wrong with these patches?

Signature · 2 lines
Slawa!
N.P.S.
#24 lore raw

Ping

2010/10/1 Zimny Lech <[email protected]>:

Quoted 6 lines

Ping. Is there something wrong with these patches?

--
Slawa!
N.P.S.

Signature · 2 lines
Slawa!
N.P.S.
#25 lore raw
In reply to N.P.S.
Quoted 6 lines · On Thu, 30 Sep 2010 21:39:26 +0200 "N.P.S."…

Here is a patch that removes duplicate includes introduced in -next and -mmotm

--
Zimny Lech

Quoted 16 lines
  arch/arm/mach-omap2/board-rx51-peripherals.c           |    1 -
  arch/arm/mm/flush.c                                    |    1 -
  arch/xtensa/include/asm/coprocessor.h                  |    1 -
  drivers/mmc/host/ushc.c                                |    1 -
  drivers/staging/ath6kl/os/linux/include/ar6000_drv.h   |    1 -
  drivers/staging/batman-adv/soft-interface.c            |    1 -
  drivers/staging/bcm/headers.h                          |    1 -
  drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c       |    4 ----
  drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h       |    1 -
  drivers/staging/brcm80211/brcmfmac/wl_iw.c             |    4 ----
  drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c     |    1 -
  drivers/staging/rtl8712/drv_types.h                    |    1 -
  drivers/staging/rtl8712/osdep_service.h                |    1 -
  drivers/staging/westbridge/astoria/gadget/cyasgadget.h |    3 ---
  sound/soc/fsl/mpc5200_dma.c                            |    1 -
  15 files changed, 23 deletions(-)

Removal of duplicated includes is a somewhat dangerous thing. If someone else says "hey, there's a duplicated include" and then fixes it, and if this patch removes the other include then whoops, we broke the build. This has happened before.

So I'd ask that you redo and resend this patch shortly after 2.6.36 is released please, so I can get it into mainline quickly thus minimising the opportunity for such breakage.

Quoted 1 line

We prefer that signoffs have real names in them, please.

#26 lore raw

2010/10/5 Andrew Morton <[email protected]>:

Quoted 4 lines

Removal of duplicated includes is a somewhat dangerous thing.  If someone else says "hey, there's a duplicated include" and then fixes it, and if this patch removes the other include then whoops, we broke the build.  This has happened before.

Yeah, right.

Quoted 4 lines

So I'd ask that you redo and resend this patch shortly after 2.6.36 is released please, so I can get it into mainline quickly thus minimising the opportunity for such breakage.

Ok. Do you want patch against 2.6.36 mainline, -next or -mmotm?

Quoted 5 lines
Quoted 2 lines

We prefer that signoffs have real names in them, please.

Do "Zimny Lech" sounds real enough? :)

Signature · 7 lines
Slawa!
N.P.S.

Les fleurs du mal unfold
Comme les fleurs du mal
Dark demons of my soul
Un amour fatal
#27 lore raw
Quoted 6 lines · On Tue, 5 Oct 2010 01:33:25 +0200 Zimny Lech…

2010/10/5 Andrew Morton <[email protected]>:

Quoted 4 lines

Removal of duplicated includes is a somewhat dangerous thing. __If someone else says "hey, there's a duplicated include" and then fixes it, and if this patch removes the other include then whoops, we broke the build. __This has happened before.

Quoted 8 lines

Yeah, right.

Quoted 4 lines

So I'd ask that you redo and resend this patch shortly after 2.6.36 is released please, so I can get it into mainline quickly thus minimising the opportunity for such breakage.

Ok. Do you want patch against 2.6.36 mainline, -next or -mmotm?

Mainline is OK, thanks.

#28 lore raw

PATCH 1/1 Removal of duplicate includes from many files

In reply to Zimny Lech

Hi,

W dniu 2010-10-05 01:33, Zimny Lech pisze:

Quoted 11 lines

2010/10/5 Andrew Morton<[email protected]>:

Quoted 4 lines

Removal of duplicated includes is a somewhat dangerous thing. If someone else says "hey, there's a duplicated include" and then fixes it, and if this patch removes the other include then whoops, we broke the build. This has happened before.

Yeah, right.

Quoted 3 lines

So I'd ask that you redo and resend this patch shortly after 2.6.36 is released please, so I can get it into mainline quickly thus minimising the opportunity for such breakage.

I rebased series against 2.6.36 and I checked if something has not been removed by someone else. Please pull git pull git://github.com/napohybelskurwysynom2010/Linux-2.6-nps.git rodi1

or apply attached patch

Kind regards,
ZL

Removal of duplicate includes from arch/arm/mach-davinci/board-da850-evm.c Removal of duplicate includes from arch/arm/plat-nomadik/include/plat/ste_dma40.h Removal of duplicate includes from arch/arm/mach-shmobile/board-ap4evb.c Removal of duplicate includes from arch/arm/mach-tegra/timer.c Removal of duplicate includes from arch/x86/mm/init_64.c
Removal of duplicate includes from arch/x86/xen/enlighten.c
Removal of duplicate includes from arch/tile/kernel/setup.c
Removal of duplicate includes from drivers/ide/ide-tape.c
Removal of duplicate includes from drivers/media/IR/lirc_dev.c Removal of duplicate includes from drivers/net/wireless/libertas/cfg.c Removal of duplicate includes from drivers/net/pxa168_eth.c
Removal of duplicate includes from drivers/platform/x86/intel_pmic_gpio.c Removal of duplicate includes from drivers/staging/lirc/lirc_parallel.c Removal of duplicate includes from drivers/staging/spectra/lld_mtd.c Removal of duplicate includes from drivers/staging/tidspbridge/gen/gb.c Removal of duplicate includes from drivers/staging/tidspbridge/gen/gs.c Removal of duplicate includes from drivers/video/omap/lcd_omap3beagle.c Removal of duplicate includes from include/linux/virtio_9p.h
Removal of duplicate includes from kernel/trace/trace_kprobe.c Removal of duplicate includes from net/netfilter/xt_ipvs.c
Removal of duplicate includes from net/caif/caif_socket.c
Removal of duplicate includes from sound/soc/nuc900/nuc900-ac97.c

arch/arm/mach-davinci/board-da850-evm.c +0 -1
index fdc2cc5..851cc45 100644
@@ -26,7 +26,6 @@
 #include <linux/mtd/physmap.h>
 #include <linux/regulator/machine.h>
 #include <linux/regulator/tps6507x.h>
-#include <linux/mfd/tps6507x.h>
 #include <linux/input/tps6507x-ts.h>
 
 #include <asm/mach-types.h>
arch/arm/mach-shmobile/board-ap4evb.c +0 -1
index 95935c8..3ebb5be 100644
@@ -30,7 +30,6 @@
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/physmap.h>
-#include <linux/mmc/host.h>
 #include <linux/mmc/sh_mmcif.h>
 #include <linux/i2c.h>
 #include <linux/i2c/tsc2007.h>
arch/arm/mach-tegra/timer.c +0 -1
index 2f42021..9057d6f 100644
@@ -28,7 +28,6 @@
 #include <linux/cnt32_to_63.h>
 
 #include <asm/mach/time.h>
-#include <asm/mach/time.h>
 #include <asm/localtimer.h>
 
 #include <mach/iomap.h>
arch/arm/plat-nomadik/include/plat/ste_dma40.h +0 -1
index 5fbde4b..93a8126 100644
@@ -14,7 +14,6 @@
 #include <linux/dmaengine.h>
 #include <linux/workqueue.h>
 #include <linux/interrupt.h>
-#include <linux/dmaengine.h>
 
 /* dev types for memcpy */
 #define STEDMA40_DEV_DST_MEMORY (-1)
arch/tile/kernel/setup.c +0 -2
index e7d54c7..45874f7 100644
@@ -30,8 +30,6 @@
 #include <linux/timex.h>
 #include <asm/setup.h>
 #include <asm/sections.h>
-#include <asm/sections.h>
-#include <asm/cacheflush.h>
 #include <asm/cacheflush.h>
 #include <asm/pgalloc.h>
 #include <asm/mmu_context.h>
arch/x86/mm/init_64.c +0 -1
index 9a66746..612f353 100644
@@ -50,7 +50,6 @@
 #include <asm/numa.h>
 #include <asm/cacheflush.h>
 #include <asm/init.h>
-#include <linux/bootmem.h>
 
 static unsigned long dma_reserve __initdata;
 
arch/x86/xen/enlighten.c +0 -1
index 7d46c84..3396891 100644
@@ -58,7 +58,6 @@
 #include <asm/pgtable.h>
 #include <asm/tlbflush.h>
 #include <asm/reboot.h>
-#include <asm/setup.h>
 #include <asm/stackprotector.h>
 #include <asm/hypervisor.h>
 
drivers/ide/ide-tape.c +0 -1
index 6d622cb..cd3539e 100644
@@ -36,7 +36,6 @@
 #include <linux/slab.h>
 #include <linux/pci.h>
 #include <linux/ide.h>
-#include <linux/smp_lock.h>
 #include <linux/completion.h>
 #include <linux/bitops.h>
 #include <linux/mutex.h>
drivers/media/IR/lirc_dev.c +0 -1
index 899891b..42b5e64 100644
@@ -27,7 +27,6 @@
 #include <linux/fs.h>
 #include <linux/poll.h>
 #include <linux/completion.h>
-#include <linux/errno.h>
 #include <linux/mutex.h>
 #include <linux/wait.h>
 #include <linux/unistd.h>
drivers/net/pxa168_eth.c +0 -2
index 85eddda..720da24 100644
@@ -42,8 +42,6 @@
 #include <linux/types.h>
 #include <asm/pgtable.h>
 #include <asm/system.h>
-#include <linux/delay.h>
-#include <linux/dma-mapping.h>
 #include <asm/cacheflush.h>
 #include <linux/pxa168_eth.h>
 
drivers/net/wireless/libertas/cfg.c +0 -1
index 3e82f16..2372abb 100644
@@ -9,7 +9,6 @@
 #include <linux/sched.h>
 #include <linux/wait.h>
 #include <linux/slab.h>
-#include <linux/sched.h>
 #include <linux/ieee80211.h>
 #include <net/cfg80211.h>
 #include <asm/unaligned.h>
drivers/platform/x86/intel_pmic_gpio.c +0 -1
index 5cdcff6..73eae6f 100644
@@ -29,7 +29,6 @@
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/gpio.h>
-#include <linux/interrupt.h>
 #include <asm/intel_scu_ipc.h>
 #include <linux/device.h>
 #include <linux/intel_pmic_gpio.h>
drivers/staging/lirc/lirc_parallel.c +0 -1
index 6da4a8c..0c831f5 100644
@@ -40,7 +40,6 @@
 #include <linux/delay.h>
 
 #include <linux/io.h>
-#include <linux/signal.h>
 #include <linux/irq.h>
 #include <linux/uaccess.h>
 #include <asm/div64.h>
drivers/staging/spectra/lld_mtd.c +0 -3
index 0de05b1..ec57a15 100644
@@ -24,9 +24,6 @@
 #include "ffsdefs.h"
 #include "lld_emu.h"
 #include "lld.h"
-#if CMD_DMA
-#include "lld_cdma.h"
-#endif
 
 #define GLOB_LLD_PAGES           64
 #define GLOB_LLD_PAGE_SIZE       (512+16)
drivers/staging/tidspbridge/gen/gb.c +0 -1
index 06eb3d3..9f59023 100644
@@ -15,7 +15,6 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
-#include <linux/types.h>
 
 /*  ----------------------------------- DSP/BIOS Bridge */
 #include <linux/types.h>
drivers/staging/tidspbridge/gen/gs.c +0 -1
index 9fc6144..8335bf5 100644
@@ -19,7 +19,6 @@
 #include <linux/types.h>
 /*  ----------------------------------- DSP/BIOS Bridge */
 #include <dspbridge/dbdefs.h>
-#include <linux/types.h>
 
 /*  ----------------------------------- This */
 #include <dspbridge/gs.h>
drivers/video/omap/lcd_omap3beagle.c +0 -1
index ca75cc2..ac715f9 100644
@@ -26,7 +26,6 @@
 #include <linux/i2c/twl.h>
 
 #include <plat/mux.h>
-#include <plat/mux.h>
 #include <asm/mach-types.h>
 
 #include "omapfb.h"
include/linux/virtio_9p.h +0 -1
index 1faa80d..e68b439 100644
@@ -5,7 +5,6 @@
 #include <linux/types.h>
 #include <linux/virtio_ids.h>
 #include <linux/virtio_config.h>
-#include <linux/types.h>
 
 /* The feature bitmap for virtio 9P */
 
kernel/trace/trace_kprobe.c +0 -1
index 544301d..87f0a95 100644
@@ -31,7 +31,6 @@
 #include <linux/perf_event.h>
 #include <linux/stringify.h>
 #include <linux/limits.h>
-#include <linux/uaccess.h>
 #include <asm/bitsperlong.h>
 
 #include "trace.h"
net/caif/caif_socket.c +0 -1
index 4bf28f2..4c49c71 100644
@@ -15,7 +15,6 @@
 #include <linux/poll.h>
 #include <linux/tcp.h>
 #include <linux/uaccess.h>
-#include <linux/mutex.h>
 #include <linux/debugfs.h>
 #include <linux/caif/caif_socket.h>
 #include <asm/atomic.h>
net/netfilter/xt_ipvs.c +0 -1
index 7a4d66d..9127a3d 100644
@@ -16,7 +16,6 @@
 #include <linux/ip_vs.h>
 #include <linux/types.h>
 #include <linux/netfilter/x_tables.h>
-#include <linux/netfilter/x_tables.h>
 #include <linux/netfilter/xt_ipvs.h>
 #include <net/netfilter/nf_conntrack.h>
 
sound/soc/nuc900/nuc900-ac97.c +0 -1
index caa7c90..265a950 100644
@@ -20,7 +20,6 @@
 #include <sound/pcm.h>
 #include <sound/initval.h>
 #include <sound/soc.h>
-#include <linux/device.h>
 #include <linux/clk.h>
 
 #include <mach/mfp.h>
#29 lore raw

Re: [PATCH] Removal of duplicate includes from many files

Quoted 13 lines · On Wed, 20 Oct 2010 23:58:26 +0200 "N.P.S."…

W dniu 2010-10-05 01:33, Zimny Lech pisze:

Quoted 11 lines

2010/10/5 Andrew Morton<[email protected]>:

Quoted 4 lines

Removal of duplicated includes is a somewhat dangerous thing. If someone else says "hey, there's a duplicated include" and then fixes it, and if this patch removes the other include then whoops, we broke the build. This has happened before.

Yeah, right.

Quoted 3 lines

So I'd ask that you redo and resend this patch shortly after 2.6.36 is released please, so I can get it into mainline quickly thus minimising the opportunity for such breakage.

Quoted 5 lines

I rebased series against 2.6.36 and I checked if something has not been removed by someone else. Please pull
git pull git://github.com/napohybelskurwysynom2010/Linux-2.6-nps.git rodi1

or apply attached patch

The patch was space-stuffed by your email client and hence did not apply. I fixed it up.

Many of these changes are already in linux-next. I kept the changes which aren't in linux-next and verified that none of those changes were removing duplications which were already removed in linux-next.

#30 lore raw

Re: [PATCH] Removal of duplicate includes from many files

2010/10/21 Andrew Morton <[email protected]>:

Quoted 2 lines

The patch was space-stuffed by your email client and hence did not apply.

Bad thunderbird...

I'll try to fix it

Quoted 6 lines

 I fixed it up.

Many of these changes are already in linux-next.  I kept the changes which aren't in linux-next and verified that none of those changes were removing duplications which were already removed in linux-next.

Ok, thanks!

P.S. Next patches I will try to send through relevant trees

Signature · 7 lines
Slawa!
N.P.S.

Les fleurs du mal unfold
Comme les fleurs du mal
Dark demons of my soul
Un amour fatal
#31 lore raw
In reply to Zimny Lech
Quoted 6 lines · Zimny Lech
Quoted 4 lines
Quoted 1 line

We prefer that signoffs have real names in them, please.

Do "Zimny Lech" sounds real enough? :)

FWIW neither is a real name and I have troubles understanding why a
contributor would want to play tricks like this, but there you go...

There are legal reasons we want to keep accurate records of contributions
to the Linux kernel for -- this is free software and we want to do our best so as to keep its legal status clear. This is explained in greater detail in Documentation/SubmittingPatches.

Please do keep this in mind.

Maciej

#32 lore raw
In reply to Andrew Morton

Hi,

Quoted 27 lines · On Mon, 4 Oct 2010 16:16:00 -0700 Andrew Morton <[email protected]>…
Quoted 6 lines · On Thu, 30 Sep 2010 21:39:26 +0200 "N.P.S."…

Here is a patch that removes duplicate includes introduced in -next and -mmotm

--
Zimny Lech

Quoted 16 lines
  arch/arm/mach-omap2/board-rx51-peripherals.c           |    1 -
  arch/arm/mm/flush.c                                    |    1 -
  arch/xtensa/include/asm/coprocessor.h                  |    1 -
  drivers/mmc/host/ushc.c                                |    1 -
  drivers/staging/ath6kl/os/linux/include/ar6000_drv.h   |    1 -
  drivers/staging/batman-adv/soft-interface.c            |    1 -
  drivers/staging/bcm/headers.h                          |    1 -
  drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c       |    4 ----
  drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h       |    1 -
  drivers/staging/brcm80211/brcmfmac/wl_iw.c             |    4 ----
  drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c     |    1 -
  drivers/staging/rtl8712/drv_types.h                    |    1 -
  drivers/staging/rtl8712/osdep_service.h                |    1 -
  drivers/staging/westbridge/astoria/gadget/cyasgadget.h |    3 ---
  sound/soc/fsl/mpc5200_dma.c                            |    1 -
  15 files changed, 23 deletions(-)
Quoted 8 lines

Removal of duplicated includes is a somewhat dangerous thing. If someone else says "hey, there's a duplicated include" and then fixes it, and if this patch removes the other include then whoops, we broke the build. This has happened before.

So I'd ask that you redo and resend this patch shortly after 2.6.36 is released please, so I can get it into mainline quickly thus minimising the opportunity for such breakage.

Or could it be broken up and sent to the appropriate maintainers?

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/