mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yves-Alexis Perez <corsac@corsac.net>
To: "Luis R. Rodriguez" <mcgrof@kernel.org>,
	Matt Domsch <Matt_Domsch@dell.com>,
	Fengguang Wu <fengguang.wu@intel.com>,
	Richard Purdie <rpurdie@rpsys.net>,
	Jacek Anaszewski <j.anaszewski@samsung.com>,
	linux-leds@vger.kernel.org,
	Abhay Salunke <Abhay_Salunke@dell.com>,
	David Woodhouse <dwmw2@infradead.org>
Cc: linux-kernel@vger.kernel.org, Ming Lei <ming.lei@canonical.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Johannes Berg <johannes@sipsolutions.net>,
	Jouni Malinen <j@w1.fi>, Kees Cook <keescook@chromium.org>,
	Jiri Kosina <jkosina@suse.cz>, Jiri Slaby <jslaby@suse.com>,
	Tom Gundersen <teg@jklm.no>, Kay Sievers <kay@vrfy.org>,
	Josh Boyer <jwboyer@fedoraproject.org>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Andy Lutomirski <luto@amacapital.net>,
	Harald Hoyer <harald@redhat.com>,
	Seth Forshee <seth.forshee@canonical.com>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Daniel Wagner <wagi@monom.org>,
	stable@vger.kernel.org
Subject: Re: [PATCH] firmware: fix async/manual firmware loading
Date: Thu, 10 Nov 2016 07:57:32 +0100	[thread overview]
Message-ID: <1478761052.31531.1.camel@corsac.net> (raw)
In-Reply-To: <20161109220210.GJ13978@wotan.suse.de>

[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]

On Wed, 2016-11-09 at 23:02 +0100, Luis R. Rodriguez wrote:
> Actually... we also set the timeout to MAX_JIFFY_OFFSET when FW_OPT_UEVENT is
> not set. This happens *only* when the UMH was explicitly requested on the
> async call, when the second argument to request_firmware_nowait() is false.
> There are *only* two callers that do this in the kernel. If this is correct *and*
> the assessment of the cast from long to int here is correct that should mean
> these two callers in the kernel that have always requested the UMH firmware
> *fallback* have *always* had a faulty UMH fallback return value...

Thanks for all your mails. Yes, that was my case here, and I noticed it looked
broken for a long time, I didn't investigate who was using it in the kernel
but I had the feeling it was a bit of an abuse of the infrastructure. I still
reported the bug because the quick fix looked OK but I can understand the will
to actually rethink if and how this part is really needed.

Maybe I need to wait a bit before resubmitting any patch with rephrased commit
log to see where this is going?

Regards,
-- 
Yves-Alexis

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  reply	other threads:[~2016-11-10  6:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-30 14:50 Yves-Alexis Perez
2016-10-30 14:50 ` Yves-Alexis Perez
2016-10-30 17:28   ` Yves-Alexis Perez
2016-11-09 20:36     ` Luis R. Rodriguez
2016-11-09 22:02       ` Luis R. Rodriguez
2016-11-10  6:57         ` Yves-Alexis Perez [this message]
2016-11-09 20:39   ` Luis R. Rodriguez
2016-11-10 15:55     ` Greg Kroah-Hartman
2016-11-10 16:07       ` Luis R. Rodriguez
2016-11-10 18:52         ` Bjorn Andersson
2016-11-10 19:48           ` Luis R. Rodriguez
2016-11-10 21:04             ` Yves-Alexis Perez
2016-11-10 21:22               ` Luis R. Rodriguez
2016-11-10 19:18         ` Greg Kroah-Hartman
2016-11-10 19:49           ` Luis R. Rodriguez

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=1478761052.31531.1.camel@corsac.net \
    --to=corsac@corsac.net \
    --cc=Abhay_Salunke@dell.com \
    --cc=Matt_Domsch@dell.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=fengguang.wu@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=harald@redhat.com \
    --cc=j.anaszewski@samsung.com \
    --cc=j@w1.fi \
    --cc=jkosina@suse.cz \
    --cc=johannes@sipsolutions.net \
    --cc=jslaby@suse.com \
    --cc=jwboyer@fedoraproject.org \
    --cc=kay@vrfy.org \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mcgrof@kernel.org \
    --cc=ming.lei@canonical.com \
    --cc=rpurdie@rpsys.net \
    --cc=seth.forshee@canonical.com \
    --cc=stable@vger.kernel.org \
    --cc=teg@jklm.no \
    --cc=torvalds@linux-foundation.org \
    --cc=wagi@monom.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®