login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
24
Re: cifs: suggestions for a few more sparse warnings
view
thread
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Steve French
Subject:
Re: cifs: suggestions for a few more sparse warnings
Date: Wednesday, July 23, 2008 - 6:39 pm
On Wed, Jul 23, 2008 at 7:55 PM, Harvey Harrison <harvey.harrison@gmail.com> wrote:
quoted text
> Here's a patch for some of the other warnings, but the cifsacl.c bit > needs a comment I think. > > Harvey > > diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c > index 34902cf..70f0ef5 100644 > --- a/fs/cifs/cifsacl.c > +++ b/fs/cifs/cifsacl.c > @@ -169,8 +169,7 @@ static void copy_sec_desc(const struct cifs_ntsd *pntsd, > for (i = 0; i < 6; i++) > ngroup_sid_ptr->authority[i] = group_sid_ptr->authority[i]; > for (i = 0; i < 5; i++) > - ngroup_sid_ptr->sub_auth[i] = > - cpu_to_le32(group_sid_ptr->sub_auth[i]); > + cpu_to_le32s(&group_sid_ptr->sub_auth[i]); > > return; > }
No - the cifsacl one looks like just a bug - there should not be an endian conversion here. Shirish, Would you verify? -- Thanks, Steve --
unsubscribe notice
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/
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: cifs: suggestions for a few more sparse warnings
, Steve French
, (Wed Jul 23, 6:39 pm)
Re: cifs: suggestions for a few more sparse warnings
, Shirish Pargaonkar
, (Thu Jul 24, 6:43 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Pekka Enberg
Re: BUG in free_block (tainted)
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Joerg Roedel
Re: [patch] dma-debug: off by one issue
Tetsuo Handa
Re: [AppArmor #7 0/13] AppArmor security module
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Henk
Announcement: Git Extensions stable (windows shell extensions)
Junio C Hamano
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Julius Volz
[PATCH] IRDA: Fix genlmsg_put() return value check.
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
virtio_blk: implement naming for vda-vdz,vdaa-vdzz,vdaaa-vdzzz
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
Linux Kernel Mailing List
[POWERPC] Use of_register_driver to implement of_register_platform_driver
openbsd-misc
:
Ryan McBride
Re: Packets Per Second Limit?
Stuart Henderson
Re: SquidGuard problem
Henning Brauer
Re: 3ware hardware raid support?
nixlists
Re: Openssl patch breaks Tor
Nick Guenther
Re: Encrypting home partition
Colocation donated by:
Syndicate