public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dan Scally <djrscally@gmail.com>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	devel@driverdev.osuosl.org, robh@kernel.org,
	jorhand@linux.microsoft.com, linux-media@vger.kernel.org,
	kieran.bingham@ideasonboard.com, linux-kernel@vger.kernel.org,
	kitakar@gmail.com, sakari.ailus@linux.intel.com,
	bingbu.cao@intel.com, mchehab@kernel.org, davem@davemloft.net,
	tian.shu.qiu@intel.com, yong.zhi@intel.com
Subject: Re: [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms
Date: Thu, 17 Sep 2020 11:24:01 +0100	[thread overview]
Message-ID: <36d3322a-3128-83b8-bd14-72da34b71e7c@gmail.com> (raw)
In-Reply-To: <20200917101538.GO4282@kadam>

On 17/09/2020 11:15, Dan Carpenter wrote:
> On Thu, Sep 17, 2020 at 10:47:50AM +0100, Dan Scally wrote:
>> Hi Greg - thanks for the comments, appreciate it (sorry there's so many,
>> I'm new to both C and kernel work)
> It's pretty impressive work if you're new to C...
Thanks (and for your other reply too, haven't had time to go through it
in depth yet). I've been using python for a while, but this is my first
attempt at anything serious with C.
>>>> +			return;
>>> No error value?
>> The prototype for sync_state callbacks is to return void, so my
>> understanding is it can't return an error value.  I guess a better thing
>> to do might be call another function performing cleanup and unloading
>> the driver before the return or something along those lines though.
> Yeah.  I suspect you should be using a different callback instead of
> ->sync_state() but I don't know what... :/
Yeah, this is why I wanted to submit it now really; I too suspect I
should really be using a different callback but I couldn't find a better
option.
> regards,
> dan carpenter
>

  reply	other threads:[~2020-09-17 10:25 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16 21:36 [RFC PATCH] Add bridge driver to connect sensors to CIO2 device via software nodes on ACPI platforms Daniel Scally
2020-09-17  7:53 ` Greg KH
2020-09-17  9:47   ` Dan Scally
2020-09-17 10:15     ` Dan Carpenter
2020-09-17 10:24       ` Dan Scally [this message]
2020-09-17 13:28     ` Kieran Bingham
2020-09-17 14:08       ` Andy Shevchenko
2020-09-17 14:19         ` Kieran Bingham
2020-09-17 14:36           ` Andy Shevchenko
2020-09-17  9:34 ` Dan Carpenter
2020-09-17 10:19   ` Joe Perches
2020-09-18 22:50   ` Dan Scally
2020-09-17 10:33 ` Sakari Ailus
2020-09-17 10:49   ` Dan Carpenter
2020-09-17 12:25     ` Andy Shevchenko
2020-09-17 13:15       ` Dan Carpenter
2020-09-18  6:40     ` Sakari Ailus
2020-09-18  8:16       ` Dan Carpenter
2020-09-17 10:52   ` Dan Scally
2020-09-17 12:45     ` Andy Shevchenko
2020-09-17 13:36       ` Dan Scally
2020-09-17 14:14         ` Andy Shevchenko
2020-09-17 21:25           ` Daniel Scally
2020-09-17 14:44         ` Andy Shevchenko
2020-09-18  7:51       ` Sakari Ailus
2020-09-18 13:07         ` Andy Shevchenko
2020-09-21 13:33           ` Dan Scally
2020-09-21 14:33             ` Andy Shevchenko
2020-09-23  9:39   ` Dan Scally
2020-09-28 11:37   ` Dan Scally
2020-09-18  8:03 ` Dan Carpenter
2020-09-18  8:09   ` Dan Scally

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=36d3322a-3128-83b8-bd14-72da34b71e7c@gmail.com \
    --to=djrscally@gmail.com \
    --cc=bingbu.cao@intel.com \
    --cc=dan.carpenter@oracle.com \
    --cc=davem@davemloft.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jorhand@linux.microsoft.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=kitakar@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=tian.shu.qiu@intel.com \
    --cc=yong.zhi@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox