search for: 69,7

Displaying 20 results from an estimated 447 matches for "69,7".

Did you mean: 49,7
2012 Sep 08
3
[patch 3/3] xen/privcmd: remove const modifier from declaration
...t modifier and modify the data. I think it was an accident to declare it as const. Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> diff --git a/include/xen/privcmd.h b/include/xen/privcmd.h index a853168..58ed953 100644 --- a/include/xen/privcmd.h +++ b/include/xen/privcmd.h @@ -69,7 +69,7 @@ struct privcmd_mmapbatch_v2 { unsigned int num; /* number of pages to populate */ domid_t dom; /* target domain */ __u64 addr; /* virtual address */ - const xen_pfn_t __user *arr; /* array of mfns */ + xen_pfn_t __user *arr; /* array of mfns */ int __user *err; /* arr...
2012 Sep 08
3
[patch 3/3] xen/privcmd: remove const modifier from declaration
...t modifier and modify the data. I think it was an accident to declare it as const. Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> diff --git a/include/xen/privcmd.h b/include/xen/privcmd.h index a853168..58ed953 100644 --- a/include/xen/privcmd.h +++ b/include/xen/privcmd.h @@ -69,7 +69,7 @@ struct privcmd_mmapbatch_v2 { unsigned int num; /* number of pages to populate */ domid_t dom; /* target domain */ __u64 addr; /* virtual address */ - const xen_pfn_t __user *arr; /* array of mfns */ + xen_pfn_t __user *arr; /* array of mfns */ int __user *err; /* arr...
2004 Jun 17
2
[PATCH] (1/4) delay scheduler enqueue always succeeds.
...rn the status not 0. Same patch should apply to both 2.6 and 2.4 Signed-off-by: Stephen Hemminger <shemminger@osdl.org> diff -Nru a/net/sched/sch_delay.c b/net/sched/sch_delay.c --- a/net/sched/sch_delay.c 2004-06-17 15:13:15 -07:00 +++ b/net/sched/sch_delay.c 2004-06-17 15:13:15 -07:00 @@ -69,7 +69,7 @@ sch->stats.bytes += skb->len; sch->stats.packets++; } - return 0; + return ret; } /* Requeue packets but don''t change time stamp */ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/list...
2014 Sep 23
1
Re: [PATCH 01/13] syntax-check: dirty hack to pass bindtextdomain check
...2014 17:20:27 Hu Tao wrote: > Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> > --- > p2v/gui.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/p2v/gui.c b/p2v/gui.c > index a50307d..2df5017 100644 > --- a/p2v/gui.c > +++ b/p2v/gui.c > @@ -69,7 +69,7 @@ static GtkWidget *run_dlg, > *cancel_button; > > /* The entry point from the main program. > - * Note that gtk_init etc have already been called in main(). > + * Note that gtk_init etc have already been called in main_(). > */ > void > gui_application (st...
2017 Jan 12
3
[PATCH] virtio_mmio: expose header to userspace
...irtio_mmio.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/{ => uapi}/linux/virtio_mmio.h (100%) diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index d47a2fc..7a10aa2 100644 --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -69,7 +69,7 @@ #include <linux/spinlock.h> #include <linux/virtio.h> #include <linux/virtio_config.h> -#include <linux/virtio_mmio.h> +#include <uapi/linux/virtio_mmio.h> #include <linux/virtio_ring.h> diff --git a/include/linux/virtio_mmio.h b/include/uapi/l...
2017 Jan 12
3
[PATCH] virtio_mmio: expose header to userspace
...irtio_mmio.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/{ => uapi}/linux/virtio_mmio.h (100%) diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index d47a2fc..7a10aa2 100644 --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -69,7 +69,7 @@ #include <linux/spinlock.h> #include <linux/virtio.h> #include <linux/virtio_config.h> -#include <linux/virtio_mmio.h> +#include <uapi/linux/virtio_mmio.h> #include <linux/virtio_ring.h> diff --git a/include/linux/virtio_mmio.h b/include/uapi/l...
2019 Aug 18
1
1.3.3: powerpc portability problems
...it -mvsx will cause the compiler to emit code that does not run on earlier generations of POWER machines. -- Christian "naddy" Weisgerber naddy at mips.inka.de -------------- next part -------------- Index: configure.ac --- configure.ac.orig +++ configure.ac @@ -69,7 +69,7 @@ AC_C_INLINE AC_C_VARARRAYS AC_C_TYPEOF -AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h sys/ioctl.h termios.h x86intrin.h cpuid.h]) +AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h sys/ioctl.h termios.h x86intrin.h cpuid.h sys/auxv.h]) XIPH_C_BSWAP32 XIP...
2017 Sep 21
1
Improve ScopedPrinter::printNumber? (was: [llvm] r313816 - [llvm-readobj] Fix 'Teach readobj to dump .res files'.)
...mp;r1=313815&r2=313816&view=diff > ============================================================================== > --- llvm/trunk/tools/llvm-readobj/WindowsResourceDumper.cpp (original) > +++ llvm/trunk/tools/llvm-readobj/WindowsResourceDumper.cpp Wed Sep 20 14:03:37 2017 > @@ -69,7 +69,7 @@ void Dumper::printEntry(const ResourceEn > SW.printNumber("Version (major)", Ref.getMajorVersion()); > SW.printNumber("Version (minor)", Ref.getMinorVersion()); > SW.printNumber("Characteristics", Ref.getCharacteristics()); > - SW.pr...
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...typeof(x) _x = (x); \ + typeof(y) _y = (y); \ + (void) (&_x == &_y); \ + _x > _y ? _x : _y; }) #ifdef DEBUG diff --git a/usr/kinit/name_to_dev.c b/usr/kinit/name_to_dev.c index d491285..d8c1736 100644 --- a/usr/kinit/name_to_dev.c +++ b/usr/kinit/name_to_dev.c @@ -69,7 +69,7 @@ static dev_t try_name(char *name, int part) return res + part; } - fail: +fail: return (dev_t) 0; } @@ -122,8 +122,8 @@ static inline dev_t name_to_dev_t_real(const char *name) return st.st_rdev; if (strncmp(name, "/dev/", 5)) { - if ((cptr = strchr(dev...
2018 Jun 06
2
[PATCH] tests: Provide full path to Unix domain sockets.
...hanged, 4 insertions(+), 2 deletions(-) diff --git a/tests/test-cache.sh b/tests/test-cache.sh index e5e9e82..ac99ce2 100755 --- a/tests/test-cache.sh +++ b/tests/test-cache.sh @@ -32,6 +32,7 @@ # SUCH DAMAGE. set -e +set -x files="cache.img cache.sock cache.pid" rm -f $files @@ -69,7 +70,7 @@ cleanup () trap cleanup INT QUIT TERM EXIT ERR # Open the overlay and perform some operations. -guestfish --format=raw -a 'nbd://?socket=cache.sock' <<'EOF' +guestfish --format=raw -a "nbd://?socket=`pwd`/cache.sock" <<'EOF' run par...
2019 Jun 12
1
[PATCH v12 2/7] virtio-pmem: Add virtio pmem driver
...he request submission function */ > -int virtio_pmem_flush(struct nd_region *nd_region) > +static int virtio_pmem_flush(struct nd_region *nd_region) > { > struct virtio_device *vdev = nd_region->provider_data; > struct virtio_pmem *vpmem = vdev->priv; > @@ -69,7 +69,7 @@ int virtio_pmem_flush(struct nd_region *nd_region) > while ((err = virtqueue_add_sgs(vpmem->req_vq, sgs, 1, 1, req_data, > GFP_ATOMIC)) == -ENOSPC) { > > - dev_err(&vdev->dev, "failed to send comma...
2019 Dec 31
2
[PATCH] drm/nouveau: remove set but unused variable.
...ue found by coccinelle. Signed-off-by: Wambui Karuga <wambui.karugax at gmail.com> --- drivers/gpu/drm/nouveau/dispnv04/arb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv04/arb.c b/drivers/gpu/drm/nouveau/dispnv04/arb.c index 362495535e69..f607a04d262d 100644 --- a/drivers/gpu/drm/nouveau/dispnv04/arb.c +++ b/drivers/gpu/drm/nouveau/dispnv04/arb.c @@ -54,7 +54,7 @@ static void nv04_calc_arb(struct nv_fifo_info *fifo, struct nv_sim_state *arb) { int pagemiss, cas, width, bpp; - int nvclks, mclks, pclks, crtpagemiss; + int nvclks,...
2018 Aug 13
0
[PATCH v2 02/11] x86/paravirt: remove clobbers parameter from paravirt patch functions
...t_call_destination(u8 type) return *((void **)&tmpl + type); } -unsigned paravirt_patch_default(u8 type, u16 clobbers, void *insnbuf, +unsigned paravirt_patch_default(u8 type, void *insnbuf, unsigned long addr, unsigned len) { void *opfunc = get_call_destination(type); @@ -171,10 +169,8 @@ unsigned paravirt_patch_default(u8 type, u16 clobbers, void *insnbuf, /* If operation requires a jmp, then jmp */ ret = paravirt_patch_jmp(insnbuf, opfunc, addr, len); else - /* Otherwise call the function; assume target could - clobber any caller-save reg */ - ret = paravirt_pat...
2018 Jun 08
3
[PATCH net] vhost_net: remove VHOST_NET_F_VIRTIO_NET_HDR support
...ot;) Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 986058a..83eef52 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -69,7 +69,6 @@ MODULE_PARM_DESC(experimental_zcopytx, "Enable Zero Copy TX;" enum { VHOST_NET_FEATURES = VHOST_FEATURES | - (1ULL << VHOST_NET_F_VIRTIO_NET_HDR) | (1ULL << VIRTIO_NET_F_MRG_RXBUF) | (1ULL << VIRTIO_F_IOMMU_PLATFORM) }; @@ -1255,15 +1254,11...
2018 Jun 08
3
[PATCH net] vhost_net: remove VHOST_NET_F_VIRTIO_NET_HDR support
...ot;) Signed-off-by: Jason Wang <jasowang at redhat.com> --- drivers/vhost/net.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 986058a..83eef52 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -69,7 +69,6 @@ MODULE_PARM_DESC(experimental_zcopytx, "Enable Zero Copy TX;" enum { VHOST_NET_FEATURES = VHOST_FEATURES | - (1ULL << VHOST_NET_F_VIRTIO_NET_HDR) | (1ULL << VIRTIO_NET_F_MRG_RXBUF) | (1ULL << VIRTIO_F_IOMMU_PLATFORM) }; @@ -1255,15 +1254,11...
2018 Jan 12
0
[PATCH] drm/nouveau/core/client: use strlcpy() instead of strncpy()
...s/gpu/drm/nouveau/nvif/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvif/client.c b/drivers/gpu/drm/nouveau/nvif/client.c index 12db549..f294d99 100644 --- a/drivers/gpu/drm/nouveau/nvif/client.c +++ b/drivers/gpu/drm/nouveau/nvif/client.c @@ -69,7 +69,7 @@ } nop = {}; int ret; - strncpy(args.name, name, sizeof(args.name)); + strlcpy(args.name, name, sizeof(args.name)); ret = nvif_object_init(parent != client ? &parent->object : NULL, 0, NVIF_CLASS_CLIENT, &args, sizeof(args), &client->object)...
2017 Dec 30
0
building debug version of klibc
...CFLAGS in Makefile, but HOSTCFLAGS is used when building tools running on your build machine. Try something like this (untested, whitespace damaged): diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index f500d535..3e8124f7 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -69,7 +69,7 @@ include $(srctree)/scripts/Kbuild.include KLIBCREQFLAGS := $(call cc-option, -fno-stack-protector, ) \ $(call cc-option, -fwrapv, ) KLIBCARCHREQFLAGS := -KLIBCOPTFLAGS := +KLIBCOPTFLAGS := -g KLIBCWARNFLAGS := -W -Wall -Wno-sign-compare -Wno-unused...
2019 Jan 25
0
[klibc:update-dash] dash: Change mktokens back to creating token.h itself
Commit-ID: 4a3b69c08621b4cb3fa9a7d18d8864e0d33fe074 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4a3b69c08621b4cb3fa9a7d18d8864e0d33fe074 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Fri, 25 Jan 2019 00:18:21 +0000 Committer: Ben Hutchings <ben at decadent.org.uk&g...
2019 Jan 25
0
[klibc:update-dash] builtin: create builtins.c properly on old cpp
...pana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/mkbuiltins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/dash/mkbuiltins b/usr/dash/mkbuiltins index f562ae22..f412a41b 100644 --- a/usr/dash/mkbuiltins +++ b/usr/dash/mkbuiltins @@ -69,7 +69,7 @@ cat <<\! #include "builtins.h" ! -< $builtins sed '/^#/d; /^$/d' > $temp +< $builtins sed '/^#/d; /^ *$/d' > $temp awk '{ printf "int %s(int, char **);\n", $1}' $temp echo ' const struct builtincmd builtincmd[] = {&...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: create builtins.c properly on old cpp
Commit-ID: 9b271c8b259fff6930f58d2ea3346b0bdd5e66c2 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=9b271c8b259fff6930f58d2ea3346b0bdd5e66c2 Author: kabe at sra-tohoku.co.jp <kabe at sra-tohoku.co.jp> AuthorDate: Mon, 22 Dec 2014 14:50:23 +0900 Committer: Ben Hutchings <ben at decadent.org.u...