Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40575
b: refs/heads/master
c: 1e1675c
h: refs/heads/master
i:
  40573: fab5d3c
  40571: 2fd9132
  40567: 30084cd
  40559: c798b67
  40543: e08c1ab
  40511: 0b4d25e
  40447: 88bcbb1
v: v3
  • Loading branch information
Jan-Bernd Themann authored and Jeff Garzik committed Nov 1, 2006
1 parent 477012a commit 18aa6bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 1e7bed081968c42469bd02842b4190a115008221
refs/heads/master: 1e1675ccf758cbb4303ab052d58405cda6c745a7
11 changes: 5 additions & 6 deletions trunk/drivers/net/ehea/ehea_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,8 @@ int ehea_sense_port_attr(struct ehea_port *port)
u64 hret;
struct hcp_ehea_port_cb0 *cb0;

cb0 = kzalloc(H_CB_ALIGNMENT, GFP_KERNEL);
if (!cb0) {
cb0 = kzalloc(H_CB_ALIGNMENT, GFP_ATOMIC); /* May be called via */
if (!cb0) { /* ehea_neq_tasklet() */
ehea_error("no mem for cb0");
ret = -ENOMEM;
goto out;
Expand Down Expand Up @@ -765,8 +765,7 @@ static void ehea_parse_eqe(struct ehea_adapter *adapter, u64 eqe)

if (EHEA_BMASK_GET(NEQE_PORT_UP, eqe)) {
if (!netif_carrier_ok(port->netdev)) {
ret = ehea_sense_port_attr(
port);
ret = ehea_sense_port_attr(port);
if (ret) {
ehea_error("failed resensing port "
"attributes");
Expand Down Expand Up @@ -1502,7 +1501,7 @@ static void ehea_promiscuous(struct net_device *dev, int enable)
if ((enable && port->promisc) || (!enable && !port->promisc))
return;

cb7 = kzalloc(H_CB_ALIGNMENT, GFP_KERNEL);
cb7 = kzalloc(H_CB_ALIGNMENT, GFP_ATOMIC);
if (!cb7) {
ehea_error("no mem for cb7");
goto out;
Expand Down Expand Up @@ -1606,7 +1605,7 @@ static void ehea_add_multicast_entry(struct ehea_port* port, u8* mc_mac_addr)
struct ehea_mc_list *ehea_mcl_entry;
u64 hret;

ehea_mcl_entry = kzalloc(sizeof(*ehea_mcl_entry), GFP_KERNEL);
ehea_mcl_entry = kzalloc(sizeof(*ehea_mcl_entry), GFP_ATOMIC);
if (!ehea_mcl_entry) {
ehea_error("no mem for mcl_entry");
return;
Expand Down

0 comments on commit 18aa6bd

Please sign in to comment.