Re: [PATCH] .gitignore: ignore Module.symvers in all directories

2014-04-17 Thread Zhao, Gang
On Wed, 2014-04-16 at 23:08:26 +0200, Michal Marek wrote: > On Mon, Apr 14, 2014 at 02:56:15PM +0800, Zhao, Gang wrote: >> When using `make M=/path/to/driver modules` to build a module, file >> Module.symvers will be created in that directory, so it's better to >> ignore

Re: [PATCH] .gitignore: ignore Module.symvers in all directories

2014-04-17 Thread Zhao, Gang
On Wed, 2014-04-16 at 23:08:26 +0200, Michal Marek wrote: On Mon, Apr 14, 2014 at 02:56:15PM +0800, Zhao, Gang wrote: When using `make M=/path/to/driver modules` to build a module, file Module.symvers will be created in that directory, so it's better to ignore it in all directories

[PATCH] .gitignore: ignore Module.symvers in all directories

2014-04-14 Thread Zhao, Gang
Signed-off-by: Zhao, Gang --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7e9932e..3aa8145 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,6 @@ *.lst *.symtypes *.order -modules.builtin *.elf *.bin *.gz @@ -33,6 +32,8

[PATCH] .gitignore: ignore Module.symvers in all directories

2014-04-14 Thread Zhao, Gang
kyungsik@lge.com Cc: Markus Trippelsdorf mar...@trippelsdorf.de Signed-off-by: Zhao, Gang gamer...@gmail.com --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7e9932e..3aa8145 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,6

Re: wireless: Kconfig: add missing dependency for airo_cs

2014-03-10 Thread Zhao, Gang
s the (hopefully) last > such missing statement Thanks for the catch. minor issue: commit log should be 'fails to be built'. > > Cc: "Zhao, Gang" > Cc: "John W. Linville" > Signed-off-by: Arnd Bergmann > --- > diff --git a/drivers/net/wireless/Kconfig

Re: wireless: Kconfig: add missing dependency for airo_cs

2014-03-10 Thread Zhao, Gang
such missing statement Thanks for the catch. minor issue: commit log should be 'fails to be built'. Cc: Zhao, Gang gamer...@gmail.com Cc: John W. Linville linvi...@tuxdriver.com Signed-off-by: Arnd Bergmann a...@arndb.de --- diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig

Re: [PATCH] et131x: fix allocation failures

2014-02-20 Thread Zhao, Gang
On Thu, 2014-02-20 at 17:03:39 +0800, Dan Carpenter wrote: > On Thu, Feb 20, 2014 at 11:03:45AM +0800, Zhao, Gang wrote: >> On Wed, 2014-02-19 at 19:43:15 +0800, One Thousand Gnomes wrote: >> > On Wed, 19 Feb 2014 09:14:19 +0800 >> > "Zhao\, Gang" wrote:

Re: [PATCH] et131x: fix allocation failures

2014-02-20 Thread Zhao, Gang
On Thu, 2014-02-20 at 17:03:39 +0800, Dan Carpenter wrote: On Thu, Feb 20, 2014 at 11:03:45AM +0800, Zhao, Gang wrote: On Wed, 2014-02-19 at 19:43:15 +0800, One Thousand Gnomes wrote: On Wed, 19 Feb 2014 09:14:19 +0800 Zhao\, Gang gamer...@gmail.com wrote: Alan, thanks for resending

Re: [PATCH] et131x: fix allocation failures

2014-02-19 Thread Zhao, Gang
On Wed, 2014-02-19 at 19:43:15 +0800, One Thousand Gnomes wrote: > On Wed, 19 Feb 2014 09:14:19 +0800 > "Zhao\, Gang" wrote: > >> Alan, thanks for resending this patch. But it seems you overlooked >> something we discussed earlier. >> >> On Mon, 2014-0

Re: [PATCH] et131x: fix allocation failures

2014-02-19 Thread Zhao, Gang
On Wed, 2014-02-19 at 19:43:15 +0800, One Thousand Gnomes wrote: On Wed, 19 Feb 2014 09:14:19 +0800 Zhao\, Gang gamer...@gmail.com wrote: Alan, thanks for resending this patch. But it seems you overlooked something we discussed earlier. On Mon, 2014-02-17 at 22:13:08 +0800, Alan wrote

