···3636 * book:3737 * http://oss.software.ibm.com/developerworks/opensource/linux390/index.shtml3838 */3939-struct appldata_mem_data {3939+static struct appldata_mem_data {4040 u64 timestamp;4141 u32 sync_count_1; /* after VM collected the record data, */4242 u32 sync_count_2; /* sync_count_1 and sync_count_2 should be the
+1-1
arch/s390/appldata/appldata_net_sum.c
···3434 * book:3535 * http://oss.software.ibm.com/developerworks/opensource/linux390/index.shtml3636 */3737-struct appldata_net_sum_data {3737+static struct appldata_net_sum_data {3838 u64 timestamp;3939 u32 sync_count_1; /* after VM collected the record data, */4040 u32 sync_count_2; /* sync_count_1 and sync_count_2 should be the
+3-3
arch/s390/crypto/aes_s390.c
···2727/* data block size for all key lengths */2828#define AES_BLOCK_SIZE 1629293030-int has_aes_128 = 0;3131-int has_aes_192 = 0;3232-int has_aes_256 = 0;3030+static int has_aes_128 = 0;3131+static int has_aes_192 = 0;3232+static int has_aes_256 = 0;33333434struct s390_aes_ctx {3535 u8 iv[AES_BLOCK_SIZE];
···1212#include <linux/mm.h>1313#include <asm/uaccess.h>1414#include <asm/futex.h>1515+#include "uaccess.h"15161617static inline int __handle_fault(struct mm_struct *mm, unsigned long address,1718 int write_access)
···168168}169169170170static inline char *171171-dasd_statistics_array(char *str, int *array, int shift)171171+dasd_statistics_array(char *str, unsigned int *array, int shift)172172{173173 int i;174174
+1-1
drivers/s390/char/con3215.c
···11211121 * 3215 tty registration code called from tty_init().11221122 * Most kernel services (incl. kmalloc) are available at this poimt.11231123 */11241124-int __init11241124+static int __init11251125tty3215_init(void)11261126{11271127 struct tty_driver *driver;
+1-2
drivers/s390/char/con3270.c
···6969/*7070 * Setup timeout for a device. On timeout trigger an update.7171 */7272-void7373-con3270_set_timer(struct con3270 *cp, int expires)7272+static void con3270_set_timer(struct con3270 *cp, int expires)7473{7574 if (expires == 0) {7675 if (timer_pending(&cp->timer))
···669669/*670670 * Register driver with SCLP and Linux and initialize internal tty structures.671671 */672672-int __init672672+static int __init673673sclp_vt220_tty_init(void)674674{675675 struct tty_driver *driver;
···3636struct tty_driver *tty3270_driver;3737static int tty3270_max_index;38383939-struct raw3270_fn tty3270_fn;3939+static struct raw3270_fn tty3270_fn;40404141struct tty3270_cell {4242 unsigned char character;···119119/*120120 * Setup timeout for a device. On timeout trigger an update.121121 */122122-void123123-tty3270_set_timer(struct tty3270 *tp, int expires)122122+static void tty3270_set_timer(struct tty3270 *tp, int expires)124123{125124 if (expires == 0) {126125 if (timer_pending(&tp->timer) && del_timer(&tp->timer))···840841 }841842}842843843843-struct raw3270_fn tty3270_fn = {844844+static struct raw3270_fn tty3270_fn = {844845 .activate = tty3270_activate,845846 .deactivate = tty3270_deactivate,846847 .intv = (void *) tty3270_irq,···17531754 .set_termios = tty3270_set_termios17541755};1755175617561756-void17571757-tty3270_notifier(int index, int active)17571757+static void tty3270_notifier(int index, int active)17581758{17591759 if (active)17601760 tty_register_device(tty3270_driver, index, NULL);···17651767 * 3270 tty registration code called from tty_init().17661768 * Most kernel services (incl. kmalloc) are available at this poimt.17671769 */17681768-int __init17691769-tty3270_init(void)17701770+static int __init tty3270_init(void)17701771{17711772 struct tty_driver *driver;17721773 int ret;
+2-3
drivers/s390/char/vmlogrdr.c
···128128 .MessagePending = vmlogrdr_iucv_MessagePending,129129};130130131131-132132-DECLARE_WAIT_QUEUE_HEAD(conn_wait_queue);133133-DECLARE_WAIT_QUEUE_HEAD(read_wait_queue);131131+static DECLARE_WAIT_QUEUE_HEAD(conn_wait_queue);132132+static DECLARE_WAIT_QUEUE_HEAD(read_wait_queue);134133135134/*136135 * pointer to system service private structure
+1-1
drivers/s390/cio/blacklist.c
···126126static inline int127127blacklist_parse_parameters (char *str, range_action action)128128{129129- unsigned int from, to, from_id0, to_id0, from_ssid, to_ssid;129129+ int from, to, from_id0, to_id0, from_ssid, to_ssid;130130131131 while (*str != 0 && *str != '\n') {132132 range_action ra = action;
+3
drivers/s390/cio/chsc.h
···4747extern void s390_process_css( void );4848extern void chsc_validate_chpids(struct subchannel *);4949extern void chpid_is_actually_online(int);5050+extern int css_get_ssd_info(struct subchannel *);5151+extern int chsc_process_crw(void);5252+extern int chp_process_crw(int, int);50535154struct css_general_char {5255 u64 : 41;
+1-4
drivers/s390/cio/css.c
···108108 }109109}110110111111-extern int css_get_ssd_info(struct subchannel *sch);112112-113113-114111int css_sch_device_register(struct subchannel *sch)115112{116113 int ret;···414417 need_reprobe);415418}416419417417-DECLARE_WORK(css_reprobe_work, reprobe_all);420420+static DECLARE_WORK(css_reprobe_work, reprobe_all);418421419422/* Schedule reprobing of all unregistered subchannels. */420423void css_schedule_reprobe(void)
+2
drivers/s390/cio/css.h
···143143extern struct subchannel * get_subchannel_by_schid(struct subchannel_id);144144extern int css_init_done;145145extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *);146146+extern int css_process_crw(int, int);147147+extern void css_reiterate_subchannels(void);146148147149#define __MAX_SUBCHANNEL 65535148150#define __MAX_SSID 3
-1
drivers/s390/cio/device.c
···138138139139static int io_subchannel_probe (struct subchannel *);140140static int io_subchannel_remove (struct subchannel *);141141-void io_subchannel_irq (struct device *);142141static int io_subchannel_notify(struct device *, int);143142static void io_subchannel_verify(struct device *);144143static void io_subchannel_ioterm(struct device *);
···892892/*893893 * Got an interrupt for a basic sense.894894 */895895-void895895+static void896896ccw_device_w4sense(struct ccw_device *cdev, enum dev_event dev_event)897897{898898 struct irb *irb;
+1-2
drivers/s390/cio/qdio.c
···6666/******************** HERE WE GO ***********************************/67676868static const char version[] = "QDIO base support version 2";6969-extern struct bus_type ccw_bus_type;70697170static int qdio_performance_stats = 0;7271static int proc_perf_file_registration;···30133014 return 0;30143015}3015301630163016-int qdio_fill_irq(struct qdio_initialize *init_data)30173017+static int qdio_fill_irq(struct qdio_initialize *init_data)30173018{30183019 int i;30193020 char dbf_text[15];
+2-2
drivers/s390/crypto/zcrypt_api.c
···791791 return rc;792792}793793794794-long zcrypt_compat_ioctl(struct file *filp, unsigned int cmd,794794+static long zcrypt_compat_ioctl(struct file *filp, unsigned int cmd,795795 unsigned long arg)796796{797797 if (cmd == ICARSAMODEXPO)···943943 zcrypt_qdepth_mask(workarea);944944 len += sprinthx("Waiting work element counts",945945 resp_buff+len, workarea, AP_DEVICES);946946- zcrypt_perdev_reqcnt((unsigned int *) workarea);946946+ zcrypt_perdev_reqcnt((int *) workarea);947947 len += sprinthx4("Per-device successfully completed request counts",948948 resp_buff+len,(unsigned int *) workarea, AP_DEVICES);949949 *eof = 1;
+2-1
drivers/s390/crypto/zcrypt_pcixcc.c
···709709 * PCIXCC/CEX2C device to the request distributor710710 * @xcRB: pointer to the send_cprb request buffer711711 */712712-long zcrypt_pcixcc_send_cprb(struct zcrypt_device *zdev, struct ica_xcRB *xcRB)712712+static long zcrypt_pcixcc_send_cprb(struct zcrypt_device *zdev,713713+ struct ica_xcRB *xcRB)713714{714715 struct ap_message ap_msg;715716 struct response_type resp_type = {