All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [RFC] adding back i2c_get_clients
Date: Thu, 17 Nov 2005 18:01:00 +0000	[thread overview]
Message-ID: <20051117163446.GA26986@kroah.com> (raw)
In-Reply-To: <20051117003330.21bfff26@inspiron>

On Thu, Nov 17, 2005 at 03:04:15PM +0100, Alessandro Zummo wrote:
>  If you don't give the media drivers a way to send ioctl-like commands
>  to theri chips, they will star exporting tons of function.. I agree
>  that you can't stop the caos in the universe, but that is like
>  throwing an atomic bomb in the middle of the caos...

Good, exporting functions is the proper way to do things like this.
Like Jean showed, a simple set of function pointers is the correct way.
We want type-safe checking and explicit interfaces like this.  Not
wide-open, unchecked, and possibly unsafe interfaces like ioctls.

That's why I, and the other kernel developers are trying to prevent any
future ioctls being added.

thanks,

greg k-h

  parent reply	other threads:[~2005-11-17 18:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17  0:34 [lm-sensors] [RFC] adding back i2c_get_clients Alessandro Zummo
2005-11-17  8:56 ` Greg KH
2005-11-17 11:03 ` Alessandro Zummo
2005-11-17 11:35 ` Jean Delvare
2005-11-17 11:56 ` Alessandro Zummo
2005-11-17 13:03 ` Jean Delvare
2005-11-17 13:20 ` Alessandro Zummo
2005-11-17 14:33 ` Jean Delvare
2005-11-17 15:04 ` Alessandro Zummo
2005-11-17 18:01 ` Greg KH [this message]
2005-11-17 19:23 ` Alessandro Zummo
2005-11-17 19:27 ` Greg KH

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20051117163446.GA26986@kroah.com \
    --to=greg@kroah.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.