Displaying 12 results from an estimated 12 matches for "401,11".
Did you mean:
401,12
2020 Feb 06
0
[PATCH 3/4] drm/nouveau: Remove field nvbo from struct nouveau_framebuffer
...swapping buffers */
NV_INFO(drm, "allocated %dx%d fb: 0x%llx, bo %p\n",
- fb->base.width, fb->base.height, fb->nvbo->bo.offset, nvbo);
+ fb->base.width, fb->base.height, nvbo->bo.offset, nvbo);
vga_switcheroo_client_fb_set(dev->pdev, info);
return 0;
@@ -401,11 +401,11 @@ nouveau_fbcon_create(struct drm_fb_helper *helper,
out_unlock:
if (chan)
nouveau_vma_del(&fbcon->vma);
- nouveau_bo_unmap(fb->nvbo);
+ nouveau_bo_unmap(nvbo);
out_unpin:
- nouveau_bo_unpin(fb->nvbo);
+ nouveau_bo_unpin(nvbo);
out_unref:
- nouveau_bo_ref(NULL, &...
2007 Jun 14
0
Branch 'as' - 7 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c player/Makefile.am
...Author: Benjamin Otte <otte at gnome.org>
Date: Thu Jun 14 10:31:00 2007 +0200
set has_transform and has_color_transform for buttons
diff --git a/libswfdec/swfdec_tag.c b/libswfdec/swfdec_tag.c
index 1291ea0..5d6a336 100644
--- a/libswfdec/swfdec_tag.c
+++ b/libswfdec/swfdec_tag.c
@@ -401,11 +401,13 @@ tag_func_define_button_2 (SwfdecSwfDecod
content = swfdec_content_new (depth);
swfdec_bits_get_matrix (bits, &content->transform, NULL);
+ content->has_transform = TRUE;
SWFDEC_LOG ("matrix: %g %g %g %g %g %g",
content->transform.xx, con...
2007 Apr 16
0
[PATCH] fix up sles9 spec file
...uot;${EXTRA_MODLIB}"/*.ko
+if [ -e "${EXTRA_MODLIB}/configfs.ko" ]; then
+ mkdir -p "${INST_MODLIB}/fs/configfs"
+ mv "${EXTRA_MODLIB}"/configfs.ko "${INST_MODLIB}/fs/configfs/"
+fi
+rm -f "${EXTRA_MODLIB}"/*.ko
make clean
%endif
@@ -393,9 +401,11 @@ mv "${EXTRA_MODLIB}"/ocfs2_nodemanager.k
mkdir -p "${INST_MODLIB}/fs/ocfs2/dlm"
mv "${EXTRA_MODLIB}"/ocfs2_dlm.ko "${INST_MODLIB}/fs/ocfs2/dlm/"
mv "${EXTRA_MODLIB}"/ocfs2_dlmfs.ko "${INST_MODLIB}/fs/ocfs2/dlm/"
- -mkdir -p "...
2019 Aug 13
0
[PATCH libnbd 3/4] lib: Add FREE_CALLBACK macro.
...gt;cb.fn.chunk.free)
- cmd->cb.fn.chunk.free (cmd->cb.fn.chunk.user_data);
- cmd->cb.fn.chunk.callback = NULL; /* because we've freed it */
- }
+ if (flags & NBD_REPLY_FLAG_DONE)
+ FREE_CALLBACK (cmd->cb.fn.chunk);
}
}
@@ -401,11 +398,8 @@
LIBNBD_READ_DATA, &error) == -1)
if (cmd->error == 0)
cmd->error = error ? error : EPROTO;
- if (flags & NBD_REPLY_FLAG_DONE) {
- if (cmd->cb.fn.chunk.free)
- cmd->cb.fn.chunk.free (cmd-&...
2012 May 22
0
[klibc:master] ipconfig: Write $DOMAINSEARCH as domain-search
...t; 0) {
+ char *ret;
+ uint8_t ext119_tmp[BOOTP_EXTS_SIZE];
+
+ ret = bootp_ext119_decode(ext119_buf, ext119_len, ext119_tmp);
+ if (ret != NULL) {
+ if (dev->domainsearch != NULL)
+ free(dev->domainsearch);
+ dev->domainsearch = ret;
+ }
+ }
/*
* Got packet.
@@ -165,11 +401,11 @@ int bootp_parse(struct netdev *dev, struct bootp_hdr *hdr,
int bootp_recv_reply(struct netdev *dev)
{
struct bootp_hdr bootp;
- uint8_t bootp_options[312];
+ uint8_t bootp_options[BOOTP_EXTS_SIZE];
struct iovec iov[] = {
/* [0] = ip + udp headers */
[1] = {&bootp, sizeof(struc...
2006 Jan 09
0
[PATCH 01/11] ocfs2: event-driven quorum
...ayed_work(o2net_wq, &nn->nn_still_up,
- msecs_to_jiffies(O2NET_QUORUM_DELAY_MS));
+ u8 node_num = o2net_num_from_nn(nn);
+ struct o2nm_node *node = o2nm_get_node_by_num(node_num);
+ o2hb_notify(O2HB_CONN_DOWN_CB, node, node_num);
}
if (was_valid && !valid) {
@@ -402,7 +401,11 @@ static void o2net_set_nn_state(struct o2
}
if (!was_valid && valid) {
- o2quo_conn_up(o2net_num_from_nn(nn));
+ u8 node_num = o2net_num_from_nn(nn);
+ struct o2nm_node *node = o2nm_get_node_by_num(node_num);
+
+ o2hb_notify(O2HB_CONN_UP_CB, node, node_num);
+
/* this is a...
2020 Feb 06
5
[PATCH 0/4] drm/nouveau: Remove struct nouveau_framebuffer
All fields in struct nouveau_framebuffer appear to be obsolete. The
data structure can be replaced by struct drm_framebuffer entirely.
Patch 1 removes several unused fields from struct nouveau_framebuffer.
Patch 2 moves the field vma to struct nouveau_fbdev. The information
in vma is only relevant for fbdev emulation, and as such he field is
only used there.
Patch 3 removes nvbo from struct
2013 Jan 02
0
[PATCH] virtio: use chained scatterlists
...void virtscsi_map_cmd(struct virtio_scsi_target_state *tgt,
if (sc && sc->sc_data_direction != DMA_FROM_DEVICE)
virtscsi_map_sgl(sg, &idx, scsi_out(sc));
- *out_num = idx;
+ *out = idx;
/* Response header. */
sg_set_buf(&sg[idx++], &cmd->resp, resp_size);
@@ -401,7 +401,11 @@ static void virtscsi_map_cmd(struct virtio_scsi_target_state *tgt,
if (sc && sc->sc_data_direction != DMA_TO_DEVICE)
virtscsi_map_sgl(sg, &idx, scsi_in(sc));
- *in_num = idx - *out_num;
+ *in = idx - *out;
+
+ sg_unset_end_markers(sg, *out + *in);
+ sg_mark_end(&a...
2013 Jan 02
0
[PATCH] virtio: use chained scatterlists
...void virtscsi_map_cmd(struct virtio_scsi_target_state *tgt,
if (sc && sc->sc_data_direction != DMA_FROM_DEVICE)
virtscsi_map_sgl(sg, &idx, scsi_out(sc));
- *out_num = idx;
+ *out = idx;
/* Response header. */
sg_set_buf(&sg[idx++], &cmd->resp, resp_size);
@@ -401,7 +401,11 @@ static void virtscsi_map_cmd(struct virtio_scsi_target_state *tgt,
if (sc && sc->sc_data_direction != DMA_TO_DEVICE)
virtscsi_map_sgl(sg, &idx, scsi_in(sc));
- *in_num = idx - *out_num;
+ *in = idx - *out;
+
+ sg_unset_end_markers(sg, *out + *in);
+ sg_mark_end(&a...
2019 Aug 13
8
[PATCH libnbd 0/4] Add free function to callbacks.
Patches 1 & 2 are rather complex, but the end result is that we pass
closures + user_data + free function in single struct parameters as I
described previously in this email:
https://www.redhat.com/archives/libguestfs/2019-August/msg00210.html
Patch 3 adds a convenient FREE_CALLBACK macro which seems a worthwhile
simplification if you buy into 1 & 2.
Patch 4 adds another macro which is
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...ase LPGETIRQ:
if (copy_to_user(argp, &LP_IRQ(minor),
sizeof(int)))
return -EFAULT;
break;
diff --git a/drivers/char/mwave/mwavedd.c b/drivers/char/mwave/mwavedd.c
index e43c876a9223..11272d605ecd 100644
--- a/drivers/char/mwave/mwavedd.c
+++ b/drivers/char/mwave/mwavedd.c
@@ -401,11 +401,10 @@ static long mwave_ioctl(struct file *file, unsigned int iocmd,
}
break;
default:
return -ENOTTY;
- break;
} /* switch */
PRINTK_2(TRACE_MWAVE, "mwavedd::mwave_ioctl, exit retval %x\n", retval);
return retval;
diff --git a/drivers/crypto/atmel-sha...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...ase LPGETIRQ:
if (copy_to_user(argp, &LP_IRQ(minor),
sizeof(int)))
return -EFAULT;
break;
diff --git a/drivers/char/mwave/mwavedd.c b/drivers/char/mwave/mwavedd.c
index e43c876a9223..11272d605ecd 100644
--- a/drivers/char/mwave/mwavedd.c
+++ b/drivers/char/mwave/mwavedd.c
@@ -401,11 +401,10 @@ static long mwave_ioctl(struct file *file, unsigned int iocmd,
}
break;
default:
return -ENOTTY;
- break;
} /* switch */
PRINTK_2(TRACE_MWAVE, "mwavedd::mwave_ioctl, exit retval %x\n", retval);
return retval;
diff --git a/drivers/crypto/atmel-sha...