pktgen_reset_all_threads(pn);
 
        else
-               pr_warning("Unknown command: %s\n", data);
+               pr_warn("Unknown command: %s\n", data);
 
        return count;
 }
        pg_result = &(pkt_dev->result[0]);
 
        if (count < 1) {
-               pr_warning("wrong command format\n");
+               pr_warn("wrong command format\n");
                return -EINVAL;
        }
 
        max = count;
        tmp = count_trail_chars(user_buffer, max);
        if (tmp < 0) {
-               pr_warning("illegal format\n");
+               pr_warn("illegal format\n");
                return tmp;
        }
        i = tmp;
        ntxq = pkt_dev->odev->real_num_tx_queues;
 
        if (ntxq <= pkt_dev->queue_map_min) {
-               pr_warning("WARNING: Requested queue_map_min (zero-based) (%d) exceeds valid range [0 - %d] for (%d) queues on %s, resetting\n",
-                          pkt_dev->queue_map_min, (ntxq ?: 1) - 1, ntxq,
-                          pkt_dev->odevname);
+               pr_warn("WARNING: Requested queue_map_min (zero-based) (%d) exceeds valid range [0 - %d] for (%d) queues on %s, resetting\n",
+                       pkt_dev->queue_map_min, (ntxq ?: 1) - 1, ntxq,
+                       pkt_dev->odevname);
                pkt_dev->queue_map_min = (ntxq ?: 1) - 1;
        }
        if (pkt_dev->queue_map_max >= ntxq) {
-               pr_warning("WARNING: Requested queue_map_max (zero-based) (%d) exceeds valid range [0 - %d] for (%d) queues on %s, resetting\n",
-                          pkt_dev->queue_map_max, (ntxq ?: 1) - 1, ntxq,
-                          pkt_dev->odevname);
+               pr_warn("WARNING: Requested queue_map_max (zero-based) (%d) exceeds valid range [0 - %d] for (%d) queues on %s, resetting\n",
+                       pkt_dev->queue_map_max, (ntxq ?: 1) - 1, ntxq,
+                       pkt_dev->odevname);
                pkt_dev->queue_map_max = (ntxq ?: 1) - 1;
        }
 
        int nr_frags = pkt_dev->skb ? skb_shinfo(pkt_dev->skb)->nr_frags : -1;
 
        if (!pkt_dev->running) {
-               pr_warning("interface: %s is already stopped\n",
-                          pkt_dev->odevname);
+               pr_warn("interface: %s is already stopped\n",
+                       pkt_dev->odevname);
                return -EINVAL;
        }
 
        pr_debug("remove_device pkt_dev=%p\n", pkt_dev);
 
        if (pkt_dev->running) {
-               pr_warning("WARNING: trying to remove a running interface, stopping it now\n");
+               pr_warn("WARNING: trying to remove a running interface, stopping it now\n");
                pktgen_stop_device(pkt_dev);
        }