Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6

* 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6:
staging: tidspbridge: fix compilation on dsp clock functions
staging: octeon-ethernet: Add missing #includes.
Staging: zcache: signedness bug in tmem_get()
staging: zcache: fix crash on high memory swap
staging: brcm80211: SPARC build error fix
staging: brcm80211: fix compile error on non-x86 archs since 3.0 kernel

+9 -6
+1
drivers/staging/brcm80211/brcmsmac/otp.c
··· 16 16 17 17 #include <linux/io.h> 18 18 #include <linux/errno.h> 19 + #include <linux/string.h> 19 20 20 21 #include <brcm_hw_ids.h> 21 22 #include <chipcommon.h>
+1
drivers/staging/brcm80211/brcmsmac/types.h
··· 18 18 #define _BRCM_TYPES_H_ 19 19 20 20 #include <linux/types.h> 21 + #include <linux/io.h> 21 22 22 23 /* Bus types */ 23 24 #define SI_BUS 0 /* SOC Interconnect */
+1
drivers/staging/octeon/ethernet-rgmii.c
··· 26 26 **********************************************************************/ 27 27 #include <linux/kernel.h> 28 28 #include <linux/netdevice.h> 29 + #include <linux/interrupt.h> 29 30 #include <linux/phy.h> 30 31 #include <linux/ratelimit.h> 31 32 #include <net/dst.h>
+1
drivers/staging/octeon/ethernet-spi.c
··· 26 26 **********************************************************************/ 27 27 #include <linux/kernel.h> 28 28 #include <linux/netdevice.h> 29 + #include <linux/interrupt.h> 29 30 #include <net/dst.h> 30 31 31 32 #include <asm/octeon/octeon.h>
-1
drivers/staging/tidspbridge/core/dsp-clock.c
··· 209 209 break; 210 210 #ifdef CONFIG_OMAP_MCBSP 211 211 case MCBSP_CLK: 212 - omap_mcbsp_set_io_type(MCBSP_ID(clk_id), OMAP_MCBSP_POLL_IO); 213 212 omap_mcbsp_request(MCBSP_ID(clk_id)); 214 213 omap2_mcbsp_set_clks_src(MCBSP_ID(clk_id), MCBSP_CLKS_PAD_SRC); 215 214 break;
+1 -1
drivers/staging/zcache/tmem.c
··· 604 604 struct tmem_obj *obj; 605 605 void *pampd; 606 606 bool ephemeral = is_ephemeral(pool); 607 - uint32_t ret = -1; 607 + int ret = -1; 608 608 struct tmem_hashbucket *hb; 609 609 bool free = (get_and_free == 1) || ((get_and_free == 0) && ephemeral); 610 610 bool lock_held = false;
+4 -4
drivers/staging/zcache/zcache-main.c
··· 1158 1158 size_t clen; 1159 1159 int ret; 1160 1160 unsigned long count; 1161 - struct page *page = virt_to_page(data); 1161 + struct page *page = (struct page *)(data); 1162 1162 struct zcache_client *cli = pool->client; 1163 1163 uint16_t client_id = get_client_id_from_client(cli); 1164 1164 unsigned long zv_mean_zsize; ··· 1227 1227 int ret = 0; 1228 1228 1229 1229 BUG_ON(is_ephemeral(pool)); 1230 - zv_decompress(virt_to_page(data), pampd); 1230 + zv_decompress((struct page *)(data), pampd); 1231 1231 return ret; 1232 1232 } 1233 1233 ··· 1539 1539 goto out; 1540 1540 if (!zcache_freeze && zcache_do_preload(pool) == 0) { 1541 1541 /* preload does preempt_disable on success */ 1542 - ret = tmem_put(pool, oidp, index, page_address(page), 1542 + ret = tmem_put(pool, oidp, index, (char *)(page), 1543 1543 PAGE_SIZE, 0, is_ephemeral(pool)); 1544 1544 if (ret < 0) { 1545 1545 if (is_ephemeral(pool)) ··· 1572 1572 pool = zcache_get_pool_by_id(cli_id, pool_id); 1573 1573 if (likely(pool != NULL)) { 1574 1574 if (atomic_read(&pool->obj_count) > 0) 1575 - ret = tmem_get(pool, oidp, index, page_address(page), 1575 + ret = tmem_get(pool, oidp, index, (char *)(page), 1576 1576 &size, 0, is_ephemeral(pool)); 1577 1577 zcache_put_pool(pool); 1578 1578 }