Linux-Modules Archive on
 help / color / Atom feed
From: Yauheni Kaliuta <>
To: Lucas De Marchi <>
Cc: linux-modules <>
Subject: exit from log_printf()
Date: Mon, 27 Apr 2020 15:30:11 +0300
Message-ID: <> (raw)

Hi, Lucas!

I have a question about exit call from tools/log.c:log_printf()

What is the reasoning behind that?

At the first glance it looks a bit incorrect (pretty surprising
to have exit in print()).

Discovered while trying to remove several modules when one of
them cannod be removed:

$ modprobe -r libata pcspkr       
modprobe: FATAL: Module libata is in use.

$ lsmod | grep pcsp
pcspkr                 16384  0

Yauheni Kaliuta

             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 12:30 Yauheni Kaliuta [this message]
2020-04-29  6:44 ` Lucas De Marchi
2020-04-29  8:24   ` Yauheni Kaliuta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-Modules Archive on

Archives are clonable:
	git clone --mirror linux-modules/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-modules linux-modules/ \
	public-inbox-index linux-modules

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone