Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752099AbbHDWAS (ORCPT ); Tue, 4 Aug 2015 18:00:18 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:32971 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751341AbbHDWAQ (ORCPT ); Tue, 4 Aug 2015 18:00:16 -0400 From: "Luis R. Rodriguez" To: gregkh@linuxfoundation.org, ming.lei@canonical.com Cc: corbet@lwn.net, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, dwmw2@infradead.org, dhowells@redhat.com, seth.forshee@canonical.com, rusty@rustcorp.com.au, mmarek@suse.cz, mjg59@srcf.ucam.org, kyle@kernel.org, linux-security-module@vger.kernel.org, keyrings@linux-nfs.org, "Luis R. Rodriguez" Subject: [PATCH 0/4] firmware_class: few small code shifts Date: Tue, 4 Aug 2015 15:00:00 -0700 Message-Id: <1438725604-22795-1-git-send-email-mcgrof@do-not-panic.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1386 Lines: 37 From: "Luis R. Rodriguez" Ming, Greg, this patch set consists of a few small code shifts which would make it easier to add extensible firmware API code, and later firmware signing support. This patch set is being sent out separately as it does not contain any controversial changes. It should also help with readibility of the code. I'll be Cc'ing linux-doc, linux-security-module, and keyring folks as the next patch sets would start slowly diving into the topic of firmware signing and extending documentation, and those patches will depend on this set. There is a superfluous else branch on patch #3, its not needed because of the goto statement but we leave that in place to make patch #4 easier to read. David Howells (2): firmware: fold successful fw read early firmware: generalize reading file contents as a helper Luis R. Rodriguez (2): firmware: generalize "firmware" as "system data" helpers firmware: move completing fw into a helper drivers/base/firmware_class.c | 94 ++++++++++++++++++++++++++----------------- 1 file changed, 57 insertions(+), 37 deletions(-) -- 2.3.2.209.gd67f9d5.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/