Re: [PATCH] et131x: fix allocation failures

2014-02-18 Thread Zhao, Gang
Alan, thanks for resending this patch. But it seems you overlooked something we discussed earlier. On Mon, 2014-02-17 at 22:13:08 +0800, Alan wrote: > We should check the ring allocations don't fail. > If we get a fail we need to clean up properly. The allocator assumes the > deallocator will be

Re: [PATCH] et131x: fix allocation failures

2014-02-18 Thread Zhao, Gang
Alan, thanks for resending this patch. But it seems you overlooked something we discussed earlier. On Mon, 2014-02-17 at 22:13:08 +0800, Alan wrote: We should check the ring allocations don't fail. If we get a fail we need to clean up properly. The allocator assumes the deallocator will be

Re: [PATCH 28/39] staging: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-05 Thread ZHAO Gang
On Thu, Dec 5, 2013 at 11:43 PM, Greg Kroah-Hartman wrote: > On Thu, Dec 05, 2013 at 05:06:33PM +0800, ZHAO Gang wrote: >> On Tue, Dec 3, 2013 at 7:26 AM, Jingoo Han wrote: >> > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro >> > is not preferred. >>

Re: [PATCH 34/39] vme: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-05 Thread ZHAO Gang
On Tue, Dec 3, 2013 at 7:29 AM, Jingoo Han wrote: > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro > is not preferred. > > Signed-off-by: Jingoo Han > --- Greg, this patch should be reverted. It do the opposite things. > drivers/vme/boards/vme_vmivme7805.c |2 +- >

Re: [PATCH 28/39] staging: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-05 Thread ZHAO Gang
On Tue, Dec 3, 2013 at 7:26 AM, Jingoo Han wrote: > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro > is not preferred. > > Signed-off-by: Jingoo Han > I think you misunderstood the checkpatch.pl warning, it tells you what to do, not what not to do. WARNING: Use

Re: [PATCH 28/39] staging: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-05 Thread ZHAO Gang
On Tue, Dec 3, 2013 at 7:26 AM, Jingoo Han jg1@samsung.com wrote: Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han jg1@samsung.com I think you misunderstood the checkpatch.pl warning, it tells you what to do, not what not to do.

Re: [PATCH 34/39] vme: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-05 Thread ZHAO Gang
On Tue, Dec 3, 2013 at 7:29 AM, Jingoo Han jg1@samsung.com wrote: Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han jg1@samsung.com --- Greg, this patch should be reverted. It do the opposite things.

Re: [PATCH 28/39] staging: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-05 Thread ZHAO Gang
On Thu, Dec 5, 2013 at 11:43 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Dec 05, 2013 at 05:06:33PM +0800, ZHAO Gang wrote: On Tue, Dec 3, 2013 at 7:26 AM, Jingoo Han jg1@samsung.com wrote: Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred

Re: [PATCH v3 2/5] staging: et131x: drop packet when error occurs in et131x_tx

2013-11-22 Thread ZHAO Gang
On Fri, Nov 22, 2013 at 7:56 PM, Denis Kirjanov wrote: > If you have no free TX descriptors that means that something went > wrong and it's a BUG. You have to tell the stack to stop sending > packets using netif_stop_queue() and reenable transmissions once tx > descriptors will be available.

Re: [PATCH v3 2/5] staging: et131x: drop packet when error occurs in et131x_tx

2013-11-22 Thread ZHAO Gang
On Fri, Nov 22, 2013 at 5:17 PM, Denis Kirjanov wrote: > On 11/22/13, Mark Einon wrote: >> On Wed, Nov 20, 2013 at 03:55:27PM +0800, ZHAO Gang wrote: >>> As TODO file suggested, drop packet instead of return NETDEV_TX_BUSY >>> when tx failed. >>> >>>

Re: [PATCH v3 2/5] staging: et131x: drop packet when error occurs in et131x_tx

2013-11-22 Thread ZHAO Gang
On Fri, Nov 22, 2013 at 5:17 PM, Denis Kirjanov kirja...@gmail.com wrote: On 11/22/13, Mark Einon mark.ei...@gmail.com wrote: On Wed, Nov 20, 2013 at 03:55:27PM +0800, ZHAO Gang wrote: As TODO file suggested, drop packet instead of return NETDEV_TX_BUSY when tx failed. et131x_tx calls

Re: [PATCH v3 2/5] staging: et131x: drop packet when error occurs in et131x_tx

2013-11-22 Thread ZHAO Gang
On Fri, Nov 22, 2013 at 7:56 PM, Denis Kirjanov kirja...@gmail.com wrote: If you have no free TX descriptors that means that something went wrong and it's a BUG. You have to tell the stack to stop sending packets using netif_stop_queue() and reenable transmissions once tx descriptors will be

[PATCH v3 4/5] staging: et131x: remove spinlock adapter->lock

2013-11-19 Thread ZHAO Gang
adapter->lock is only used in et131x_multicast(), which is eventually called by network stack function __dev_set_rx_mode(). __dev_set_rx_mode() is always called by (net_device *)dev->addr_list_lock hold, to protect from concurrent access. So adapter->lock is redundant. Signed-off-by:

[PATCH v3 3/5] staging: et131x: stop read when hit max delay in et131x_phy_mii_read

2013-11-19 Thread ZHAO Gang
stop read and return error when hit max delay time. Signed-off-by: ZHAO Gang --- drivers/staging/et131x/et131x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index cda037a..6254a6b 100644 --- a/drivers/staging/et131x

[PATCH v3 5/5] staging: et131x: update TODO list

2013-11-19 Thread ZHAO Gang
remove items that have been done Signed-off-by: ZHAO Gang --- drivers/staging/et131x/README | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/et131x/README b/drivers/staging/et131x/README index 8da96a6..00a34ea 100644 --- a/drivers/staging/et131x/README +++ b/drivers

[PATCH v3 2/5] staging: et131x: drop packet when error occurs in et131x_tx

2013-11-19 Thread ZHAO Gang
As TODO file suggested, drop packet instead of return NETDEV_TX_BUSY when tx failed. et131x_tx calls function et131x_send_packets, I put the work of et131x_send_packets directly into et131x_tx, and made some changes to let the code more readable. Signed-off-by: ZHAO Gang --- drivers/staging

[PATCH v3 0/5] staging: et131x: patches for et131x driver

2013-11-19 Thread ZHAO Gang
This patch set should apply to current staging-next tree ZHAO Gang (5): staging: et131x: clean up code staging: et131x: drop packet when error occurs in et131x_tx staging: et131x: stop read when hit max delay in et131x_phy_mii_read staging: et131x: remove spinlock adapter->lock stag

[PATCH v3 1/5] staging: et131x: clean up code

2013-11-19 Thread ZHAO Gang
fbr[id]; Then replace all the instances of "rx_local->fbr[id]" with fbr. 3. delete unnecessary variable in function et131x_init variable u32 numrfd is not necessary in this function. 4. some code style change Signed-off-by: ZHAO Gang --- drivers/staging/et

Re: [PATCH 1/4] staging: et131x: clean up code

2013-11-19 Thread ZHAO Gang
On Wed, Nov 20, 2013 at 1:41 PM, Greg Kroah-Hartman wrote: > In the future, you need to tell me to drop the old ones from my queue. > Normally you can do that by replying to them saying to remove them, or > put a "v2" for "version 2" on this series. > > Anyway, as Mark told you to redo them a

Re: [PATCH 1/4] staging: et131x: clean up code

2013-11-19 Thread ZHAO Gang
> Hi, please revert the previous two patches if you can. I mean drop/ignore previous two patches, just apply this 4 patches to staging-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 1/4] staging: et131x: clean up code

2013-11-19 Thread ZHAO Gang
> I'm a bit confused - these patches apply to the current head of > staging-next, but not on top of your previous two patches. I assume that > you're aiming to have these changes on top of your last two, so can you > please re-spin them to apply cleanly to the head of (staging-next + your >

Re: [PATCH 1/4] staging: et131x: clean up code

2013-11-19 Thread ZHAO Gang
I'm a bit confused - these patches apply to the current head of staging-next, but not on top of your previous two patches. I assume that you're aiming to have these changes on top of your last two, so can you please re-spin them to apply cleanly to the head of (staging-next + your previous

Re: [PATCH 1/4] staging: et131x: clean up code

2013-11-19 Thread ZHAO Gang
Hi, please revert the previous two patches if you can. I mean drop/ignore previous two patches, just apply this 4 patches to staging-next, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/4] staging: et131x: clean up code

2013-11-19 Thread ZHAO Gang
On Wed, Nov 20, 2013 at 1:41 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: In the future, you need to tell me to drop the old ones from my queue. Normally you can do that by replying to them saying to remove them, or put a v2 for version 2 on this series. Anyway, as Mark told you

[PATCH v3 0/5] staging: et131x: patches for et131x driver

2013-11-19 Thread ZHAO Gang
This patch set should apply to current staging-next tree ZHAO Gang (5): staging: et131x: clean up code staging: et131x: drop packet when error occurs in et131x_tx staging: et131x: stop read when hit max delay in et131x_phy_mii_read staging: et131x: remove spinlock adapter-lock staging

[PATCH v3 1/5] staging: et131x: clean up code

2013-11-19 Thread ZHAO Gang
all the instances of rx_local-fbr[id] with fbr. 3. delete unnecessary variable in function et131x_init variable u32 numrfd is not necessary in this function. 4. some code style change Signed-off-by: ZHAO Gang gamer...@gmail.com --- drivers/staging/et131x/et131x.c | 209

[PATCH v3 2/5] staging: et131x: drop packet when error occurs in et131x_tx

2013-11-19 Thread ZHAO Gang
As TODO file suggested, drop packet instead of return NETDEV_TX_BUSY when tx failed. et131x_tx calls function et131x_send_packets, I put the work of et131x_send_packets directly into et131x_tx, and made some changes to let the code more readable. Signed-off-by: ZHAO Gang gamer...@gmail.com

[PATCH v3 5/5] staging: et131x: update TODO list

2013-11-19 Thread ZHAO Gang
remove items that have been done Signed-off-by: ZHAO Gang gamer...@gmail.com --- drivers/staging/et131x/README | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/et131x/README b/drivers/staging/et131x/README index 8da96a6..00a34ea 100644 --- a/drivers/staging/et131x/README

[PATCH v3 3/5] staging: et131x: stop read when hit max delay in et131x_phy_mii_read

2013-11-19 Thread ZHAO Gang
stop read and return error when hit max delay time. Signed-off-by: ZHAO Gang gamer...@gmail.com --- drivers/staging/et131x/et131x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index cda037a..6254a6b 100644 --- a/drivers

[PATCH v3 4/5] staging: et131x: remove spinlock adapter-lock

2013-11-19 Thread ZHAO Gang
adapter-lock is only used in et131x_multicast(), which is eventually called by network stack function __dev_set_rx_mode(). __dev_set_rx_mode() is always called by (net_device *)dev-addr_list_lock hold, to protect from concurrent access. So adapter-lock is redundant. Signed-off-by: ZHAO Gang gamer

[PATCH 4/4] staging: et131x: remove spinlock adapter->lock

2013-11-15 Thread ZHAO Gang
adapter->lock is only used in et131x_multicast(), which is eventually called by network stack function __dev_set_rx_mode(). __dev_set_rx_mode() is always called by (net_device *)dev->addr_list_lock hold, to protect from concurrent access. So adapter->lock is redundant. Signed-off-by:

[PATCH 3/4] staging: et131x: stop read when hit max delay in et131x_phy_mii_read

2013-11-15 Thread ZHAO Gang
stop read and return error when hit max delay time. Signed-off-by: ZHAO Gang --- drivers/staging/et131x/et131x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index cda037a..6254a6b 100644 --- a/drivers/staging/et131x

[PATCH 2/4] staging: et131x: drop packet when error occurs in et131x_tx

2013-11-15 Thread ZHAO Gang
As TODO file suggested, drop packet instead of return NETDEV_TX_BUSY when tx failed. et131x_tx calls function et131x_send_packets, I put the work of et131x_send_packets directly into et131x_tx, and made some changes to let the code more readable. Signed-off-by: ZHAO Gang --- drivers/staging

[PATCH 1/4] staging: et131x: clean up code

2013-11-15 Thread ZHAO Gang
fbr[id]; Then replace all the instances of "rx_local->fbr[id]" with fbr. 3. delete unnecessary variable in function et131x_init variable u32 numrfd is not necessary in this function. 4. some code style change Signed-off-by: ZHAO Gang --- drivers/staging/et

[PATCH 1/4] staging: et131x: clean up code

2013-11-15 Thread ZHAO Gang
all the instances of rx_local-fbr[id] with fbr. 3. delete unnecessary variable in function et131x_init variable u32 numrfd is not necessary in this function. 4. some code style change Signed-off-by: ZHAO Gang gamer...@gmail.com --- drivers/staging/et131x/et131x.c | 209

[PATCH 2/4] staging: et131x: drop packet when error occurs in et131x_tx

2013-11-15 Thread ZHAO Gang
As TODO file suggested, drop packet instead of return NETDEV_TX_BUSY when tx failed. et131x_tx calls function et131x_send_packets, I put the work of et131x_send_packets directly into et131x_tx, and made some changes to let the code more readable. Signed-off-by: ZHAO Gang gamer...@gmail.com

[PATCH 3/4] staging: et131x: stop read when hit max delay in et131x_phy_mii_read

2013-11-15 Thread ZHAO Gang
stop read and return error when hit max delay time. Signed-off-by: ZHAO Gang gamer...@gmail.com --- drivers/staging/et131x/et131x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index cda037a..6254a6b 100644 --- a/drivers

[PATCH 4/4] staging: et131x: remove spinlock adapter-lock

2013-11-15 Thread ZHAO Gang
adapter-lock is only used in et131x_multicast(), which is eventually called by network stack function __dev_set_rx_mode(). __dev_set_rx_mode() is always called by (net_device *)dev-addr_list_lock hold, to protect from concurrent access. So adapter-lock is redundant. Signed-off-by: ZHAO Gang gamer

[PATCH 1/2] staging: et131x: drop packet when error occurs in et131x_tx()

2013-11-02 Thread ZHAO Gang
Drop packet instead of return NETDEV_TX_BUSY when tx failed. Signed-off-by: ZHAO Gang --- move function send_packet's work directly to et131x_tx(), also make some changes to improve readability. drivers/staging/et131x/et131x.c | 84 +++-- 1 file changed, 22

[PATCH 2/2] staging: et131x: improve code readability

2013-11-02 Thread ZHAO Gang
Signed-off-by: ZHAO Gang --- drivers/staging/et131x/et131x.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index ca3332e..8c2a4a5 100644 --- a/drivers/staging/et131x/et131x.c

[PATCH 2/2] staging: et131x: improve code readability

2013-11-02 Thread ZHAO Gang
Signed-off-by: ZHAO Gang gamer...@gmail.com --- drivers/staging/et131x/et131x.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/drivers/staging/et131x/et131x.c b/drivers/staging/et131x/et131x.c index ca3332e..8c2a4a5 100644 --- a/drivers/staging

[PATCH 1/2] staging: et131x: drop packet when error occurs in et131x_tx()

2013-11-02 Thread ZHAO Gang
Drop packet instead of return NETDEV_TX_BUSY when tx failed. Signed-off-by: ZHAO Gang gamer...@gmail.com --- move function send_packet's work directly to et131x_tx(), also make some changes to improve readability. drivers/staging/et131x/et131x.c | 84

[PATCH net-next] net: remove function sk_reset_txq()

2013-10-21 Thread ZHAO Gang
What sk_reset_txq() does is just calls function sk_tx_queue_reset(), and sk_reset_txq() is used only in sock.h, by dst_negative_advice(). Let dst_negative_advice() calls sk_tx_queue_reset() directly so we can remove unneeded sk_reset_txq(). Signed-off-by: ZHAO Gang --- include/net/sock.h | 4

[PATCH net-next] net: remove function sk_reset_txq()

2013-10-21 Thread ZHAO Gang
What sk_reset_txq() does is just calls function sk_tx_queue_reset(), and sk_reset_txq() is used only in sock.h, by dst_negative_advice(). Let dst_negative_advice() calls sk_tx_queue_reset() directly so we can remove unneeded sk_reset_txq(). Signed-off-by: ZHAO Gang gamer...@gmail.com --- include

[PATCH v2] net: remove function sk_reset_txq()

2013-10-19 Thread ZHAO Gang
What sk_reset_txq() does is just calls function sk_tx_queue_reset(), and sk_reset_txq() is used only in sock.h, by dst_negative_advice(). Let dst_negative_advice() calls sk_tx_queue_reset() directly so we can remove unneeded sk_reset_txq(). Signed-off-by: ZHAO Gang change a typo in patch

[PATCH] net: remove function sk_reset_txq()

2013-10-19 Thread ZHAO Gang
What sk_reset_txq() does is just calls function sk_tx_queue_reset(), and sk_reset_txq() is used only in sock.c, by dst_negative_advice(). Let dst_negative_advice() calls sk_tx_queue_reset() directly so we can remove unneeded sk_reset_txq(). Signed-off-by: ZHAO Gang --- include/net/sock.h | 4

[PATCH] net: remove function sk_reset_txq()

2013-10-19 Thread ZHAO Gang
What sk_reset_txq() does is just calls function sk_tx_queue_reset(), and sk_reset_txq() is used only in sock.c, by dst_negative_advice(). Let dst_negative_advice() calls sk_tx_queue_reset() directly so we can remove unneeded sk_reset_txq(). Signed-off-by: ZHAO Gang gamer...@gmail.com --- include

[PATCH v2] net: remove function sk_reset_txq()

2013-10-19 Thread ZHAO Gang
What sk_reset_txq() does is just calls function sk_tx_queue_reset(), and sk_reset_txq() is used only in sock.h, by dst_negative_advice(). Let dst_negative_advice() calls sk_tx_queue_reset() directly so we can remove unneeded sk_reset_txq(). Signed-off-by: ZHAO Gang gamer...@gmail.com change

[PATCH TRIVIAL v2] net: correct typos in comments

2013-10-07 Thread ZHAO Gang
Signed-off-by: ZHAO Gang --- include/linux/netdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 3de49ac..a721a00 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -366,7 +366,7

[PATCH TRIVIAL] net: correct typos in comments

2013-10-07 Thread ZHAO Gang
Signed-off-by: ZHAO Gang --- include/linux/netdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 3de49ac..0dd6de7 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -366,7 +366,7

[PATCH TRIVIAL] net: correct typos in comments

2013-10-07 Thread ZHAO Gang
Signed-off-by: ZHAO Gang gamer...@gmail.com --- include/linux/netdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 3de49ac..0dd6de7 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h

[PATCH TRIVIAL v2] net: correct typos in comments

2013-10-07 Thread ZHAO Gang
Signed-off-by: ZHAO Gang gamer...@gmail.com --- include/linux/netdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 3de49ac..a721a00 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h

[PATCH TRIVIAL] cleanup: add spaces around bitwise operator

2013-10-06 Thread ZHAO Gang
Signed-off-by: ZHAO Gang --- net/core/rtnetlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 2a0e21d..bc04f15 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -2658,7 +2658,7 @@ static int rtnetlink_rcv_msg

[PATCH TRIVIAL] cleanup: add spaces around bitwise operator

2013-10-06 Thread ZHAO Gang
Signed-off-by: ZHAO Gang gamer...@gmail.com --- net/core/rtnetlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 2a0e21d..bc04f15 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -2658,7 +2658,7 @@ static int

[PATCH] [Trivial] remove unnecessary header file inclusion

2013-09-13 Thread ZHAO Gang
file linux/fib_rules.h doesn't exist, so remove it. Signed-off-by: ZHAO Gang --- include/net/fib_rules.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index 4b2b557..c816f91 100644 --- a/include/net/fib_rules.h +++ b/include/net

[PATCH] [Trivial] remove unnecessary header file inclusion

2013-09-13 Thread ZHAO Gang
file linux/fib_rules.h doesn't exist, so remove it. Signed-off-by: ZHAO Gang gamer...@gmail.com --- include/net/fib_rules.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index 4b2b557..c816f91 100644 --- a/include/net/fib_rules.h +++ b

[PATCH] doc: Add "*.svg" to DocBook/.gitignore

2013-09-11 Thread ZHAO Gang
uot;git add ..." to include in what will be committed) # # Documentation/DocBook/media_api/ nothing added to commit but untracked files present (use "git add" to track) Add "*.svg" to DocBook/.gitignore so git will not track directory DocBook/media_api, since there is no

[PATCH] doc: Add *.svg to DocBook/.gitignore

2013-09-11 Thread ZHAO Gang
will be committed) # # Documentation/DocBook/media_api/ nothing added to commit but untracked files present (use git add to track) Add *.svg to DocBook/.gitignore so git will not track directory DocBook/media_api, since there is no file in that directory it interest in. Signed-off-by: ZHAO Gang gamer