[GIT] Various cleanups

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

 



Hi, I've completed the move to common logging code, and moved a few other common functions into a shared "util" file. This is motivated by the bug Arjan reported in the index code a while back (now fixed). depmod.c had a version of filename2modname which did not convert dashes to underscores correctly.

Also included are some smaller cleanups and fixes.

For any interested bystanders, the commits can be browsed at <http://github.com/sourcejedi/module-init-tools/commits/master>.

---
The following changes since commit 644401fec545b4f5009d61b2118b6aa796b2d151:
 Jon Masters (1):
       pre-release: update to release v3.7-pre8

are available in the git repository at:

 git@xxxxxxxxxx:sourcejedi/module-init-tools.git master

Alan Jenkins (9):
     modprobe: Fix out of date comment
     depmod: Replace malloc+sprintf with asprintf
     modprobe: Fix segfault in parse_config_file
     rmmod: -a with no arguments can't do anything reasonable
     Move more logging to common files
     Move a few common functions and macros to "util"
     Enforce use of streq
     depmod: Don't accept "make_map_files yes-please"
     Take advantage of strstarts

Makefile.am      |   14 ++--
config_filter.c  |    9 ++-
depmod.c         |  185 ++++++-----------------------------------------
depmod.h         |    3 -
index.c          |    3 +-
insmod.c         |    3 +-
logging.c        |   22 ++++++
logging.h        |   14 ++++-
modindex.c       |   46 +------------
modinfo.c        |   23 +------
modprobe.c       |  213 ++++++++++--------------------------------------------
moduleops.c      |    1 +
moduleops.h      |    2 +-
moduleops_core.c |    9 +--
rmmod.c          |  111 ++++++-----------------------
util.c           |  136 ++++++++++++++++++++++++++++++++++
util.h           |   16 ++++
17 files changed, 292 insertions(+), 518 deletions(-)
create mode 100644 util.c
create mode 100644 util.h


--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux