mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
[S390] replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
parent
1e42f32785
commit
2a2cf6b186
@ -980,12 +980,12 @@ void dasd_int_handler(struct ccw_device *cdev, unsigned long intparm,
|
||||
break;
|
||||
case -ETIMEDOUT:
|
||||
printk(KERN_WARNING"%s(%s): request timed out\n",
|
||||
__FUNCTION__, cdev->dev.bus_id);
|
||||
__func__, cdev->dev.bus_id);
|
||||
//FIXME - dasd uses own timeout interface...
|
||||
break;
|
||||
default:
|
||||
printk(KERN_WARNING"%s(%s): unknown error %ld\n",
|
||||
__FUNCTION__, cdev->dev.bus_id, PTR_ERR(irb));
|
||||
__func__, cdev->dev.bus_id, PTR_ERR(irb));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -394,7 +394,7 @@ tape_34xx_unit_check(struct tape_device *device, struct tape_request *request,
|
||||
return tape_34xx_erp_failed(request, -ENOSPC);
|
||||
default:
|
||||
PRINT_ERR("Invalid op in %s:%i\n",
|
||||
__FUNCTION__, __LINE__);
|
||||
__func__, __LINE__);
|
||||
return tape_34xx_erp_failed(request, 0);
|
||||
}
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ static int vmwdt_keepalive(void)
|
||||
|
||||
if (ret) {
|
||||
printk(KERN_WARNING "%s: problem setting interval %d, "
|
||||
"cmd %s\n", __FUNCTION__, vmwdt_interval,
|
||||
"cmd %s\n", __func__, vmwdt_interval,
|
||||
vmwdt_cmd);
|
||||
}
|
||||
return ret;
|
||||
@ -107,7 +107,7 @@ static int vmwdt_disable(void)
|
||||
int ret = __diag288(wdt_cancel, 0, "", 0);
|
||||
if (ret) {
|
||||
printk(KERN_WARNING "%s: problem disabling watchdog\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ static int __init init_cpu_info(enum arch_id arch)
|
||||
|
||||
sa = kmalloc(sizeof(*sa), GFP_KERNEL);
|
||||
if (!sa) {
|
||||
ERROR_MSG("kmalloc failed: %s: %i\n",__FUNCTION__, __LINE__);
|
||||
ERROR_MSG("kmalloc failed: %s: %i\n",__func__, __LINE__);
|
||||
return -ENOMEM;
|
||||
}
|
||||
if (memcpy_hsa_kernel(sa, sys_info.sa_base, sys_info.sa_size) < 0) {
|
||||
|
@ -62,7 +62,7 @@ ccw_device_path_notoper(struct ccw_device *cdev)
|
||||
stsch (sch->schid, &sch->schib);
|
||||
|
||||
CIO_MSG_EVENT(0, "%s(0.%x.%04x) - path(s) %02x are "
|
||||
"not operational \n", __FUNCTION__,
|
||||
"not operational \n", __func__,
|
||||
sch->schid.ssid, sch->schid.sch_no,
|
||||
sch->schib.pmcw.pnom);
|
||||
|
||||
|
@ -43,17 +43,17 @@
|
||||
#define DEV_NAME "zcrypt"
|
||||
|
||||
#define PRINTK(fmt, args...) \
|
||||
printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args)
|
||||
printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __func__ , ## args)
|
||||
#define PRINTKN(fmt, args...) \
|
||||
printk(KERN_DEBUG DEV_NAME ": " fmt, ## args)
|
||||
#define PRINTKW(fmt, args...) \
|
||||
printk(KERN_WARNING DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args)
|
||||
printk(KERN_WARNING DEV_NAME ": %s -> " fmt, __func__ , ## args)
|
||||
#define PRINTKC(fmt, args...) \
|
||||
printk(KERN_CRIT DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args)
|
||||
printk(KERN_CRIT DEV_NAME ": %s -> " fmt, __func__ , ## args)
|
||||
|
||||
#ifdef ZCRYPT_DEBUG
|
||||
#define PDEBUG(fmt, args...) \
|
||||
printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __FUNCTION__ , ## args)
|
||||
printk(KERN_DEBUG DEV_NAME ": %s -> " fmt, __func__ , ## args)
|
||||
#else
|
||||
#define PDEBUG(fmt, args...) do {} while (0)
|
||||
#endif
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -670,7 +670,7 @@ static void conn_action_rx(fsm_instance *fi, int event, void *arg)
|
||||
struct netiucv_priv *privptr = netdev_priv(conn->netdev);
|
||||
int rc;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
|
||||
if (!conn->netdev) {
|
||||
iucv_message_reject(conn->path, msg);
|
||||
@ -718,7 +718,7 @@ static void conn_action_txdone(fsm_instance *fi, int event, void *arg)
|
||||
struct ll_header header;
|
||||
int rc;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
|
||||
if (conn && conn->netdev)
|
||||
privptr = netdev_priv(conn->netdev);
|
||||
@ -799,7 +799,7 @@ static void conn_action_connaccept(fsm_instance *fi, int event, void *arg)
|
||||
struct netiucv_priv *privptr = netdev_priv(netdev);
|
||||
int rc;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
conn->path = path;
|
||||
path->msglim = NETIUCV_QUEUELEN_DEFAULT;
|
||||
@ -821,7 +821,7 @@ static void conn_action_connreject(fsm_instance *fi, int event, void *arg)
|
||||
struct iucv_event *ev = arg;
|
||||
struct iucv_path *path = ev->data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
iucv_path_sever(path, NULL);
|
||||
}
|
||||
|
||||
@ -831,7 +831,7 @@ static void conn_action_connack(fsm_instance *fi, int event, void *arg)
|
||||
struct net_device *netdev = conn->netdev;
|
||||
struct netiucv_priv *privptr = netdev_priv(netdev);
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
fsm_deltimer(&conn->timer);
|
||||
fsm_newstate(fi, CONN_STATE_IDLE);
|
||||
netdev->tx_queue_len = conn->path->msglim;
|
||||
@ -842,7 +842,7 @@ static void conn_action_conntimsev(fsm_instance *fi, int event, void *arg)
|
||||
{
|
||||
struct iucv_connection *conn = arg;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
fsm_deltimer(&conn->timer);
|
||||
iucv_path_sever(conn->path, NULL);
|
||||
fsm_newstate(fi, CONN_STATE_STARTWAIT);
|
||||
@ -854,7 +854,7 @@ static void conn_action_connsever(fsm_instance *fi, int event, void *arg)
|
||||
struct net_device *netdev = conn->netdev;
|
||||
struct netiucv_priv *privptr = netdev_priv(netdev);
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
fsm_deltimer(&conn->timer);
|
||||
iucv_path_sever(conn->path, NULL);
|
||||
@ -870,7 +870,7 @@ static void conn_action_start(fsm_instance *fi, int event, void *arg)
|
||||
struct iucv_connection *conn = arg;
|
||||
int rc;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
fsm_newstate(fi, CONN_STATE_STARTWAIT);
|
||||
PRINT_DEBUG("%s('%s'): connecting ...\n",
|
||||
@ -948,7 +948,7 @@ static void conn_action_stop(fsm_instance *fi, int event, void *arg)
|
||||
struct net_device *netdev = conn->netdev;
|
||||
struct netiucv_priv *privptr = netdev_priv(netdev);
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
fsm_deltimer(&conn->timer);
|
||||
fsm_newstate(fi, CONN_STATE_STOPPED);
|
||||
@ -1024,7 +1024,7 @@ static void dev_action_start(fsm_instance *fi, int event, void *arg)
|
||||
struct net_device *dev = arg;
|
||||
struct netiucv_priv *privptr = netdev_priv(dev);
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
fsm_newstate(fi, DEV_STATE_STARTWAIT);
|
||||
fsm_event(privptr->conn->fsm, CONN_EVENT_START, privptr->conn);
|
||||
@ -1044,7 +1044,7 @@ dev_action_stop(fsm_instance *fi, int event, void *arg)
|
||||
struct netiucv_priv *privptr = netdev_priv(dev);
|
||||
struct iucv_event ev;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
ev.conn = privptr->conn;
|
||||
|
||||
@ -1066,7 +1066,7 @@ dev_action_connup(fsm_instance *fi, int event, void *arg)
|
||||
struct net_device *dev = arg;
|
||||
struct netiucv_priv *privptr = netdev_priv(dev);
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
switch (fsm_getstate(fi)) {
|
||||
case DEV_STATE_STARTWAIT:
|
||||
@ -1097,7 +1097,7 @@ dev_action_connup(fsm_instance *fi, int event, void *arg)
|
||||
static void
|
||||
dev_action_conndown(fsm_instance *fi, int event, void *arg)
|
||||
{
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
switch (fsm_getstate(fi)) {
|
||||
case DEV_STATE_RUNNING:
|
||||
@ -1288,7 +1288,7 @@ static int netiucv_tx(struct sk_buff *skb, struct net_device *dev)
|
||||
struct netiucv_priv *privptr = netdev_priv(dev);
|
||||
int rc;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
/**
|
||||
* Some sanity checks ...
|
||||
*/
|
||||
@ -1344,7 +1344,7 @@ static struct net_device_stats *netiucv_stats (struct net_device * dev)
|
||||
{
|
||||
struct netiucv_priv *priv = netdev_priv(dev);
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return &priv->stats;
|
||||
}
|
||||
|
||||
@ -1360,7 +1360,7 @@ static struct net_device_stats *netiucv_stats (struct net_device * dev)
|
||||
*/
|
||||
static int netiucv_change_mtu(struct net_device * dev, int new_mtu)
|
||||
{
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
if (new_mtu < 576 || new_mtu > NETIUCV_MTU_MAX) {
|
||||
IUCV_DBF_TEXT(setup, 2, "given MTU out of valid range\n");
|
||||
return -EINVAL;
|
||||
@ -1378,7 +1378,7 @@ static ssize_t user_show(struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%s\n", netiucv_printname(priv->conn->userid));
|
||||
}
|
||||
|
||||
@ -1393,7 +1393,7 @@ static ssize_t user_write(struct device *dev, struct device_attribute *attr,
|
||||
int i;
|
||||
struct iucv_connection *cp;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
if (count > 9) {
|
||||
PRINT_WARN("netiucv: username too long (%d)!\n", (int) count);
|
||||
IUCV_DBF_TEXT_(setup, 2,
|
||||
@ -1449,7 +1449,7 @@ static ssize_t buffer_show (struct device *dev, struct device_attribute *attr,
|
||||
char *buf)
|
||||
{ struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%d\n", priv->conn->max_buffsize);
|
||||
}
|
||||
|
||||
@ -1461,7 +1461,7 @@ static ssize_t buffer_write (struct device *dev, struct device_attribute *attr,
|
||||
char *e;
|
||||
int bs1;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
if (count >= 39)
|
||||
return -EINVAL;
|
||||
|
||||
@ -1513,7 +1513,7 @@ static ssize_t dev_fsm_show (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%s\n", fsm_getstate_str(priv->fsm));
|
||||
}
|
||||
|
||||
@ -1524,7 +1524,7 @@ static ssize_t conn_fsm_show (struct device *dev,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%s\n", fsm_getstate_str(priv->conn->fsm));
|
||||
}
|
||||
|
||||
@ -1535,7 +1535,7 @@ static ssize_t maxmulti_show (struct device *dev,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%ld\n", priv->conn->prof.maxmulti);
|
||||
}
|
||||
|
||||
@ -1545,7 +1545,7 @@ static ssize_t maxmulti_write (struct device *dev,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
priv->conn->prof.maxmulti = 0;
|
||||
return count;
|
||||
}
|
||||
@ -1557,7 +1557,7 @@ static ssize_t maxcq_show (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%ld\n", priv->conn->prof.maxcqueue);
|
||||
}
|
||||
|
||||
@ -1566,7 +1566,7 @@ static ssize_t maxcq_write (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
priv->conn->prof.maxcqueue = 0;
|
||||
return count;
|
||||
}
|
||||
@ -1578,7 +1578,7 @@ static ssize_t sdoio_show (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%ld\n", priv->conn->prof.doios_single);
|
||||
}
|
||||
|
||||
@ -1587,7 +1587,7 @@ static ssize_t sdoio_write (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
priv->conn->prof.doios_single = 0;
|
||||
return count;
|
||||
}
|
||||
@ -1599,7 +1599,7 @@ static ssize_t mdoio_show (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%ld\n", priv->conn->prof.doios_multi);
|
||||
}
|
||||
|
||||
@ -1608,7 +1608,7 @@ static ssize_t mdoio_write (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
priv->conn->prof.doios_multi = 0;
|
||||
return count;
|
||||
}
|
||||
@ -1620,7 +1620,7 @@ static ssize_t txlen_show (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%ld\n", priv->conn->prof.txlen);
|
||||
}
|
||||
|
||||
@ -1629,7 +1629,7 @@ static ssize_t txlen_write (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
priv->conn->prof.txlen = 0;
|
||||
return count;
|
||||
}
|
||||
@ -1641,7 +1641,7 @@ static ssize_t txtime_show (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%ld\n", priv->conn->prof.tx_time);
|
||||
}
|
||||
|
||||
@ -1650,7 +1650,7 @@ static ssize_t txtime_write (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
priv->conn->prof.tx_time = 0;
|
||||
return count;
|
||||
}
|
||||
@ -1662,7 +1662,7 @@ static ssize_t txpend_show (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%ld\n", priv->conn->prof.tx_pending);
|
||||
}
|
||||
|
||||
@ -1671,7 +1671,7 @@ static ssize_t txpend_write (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
priv->conn->prof.tx_pending = 0;
|
||||
return count;
|
||||
}
|
||||
@ -1683,7 +1683,7 @@ static ssize_t txmpnd_show (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 5, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 5, __func__);
|
||||
return sprintf(buf, "%ld\n", priv->conn->prof.tx_max_pending);
|
||||
}
|
||||
|
||||
@ -1692,7 +1692,7 @@ static ssize_t txmpnd_write (struct device *dev, struct device_attribute *attr,
|
||||
{
|
||||
struct netiucv_priv *priv = dev->driver_data;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 4, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 4, __func__);
|
||||
priv->conn->prof.tx_max_pending = 0;
|
||||
return count;
|
||||
}
|
||||
@ -1732,7 +1732,7 @@ static int netiucv_add_files(struct device *dev)
|
||||
{
|
||||
int ret;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
ret = sysfs_create_group(&dev->kobj, &netiucv_attr_group);
|
||||
if (ret)
|
||||
return ret;
|
||||
@ -1744,7 +1744,7 @@ static int netiucv_add_files(struct device *dev)
|
||||
|
||||
static void netiucv_remove_files(struct device *dev)
|
||||
{
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
sysfs_remove_group(&dev->kobj, &netiucv_stat_attr_group);
|
||||
sysfs_remove_group(&dev->kobj, &netiucv_attr_group);
|
||||
}
|
||||
@ -1756,7 +1756,7 @@ static int netiucv_register_device(struct net_device *ndev)
|
||||
int ret;
|
||||
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
if (dev) {
|
||||
snprintf(dev->bus_id, BUS_ID_SIZE, "net%s", ndev->name);
|
||||
@ -1792,7 +1792,7 @@ out_unreg:
|
||||
|
||||
static void netiucv_unregister_device(struct device *dev)
|
||||
{
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
netiucv_remove_files(dev);
|
||||
device_unregister(dev);
|
||||
}
|
||||
@ -1857,7 +1857,7 @@ out:
|
||||
*/
|
||||
static void netiucv_remove_connection(struct iucv_connection *conn)
|
||||
{
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
write_lock_bh(&iucv_connection_rwlock);
|
||||
list_del_init(&conn->list);
|
||||
write_unlock_bh(&iucv_connection_rwlock);
|
||||
@ -1881,7 +1881,7 @@ static void netiucv_free_netdevice(struct net_device *dev)
|
||||
{
|
||||
struct netiucv_priv *privptr = netdev_priv(dev);
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
if (!dev)
|
||||
return;
|
||||
@ -1963,7 +1963,7 @@ static ssize_t conn_write(struct device_driver *drv,
|
||||
struct netiucv_priv *priv;
|
||||
struct iucv_connection *cp;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
if (count>9) {
|
||||
PRINT_WARN("netiucv: username too long (%d)!\n", (int)count);
|
||||
IUCV_DBF_TEXT(setup, 2, "conn_write: too long\n");
|
||||
@ -2048,7 +2048,7 @@ static ssize_t remove_write (struct device_driver *drv,
|
||||
const char *p;
|
||||
int i;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
|
||||
if (count >= IFNAMSIZ)
|
||||
count = IFNAMSIZ - 1;;
|
||||
@ -2116,7 +2116,7 @@ static void __exit netiucv_exit(void)
|
||||
struct netiucv_priv *priv;
|
||||
struct device *dev;
|
||||
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
while (!list_empty(&iucv_connection_list)) {
|
||||
cp = list_entry(iucv_connection_list.next,
|
||||
struct iucv_connection, list);
|
||||
@ -2146,8 +2146,7 @@ static int __init netiucv_init(void)
|
||||
rc = iucv_register(&netiucv_handler, 1);
|
||||
if (rc)
|
||||
goto out_dbf;
|
||||
IUCV_DBF_TEXT(trace, 3, __FUNCTION__);
|
||||
netiucv_driver.groups = netiucv_drv_attr_groups;
|
||||
IUCV_DBF_TEXT(trace, 3, __func__);
|
||||
rc = driver_register(&netiucv_driver);
|
||||
if (rc) {
|
||||
PRINT_ERR("NETIUCV: failed to register driver.\n");
|
||||
|
@ -59,15 +59,15 @@ repeat:
|
||||
|
||||
printk(KERN_WARNING"%s: Code does not support more "
|
||||
"than two chained crws; please report to "
|
||||
"linux390@de.ibm.com!\n", __FUNCTION__);
|
||||
"linux390@de.ibm.com!\n", __func__);
|
||||
ccode = stcrw(&tmp_crw);
|
||||
printk(KERN_WARNING"%s: crw reports slct=%d, oflw=%d, "
|
||||
"chn=%d, rsc=%X, anc=%d, erc=%X, rsid=%X\n",
|
||||
__FUNCTION__, tmp_crw.slct, tmp_crw.oflw,
|
||||
__func__, tmp_crw.slct, tmp_crw.oflw,
|
||||
tmp_crw.chn, tmp_crw.rsc, tmp_crw.anc,
|
||||
tmp_crw.erc, tmp_crw.rsid);
|
||||
printk(KERN_WARNING"%s: This was crw number %x in the "
|
||||
"chain\n", __FUNCTION__, chain);
|
||||
"chain\n", __func__, chain);
|
||||
if (ccode != 0)
|
||||
break;
|
||||
chain = tmp_crw.chn ? chain + 1 : 0;
|
||||
@ -83,7 +83,7 @@ repeat:
|
||||
crw[chain].rsid);
|
||||
/* Check for overflows. */
|
||||
if (crw[chain].oflw) {
|
||||
pr_debug("%s: crw overflow detected!\n", __FUNCTION__);
|
||||
pr_debug("%s: crw overflow detected!\n", __func__);
|
||||
css_schedule_eval_all();
|
||||
chain = 0;
|
||||
continue;
|
||||
|
@ -539,7 +539,7 @@ struct zfcp_rc_entry {
|
||||
|
||||
/* logging routine for zfcp */
|
||||
#define _ZFCP_LOG(fmt, args...) \
|
||||
printk(KERN_ERR ZFCP_NAME": %s(%d): " fmt, __FUNCTION__, \
|
||||
printk(KERN_ERR ZFCP_NAME": %s(%d): " fmt, __func__, \
|
||||
__LINE__ , ##args)
|
||||
|
||||
#define ZFCP_LOG(level, fmt, args...) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user