1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 16:14:40 +02:00
openwrt-xburst/target/linux/generic/patches-2.6.36
florian 97d0245acb [kernel] fix mtd warnings
Fixes for the following warnings:

drivers/mtd/devices/block2mtd.c: In function '_open_bdev':
drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed declarations and code
drivers/mtd/devices/block2mtd.c: In function 'add_device':
drivers/mtd/devices/block2mtd.c:399:13: warning: assignment discards qualifiers from pointer target type

In the case of 442-block2mtd_probe.patch, it's not until the insertion of a executable statement before the definition that causes a warning, so I've chosen to resolve the issue here by splitting the definition and the initialization into a definition and a statement (and assignment) instead.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:16:58 +00:00
..
001-fix_localversion.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
005-squashfs_revert_to_2.6.35.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
006-squashfs_add_lzma.patch linux/generic: semi-revert squashfs 2.6.36 changes until lzma code gets ready for mainlin inclusion 2010-09-13 07:21:38 +00:00
007-squashfs_make_lzma_available.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
008-jffs2_make_lzma_available.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
009-decompress_unlzo_fix.patch linux/generic: add some missing patches, refresh patches 2010-11-08 18:28:07 +00:00
011-mips_boot.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
012-extra_optimization.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
013-gcc4_inline_fix.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
014-cfi_show_amd_extended_table_version.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
020-mips_multi_machine_support.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
021-mips_image_cmdline_hack.patch linux/generic: refresh 2.6.36 patches 2010-10-21 08:23:11 +00:00
022-mips_use_generic_thread_info_allocator.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
023-mips-fix-kexec.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
025-mips_disable_fpu.patch linux/generic: refresh 2.6.36 patches 2010-10-21 08:23:11 +00:00
027-mips_module_reloc.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
028-module_exports.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
029-arm_module_unresolved_weak_sym.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
030-pci_disable_common_quirks.patch linux/generic: refresh 2.6.36 patches 2010-10-21 08:23:11 +00:00
031-aligned_u64.patch linux/generic: switch to userspace __aligned_u64 calls. 2010-11-16 08:00:07 +00:00
040-arm-update-mach-types.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
060-block2mtd_init.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
065-rootfs_split.patch rootfs_split: Allow using MTDPART_OFS_APPEND macro for offset of rootfs. 2011-04-17 18:32:28 +00:00
066-block2mtd_probe.patch [kernel] fix mtd warnings 2011-05-25 19:16:58 +00:00
070-redboot_space.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
071-redboot_boardconfig.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
080-mtd_plat_nand_chip_fixup.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
081-mtd_myloader_partition_parser.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
082-mtd_info_move_forward_decl.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
083-mtd_fix_nand_correct_data_return_code.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
084-mtd_m25p80_add_pm25lv_flash_support.patch generic: fix erase operation on the pm25lv flash chip 2010-08-31 20:06:38 +00:00
089-mtd-samsung-flash.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
090-mtd-m25p80-add-en25f32-chip-support.patch generic: remove en25pxx support patch, it is in mainline since 2.6.36 2011-01-25 10:24:27 +00:00
100-netfilter_layer7_2.22.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
101-netfilter_layer7_pktmatch.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
102-netfilter_layer7_match.patch [generic] fix layer7 patches for Kernels >= 2.6.35, thanks Daniel Gimpelevich 2010-12-19 16:46:47 +00:00
103-netfilter_layer7_2.6.36_fix.patch update to the latest stable kernels 2010-11-24 18:50:11 +00:00
110-netfilter_match_speedup.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
180-netfilter_depends.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
190-netfilter_rtsp.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
200-sched_esfq.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
201-jhash3.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
202-mips_mem_functions_performance.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
203-slab_maxsize.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
204-jffs2_eofdetect.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
207-powerpc_asm_segment_h.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
208-mips_oprofile_fix.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
209-mini_fo.patch [generic] fix unbalanced mutex_lock/mutex_unlock in mini_fo getxattr op. Thanks Daniel Dickinson for tracking this down 2011-01-05 03:07:56 +00:00
210-mini_fo_2.6.25_fixes.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
211-mini_fo_2.6.25_dentry_open_war.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
212-mini_fo_2.6.26_fixes.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
213-mini_fo_2.6.27_fixes.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
214-mini_fo_2.6.29.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
215-mini_fo_2.6.30.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
216-mini_fo_locking.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
217-mini_fo_2.6.35.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
217-mini_fo_2.6.36_fixes.patch linux/generic: update mini_fo for kernels >=2.6.36 2010-11-11 13:48:48 +00:00
218-mini_fo_dentry_check.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
219-kobject_uevent.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
220-sound_kconfig.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
222-partial_eraseblock_write.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
223-kobject-add-broadcast_uevent.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
240-packet_socket_type.patch [kernel] update to kernel 2.6.36.4 2011-02-19 12:44:07 +00:00
250-pppoe_header_pad.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
270-bridge_no_eap_forward.patch kernel: when bridging, do not forward EAP frames to other ports, only deliver them locally 2011-01-25 00:25:49 +00:00
271-bridge_always_accept_eap.patch kernel: allow EAP frames to pass through bridges even in learning state - fixes issues with WDS 2011-03-10 18:00:41 +00:00
280-solos_dont_null_deref.patch [kernel] add two solos-releated patches from Philip Prindeville 2011-02-20 19:59:25 +00:00
290-sched_act_connmark.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
300-ipv6_accept_ra_when_forwarding.patch [kernel] backport two changes from kernel.org: 2010-11-30 01:52:51 +00:00
301-ipv6_send_rs_when_forwarding.patch [kernel] backport two changes from kernel.org: 2010-11-30 01:52:51 +00:00
310-usb-add-usb_find_device_by_name.patch generic: add usb_find_device_by_name helper 2010-12-17 17:10:08 +00:00
400-ledtrig_morse.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
402-ledtrig_netdev.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
403-ledtrig-usbdev.patch kernel: use tab in front of ledtrig-netdev.o and refresh kernel 2010-12-22 17:18:11 +00:00
410-gpio_buttons.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
411-gpio_ioctl.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
420-gpiodev.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
510-yaffs_support.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
511-yaffs-cvs-2009-04-24.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
511-yaffs-git-2010-10-20.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
512-yaffs_symlink_bug.patch linux/generic: fix "rm: can't remove 'xyz': Directory not empty" symbolic link and directory issues on RouterBoard family devices. 2010-10-30 10:00:34 +00:00
600-phy_extension.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
601-phy-add-aneg-done-function.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
620-phy_adm6996.patch [PATCH v3] (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC 2011-05-09 15:21:58 +00:00
630-phy_packets.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
650-swconfig.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
660-phy_mvswitch.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
670-phy_ip175c.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
680-phy_ar8216.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
690-phy_rtl8306.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
691-phy_rtl8366.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
700-rtc7301.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
750-glamo-headers.patch linux/generic: refresh 2.6.36 patches 2010-10-21 08:23:11 +00:00
801-usb_serial_endpoint_size.patch [kernel] update to kernel 2.6.36.4 2011-02-19 12:44:07 +00:00
822-usb_serial_option_add_more_devices.patch [generic] Clean up patch not applying 2011-05-24 10:00:36 +00:00
840-unable_to_open_console.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
902-darwin_scripts_include.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
903-hostap_txpower.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
903-stddef_include.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
920-01-hotpluggable-spi-gpio.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
920-04-spi-gpio-implement-spi-delay.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
921-gpio_spi_driver.patch linux/generic: refresh 2.6.36 patches 2010-10-21 08:23:11 +00:00
922-gpiommc.patch linux/generic: refresh 2.6.36 patches 2010-10-21 08:23:11 +00:00
923-gpiommc-configfs-locking.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
930-crashlog.patch kernel: crashlog uses bootmem to allocate memory which is being deprecated in favour of memblock. microblaze, sh, arm, sparc and powerpc only have memblock. 2010-10-06 09:40:00 +00:00
940-wireless_mesh_header.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
941-ssb_update.patch ssb: update ssb to version from linux-next-20110311 2011-03-13 17:24:28 +00:00
942-ssb_commit_settings_export.patch kernel: backport some ssb changes to support a mac80211 update 2011-05-16 21:50:20 +00:00
950-powerpc_crtsavres_prereq.patch this is not a platform specific patch 2010-11-02 11:50:56 +00:00
970-ocf_kbuild_integration.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
971-ocf_20100325.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
974-ssb_b43_default_on.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
975-hifn795x-byteswap.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
977-textsearch_kconfig_hacks.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00
978-lib80211_kconfig_hacks.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
979-crypto_add_kconfig_prompts.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
980-vm_exports.patch [kernel] update to kernel 2.6.36.4 2011-02-19 12:44:07 +00:00
981-wireless_ext_kconfig_hack.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
988-ibm_newemac_remove_netif_stop_queue.patch ethernet driver fixup for ppc4xx 2010-12-08 08:59:31 +00:00
989-kirkwood_pcie_reset_fixup.patch add a patch to fixup pcie reset on kirkwood - also fixes the boot issue on the wrt350n v2 2010-11-10 12:26:18 +00:00
990-arm_export_dma_set_coherent_mask.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
991-ppc4xx_optimization.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
997-lzo_decompressor_fix.patch linux/generic: add kernel 2.6.36 preliminary support 2010-08-29 14:35:23 +00:00
998-openwrt_lzma_options.patch kernel: remove imq support, refresh patches 2011-02-21 02:06:51 +00:00
999-use_preinit_as_init.patch linux/generic: refresh 2.6.36 kernel patches 2010-10-05 08:50:54 +00:00