Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1565095

[PATCH 1/7] test_firmware: move misc_device down

From "Luis R. Rodriguez" <mcgrof@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 1/7] test_firmware: move misc_device down
Date 2017-01-23 17:20 +0100
Message-ID <t2Pvz-cN-3@gated-at.bofh.it> (permalink)
References <t14Iq-91-9@gated-at.bofh.it> <t2Pvz-cN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This will make further changes easier to review.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
---
 lib/test_firmware.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/test_firmware.c b/lib/test_firmware.c
index a3e8ec3fb1c5..1cb9bf9eb41f 100644
--- a/lib/test_firmware.c
+++ b/lib/test_firmware.c
@@ -42,12 +42,6 @@ static const struct file_operations test_fw_fops = {
 	.read           = test_fw_misc_read,
 };
 
-static struct miscdevice test_fw_misc_device = {
-	.minor          = MISC_DYNAMIC_MINOR,
-	.name           = "test_firmware",
-	.fops           = &test_fw_fops,
-};
-
 static ssize_t trigger_request_store(struct device *dev,
 				     struct device_attribute *attr,
 				     const char *buf, size_t count)
@@ -132,6 +126,12 @@ static ssize_t trigger_async_request_store(struct device *dev,
 }
 static DEVICE_ATTR_WO(trigger_async_request);
 
+static struct miscdevice test_fw_misc_device = {
+	.minor          = MISC_DYNAMIC_MINOR,
+	.name           = "test_firmware",
+	.fops           = &test_fw_fops,
+};
+
 static int __init test_firmware_init(void)
 {
 	int rc;
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCHv2] firmware: Correct handling of fw_state_wait_timeout() return value Jakub Kicinski <jakub.kicinski@netronome.com> - 2017-01-17 16:40 +0100
  Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-17 17:20 +0100
    Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-17 17:30 +0100
      Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value Jakub Kicinski <jakub.kicinski@netronome.com> - 2017-01-17 17:40 +0100
        Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-17 18:40 +0100
          Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value Jakub Kicinski <jakub.kicinski@netronome.com> - 2017-01-17 19:10 +0100
            Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value Jakub Kicinski <jakub.kicinski@netronome.com> - 2017-01-17 22:20 +0100
              RE: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value linux-kernel-dev <linux-kernel-dev@beckhoff.com> - 2017-01-18 07:40 +0100
                Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-18 21:10 +0100
                [PATCH 1/7] test_firmware: move misc_device down "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 17:20 +0100
                [PATCH 4/7] tools: firmware: rename fallback mechanism script "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 17:20 +0100
                [PATCH 7/7] firmware: firmware: fix NULL pointer dereference in __fw_load_abort() "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 17:20 +0100
                Re: [PATCH 7/7] firmware: firmware: fix NULL pointer dereference in  __fw_load_abort() Greg KH <gregkh@linuxfoundation.org> - 2017-01-25 12:00 +0100
                Re: [PATCH 7/7] firmware: firmware: fix NULL pointer dereference in  __fw_load_abort() "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-25 14:40 +0100
                Re: [PATCH 7/7] firmware: firmware: fix NULL pointer dereference in  __fw_load_abort() "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-25 14:50 +0100
                Re: [PATCH 7/7] firmware: firmware: fix NULL pointer dereference in  __fw_load_abort() Greg KH <gregkh@linuxfoundation.org> - 2017-01-25 15:50 +0100
                [PATCH v2] firmware: fix NULL pointer dereference in __fw_load_abort() "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-25 16:30 +0100
                Re: [PATCH v2] firmware: fix NULL pointer dereference in  __fw_load_abort() Greg KH <gregkh@linuxfoundation.org> - 2017-01-25 16:50 +0100
                Re: [PATCH v2] firmware: fix NULL pointer dereference in  __fw_load_abort() "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-25 19:40 +0100
                [PATCH v3] firmware: fix NULL pointer dereference in __fw_load_abort() "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-25 19:40 +0100
                [PATCH 5/7] tools: firmware: add fallback cancelation testing "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 17:20 +0100
                [PATCH 6/7] test_firmware: add test custom fallback trigger "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 17:20 +0100
                [PATCH 2/7] test_firmware: use device attribute groups "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 17:20 +0100
                [PATCH 3/7] tools: firmware: check for distro fallback udev cancel rule "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 17:20 +0100
                [PATCH 0/7] firmware: expand test units for fallback mechanism "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 17:20 +0100
            Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout()  return value "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-17 22:40 +0100

csiph-web