Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351412
b: refs/heads/master
c: 3a3104e
h: refs/heads/master
v: v3
  • Loading branch information
Bruce Allan authored and Jeff Kirsher committed Jan 16, 2013
1 parent 94dc363 commit d2ce25c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1860ac84613877f9ec8a1235e04190e26dd06514
refs/heads/master: 3a3104e7d022ec24862448d167a21de46accf6e8
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/intel/e1000e/nvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
if (nvm_data != NVM_PBA_PTR_GUARD) {
e_dbg("NVM PBA number is not stored as string\n");

/* we will need 11 characters to store the PBA */
if (pba_num_size < 11) {
/* make sure callers buffer is big enough to store the PBA */
if (pba_num_size < E1000_PBANUM_LENGTH) {
e_dbg("PBA string buffer too small\n");
return E1000_ERR_NO_SPACE;
}
Expand Down

0 comments on commit d2ce25c

Please sign in to comment.