Skip to contentSkip to conversation

Patch "staging: ks7010: declare private functions static" has been added to the 4.8-stable tree

PATCH [email protected] 1 participant 1 message Oct 28, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

staging: ks7010: declare private functions static

to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
staging-ks7010-declare-private-functions-static.patch
and it can be found in the queue-4.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 9afe11e956766eaac4643adaaf49f223dd536c92 Mon Sep 17 00:00:00 2001

From: Nicholas Mc Guire <[email protected]>
Date: Mon, 25 Jul 2016 21:22:27 +0200
Subject: staging: ks7010: declare private functions static

From: Nicholas Mc Guire <[email protected]>

commit 9afe11e956766eaac4643adaaf49f223dd536c92 upstream.

Private functions in ks_hostif.c can be declared static.

Fixes 13a9930d15b4 ("staging: ks7010: add driver from Nanonote extra-repository")
---
 drivers/staging/ks7010/ks_hostif.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/ks7010/ks_hostif.c +2 -2
@@ -69,7 +69,7 @@ inline u32 get_DWORD(struct ks_wlan_priv
 	return data;
 }
 
-void ks_wlan_hw_wakeup_task(struct work_struct *work)
+static void ks_wlan_hw_wakeup_task(struct work_struct *work)
 {
 	struct ks_wlan_private *priv =
 	    container_of(work, struct ks_wlan_private, ks_wlan_wakeup_task);
@@ -1509,7 +1509,7 @@ void hostif_infrastructure_set_request(s
 	ks_wlan_hw_tx(priv, pp, hif_align_size(sizeof(*pp)), NULL, NULL, NULL);
 }
 
-void hostif_infrastructure_set2_request(struct ks_wlan_private *priv)
+static void hostif_infrastructure_set2_request(struct ks_wlan_private *priv)
 {
 	struct hostif_infrastructure_set2_request_t *pp;
 	uint16_t capability;

Patches currently in stable-queue which might be from [email protected] are

queue-4.8/staging-ks7010-fix-wait_for_completion_interruptible_timeout-return-handling.patch queue-4.8/staging-ks7010-declare-private-functions-static.patch