[PATCH 00/10] staging/irda/net: Adjustments for several function implementations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Oct 2017 11:25:43 +0200

Several update suggestions were taken into account
from static source code analysis.

Markus Elfring (10):
  Improve a size determination in 20 functions
  Delete ten error messages for a failed memory allocation
  Adjust 385 checks for null pointers
  Delete an unnecessary variable initialisation in irlap_recv_discovery_xid_cmd()
  Delete an unnecessary variable initialisation in irlap_recv_discovery_xid_rsp()
  Delete an unnecessary variable initialisation in two functions
  Delete an unnecessary variable initialisation in four functions
  Use common error handling code in irias_new_object()
  Combine some seq_printf() calls in two functions
  Use seq_puts() in four functions

 drivers/staging/irda/net/af_irda.c            |  56 +++++----
 drivers/staging/irda/net/discovery.c          |  31 +++--
 drivers/staging/irda/net/ircomm/ircomm_core.c |  10 +-
 drivers/staging/irda/net/ircomm/ircomm_tty.c  |   4 +-
 drivers/staging/irda/net/irda_device.c        |   2 +-
 drivers/staging/irda/net/iriap.c              |  61 +++++-----
 drivers/staging/irda/net/iriap_event.c        |  34 +++---
 drivers/staging/irda/net/irias_object.c       | 116 ++++++++-----------
 drivers/staging/irda/net/irlan/irlan_common.c |   3 +-
 drivers/staging/irda/net/irlap.c              |  84 +++++++-------
 drivers/staging/irda/net/irlap_event.c        |  77 ++++++------
 drivers/staging/irda/net/irlap_frame.c        |  74 ++++++------
 drivers/staging/irda/net/irlmp.c              | 161 ++++++++++++--------------
 drivers/staging/irda/net/irlmp_event.c        |  50 ++++----
 drivers/staging/irda/net/irlmp_frame.c        |  24 ++--
 drivers/staging/irda/net/irnetlink.c          |   2 +-
 drivers/staging/irda/net/irproc.c             |   2 +-
 drivers/staging/irda/net/irqueue.c            |  32 ++---
 drivers/staging/irda/net/irsysctl.c           |   4 +-
 drivers/staging/irda/net/irttp.c              |  75 ++++++------
 drivers/staging/irda/net/parameters.c         |  12 +-
 drivers/staging/irda/net/qos.c                |  20 ++--
 drivers/staging/irda/net/timer.c              |  12 +-
 drivers/staging/irda/net/wrapper.c            |   3 +-
 24 files changed, 450 insertions(+), 499 deletions(-)

-- 
2.14.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux