Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Linaro
qcomlt
kernel
Commits
8b72eb43
Commit
8b72eb43
authored
16 years ago
by
David Woodhouse
Committed by
David Woodhouse
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
p54: treat firmware data as const
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
f160ebcb
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/net/wireless/p54/p54usb.c
+3
-2
3 additions, 2 deletions
drivers/net/wireless/p54/p54usb.c
with
3 additions
and
2 deletions
drivers/net/wireless/p54/p54usb.c
+
3
−
2
View file @
8b72eb43
...
...
@@ -376,7 +376,8 @@ static int p54u_upload_firmware_3887(struct ieee80211_hw *dev)
const
struct
firmware
*
fw_entry
=
NULL
;
int
err
,
alen
;
u8
carry
=
0
;
u8
*
buf
,
*
tmp
,
*
data
;
u8
*
buf
,
*
tmp
;
const
u8
*
data
;
unsigned
int
left
,
remains
,
block_size
;
struct
x2_header
*
hdr
;
unsigned
long
timeout
;
...
...
@@ -523,7 +524,7 @@ static int p54u_upload_firmware_net2280(struct ieee80211_hw *dev)
void
*
buf
;
__le32
reg
;
unsigned
int
remains
,
offset
;
u8
*
data
;
const
u8
*
data
;
buf
=
kmalloc
(
512
,
GFP_KERNEL
);
if
(
!
buf
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment