search for: 222,7

Displaying 20 results from an estimated 210 matches for "222,7".

2020 Feb 14
1
[PATCH] drm/virtio: fix error check
...s/gpu/drm/virtio/virtgpu_vq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c index cfe9c54f87a3..67caecde623e 100644 --- a/drivers/gpu/drm/virtio/virtgpu_vq.c +++ b/drivers/gpu/drm/virtio/virtgpu_vq.c @@ -222,7 +222,7 @@ void virtio_gpu_dequeue_ctrl_func(struct work_struct *work) trace_virtio_gpu_cmd_response(vgdev->ctrlq.vq, resp); if (resp->type != cpu_to_le32(VIRTIO_GPU_RESP_OK_NODATA)) { - if (resp->type >= cpu_to_le32(VIRTIO_GPU_RESP_ERR_UNSPEC)) { + if (le32_to_cpu(resp-&gt...
2012 Jan 09
1
[PATCH] xenstat: Correct copy of network device name
...l. Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com> diff -r 4086e4811547 tools/xenstat/libxenstat/src/xenstat_linux.c --- a/tools/xenstat/libxenstat/src/xenstat_linux.c Thu Jan 05 17:25:23 2012 +0000 +++ b/tools/xenstat/libxenstat/src/xenstat_linux.c Mon Jan 09 12:40:05 2012 +0100 @@ -222,7 +222,7 @@ else /* There were errors when parsing this directly in RE. strpbrk() helps */ if (iface != NULL) - strcpy(iface, strpbrk(tmp, "abcdefghijklmnopqrstvuwxyz0123456789")); + strcpy(iface, strpbrk(tmp, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX...
2011 Jan 10
1
Bug#609517: xen-utils-3.2-1: Pygrub can't find grub.conf in a reiserfs partion on amd64 arch
...ols/libfsimage/reiserfs/fsys_reiserfs.c xen-3-3.2.1-lepton/tools/libfsimage/reiserfs/fsys_reiserfs.c --- xen-3-3.2.1/tools/libfsimage/reiserfs/fsys_reiserfs.c 2008-05-12 19:01:57.000000000 +0800 +++ xen-3-3.2.1-lepton/tools/libfsimage/reiserfs/fsys_reiserfs.c 2011-01-10 16:37:38.000000000 +0800 @@ -222,7 +222,7 @@ struct disk_child { - unsigned long dc_block_number; /* Disk child's block number. */ + unsigned int dc_block_number; /* Disk child's block number. */ unsigned short dc_size; /* Disk child's used space. */...
2013 Nov 08
4
[PATCH 3/4] xen/manage: Guard against user-space initiated poweroff and XenBus.
...ROFF); switch (system_state) { case SYSTEM_BOOTING: orderly_poweroff(true); @@ -201,7 +209,7 @@ static void do_poweroff(void) static void do_reboot(void) { - shutting_down = SHUTDOWN_POWEROFF; /* ? */ + atomic_set(&shutting_down, SHUTDOWN_POWEROFF); /* ? */ ctrl_alt_del(); } @@ -222,7 +230,7 @@ static void shutdown_handler(struct xenbus_watch *watch, }; static struct shutdown_handler *handler; - if (shutting_down != SHUTDOWN_INVALID) + if (atomic_read(&shutting_down) != SHUTDOWN_INVALID) return; again: @@ -256,12 +264,29 @@ static void shutdown_handler(struct...
2014 Apr 14
1
[PATCH 1/3] tools: Unify export.h
...ls/include/linux/hash.h +tools/include/linux/export.h include/linux/const.h include/linux/perf_event.h include/linux/rbtree.h diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index e96923310d57..595fcbeb8262 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -222,7 +222,7 @@ LIB_H += util/include/linux/const.h LIB_H += util/include/linux/ctype.h LIB_H += util/include/linux/kernel.h LIB_H += util/include/linux/list.h -LIB_H += util/include/linux/export.h +LIB_H += ../include/linux/export.h LIB_H += util/include/linux/poison.h LIB_H += util/include/linux...
2014 Apr 14
1
[PATCH 1/3] tools: Unify export.h
...ls/include/linux/hash.h +tools/include/linux/export.h include/linux/const.h include/linux/perf_event.h include/linux/rbtree.h diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index e96923310d57..595fcbeb8262 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -222,7 +222,7 @@ LIB_H += util/include/linux/const.h LIB_H += util/include/linux/ctype.h LIB_H += util/include/linux/kernel.h LIB_H += util/include/linux/list.h -LIB_H += util/include/linux/export.h +LIB_H += ../include/linux/export.h LIB_H += util/include/linux/poison.h LIB_H += util/include/linux...
2016 May 12
0
[PATCH 01/11] v2v: also search for windows virtio drivers in symlinks
...o the other. To take advantages of this, find must use the -L flag. --- v2v/windows_virtio.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml index be50107..7e9f735 100644 --- a/v2v/windows_virtio.ml +++ b/v2v/windows_virtio.ml @@ -222,7 +222,7 @@ and ddb_regedits current_cs drv_name drv_pciid = and copy_drivers g inspect driverdir = let ret = ref false in if is_directory virtio_win then ( - let cmd = sprintf "cd %s && find -type f" (quote virtio_win) in + let cmd = sprintf "cd %s && fi...
2006 May 08
1
create_dev and raid
...being that, even if /dev/md0 is not identical to the way kinit would have created it, it has been assembled by early-userland apps and is probably supposed to be overridden. --- do_mounts_md.c 2006-05-08 01:51:02.000000000 -0500 +++ do_mounts_md.old 2006-05-08 02:07:35.000000000 -0500 @@ -222,7 +222,6 @@ char *devname; mdu_disk_info_t dinfo; char name[16]; + struct stat st; dev_minor = md_setup_args[ent].minor; partitioned = md_setup_args[ent].partitioned; @@ -231,8 +230,6 @@ snprintf...
2004 Apr 11
1
fchmod in do_mkstemp? (patch included)
...-------------- next part -------------- Index: proto.h =================================================================== RCS file: /cvsroot/rsync/proto.h,v retrieving revision 1.185 diff -u -w -r1.185 proto.h --- proto.h 27 Mar 2004 09:44:34 -0000 1.185 +++ proto.h 10 Apr 2004 23:48:36 -0000 @@ -222,7 +222,7 @@ int do_rename(char *fname1, char *fname2); void trim_trailing_slashes(char *name); int do_mkdir(char *fname, mode_t mode); -int do_mkstemp(char *template, mode_t perms); +int do_mkstemp(char *template); int do_stat(const char *fname, STRUCT_STAT *st); int do_lstat(const char *fname...
2019 Jul 30
0
[PATCH 06/13] mm: remove superflous arguments from hmm_range_register
...6 +----- mm/hmm.c | 20 +++++--------------- 5 files changed, 14 insertions(+), 26 deletions(-) diff --git a/Documentation/vm/hmm.rst b/Documentation/vm/hmm.rst index ddcb5ca8b296..e63c11f7e0e0 100644 --- a/Documentation/vm/hmm.rst +++ b/Documentation/vm/hmm.rst @@ -222,7 +222,7 @@ The usage pattern is:: range.flags = ...; range.values = ...; range.pfn_shift = ...; - hmm_range_register(&range); + hmm_range_register(&range, mirror); /* * Just wait for range to be valid, safe to ignore return value as we diff -...
2014 Apr 10
0
[PATCH] tools: Unify export.h
...DEP_LINUX_EXPORT_H_ -#define _LIBLOCKDEP_LINUX_EXPORT_H_ - -#define EXPORT_SYMBOL(sym) -#define EXPORT_SYMBOL_GPL(sym) - -#endif diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 667e85a1f949..791ad6d1994e 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -222,7 +222,7 @@ LIB_H += util/include/linux/const.h LIB_H += util/include/linux/ctype.h LIB_H += util/include/linux/kernel.h LIB_H += util/include/linux/list.h -LIB_H += util/include/linux/export.h +LIB_H += ../include/linux/export.h LIB_H += util/include/linux/poison.h LIB_H += util/include/linux...
2019 Oct 03
1
[PATCH net-next] net, uapi: fix -Wpointer-arith warnings
...t * ebt_get_target(struct ebt_entry *e) { - return (void *)e + e->target_offset; + return (struct ebt_entry_target *)((char *)e + e->target_offset); } /* {g,s}etsockopt numbers */ --- a/include/uapi/linux/netfilter_ipv4/ip_tables.h +++ b/include/uapi/linux/netfilter_ipv4/ip_tables.h @@ -222,7 +222,7 @@ struct ipt_get_entries { static __inline__ struct xt_entry_target * ipt_get_target(struct ipt_entry *e) { - return (void *)e + e->target_offset; + return (struct xt_entry_target *)((char *)e + e->target_offset); } /* --- a/include/uapi/linux/netfilter_ipv6/ip6_tables.h +++...
2014 Apr 12
0
[PATCH] tools: Unify export.h
...ls/include/linux/hash.h +tools/include/linux/export.h include/linux/const.h include/linux/perf_event.h include/linux/rbtree.h diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 667e85a1f949..791ad6d1994e 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -222,7 +222,7 @@ LIB_H += util/include/linux/const.h LIB_H += util/include/linux/ctype.h LIB_H += util/include/linux/kernel.h LIB_H += util/include/linux/list.h -LIB_H += util/include/linux/export.h +LIB_H += ../include/linux/export.h LIB_H += util/include/linux/poison.h LIB_H += util/include/linux...
2013 Nov 25
0
Re: [edk2] [PATCH RFC v2 7/7] OvmfPkg: introduce XenMemMapInitialization
...++++- > OvmfPkg/PlatformPei/PlatformPei.inf | 1 + > 5 files changed, 89 insertions(+), 8 deletions(-) > > diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc > index 760bd41..4b465fe 100644 > --- a/OvmfPkg/OvmfPkgIa32.dsc > +++ b/OvmfPkg/OvmfPkgIa32.dsc > @@ -222,7 +222,7 @@ > !else > DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf > !endif > - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > + PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.in...
2011 Jul 17
2
openSSH 5.8p2 BindPort patch
...ate_socket(int privileged, struct fcntl(sock, F_SETFD, FD_CLOEXEC); /* Bind the socket to an alternative local IP address */ - if (options.bind_address == NULL) + if (options.bind_address == NULL && options.bind_port == NULL) return sock; memset(&hints, 0, sizeof(hints)); @@ -222,7 +222,7 @@ ssh_create_socket(int privileged, struct hints.ai_socktype = ai->ai_socktype; hints.ai_protocol = ai->ai_protocol; hints.ai_flags = AI_PASSIVE; - gaierr = getaddrinfo(options.bind_address, NULL, &hints, &res); + gaierr = getaddrinfo(options.bind_address, options.bind...
2017 May 05
2
Re: [PATCH v2 1/2] appliance: search all types of appliances for each path separately
...el Butsykin <pbutsykin@virtuozzo.com> > --- > lib/appliance.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lib/appliance.c b/lib/appliance.c > index 66f91cb0a..42591e7d7 100644 > --- a/lib/appliance.c > +++ b/lib/appliance.c > @@ -222,7 +222,7 @@ search_appliance (guestfs_h *g, struct appliance_files *appliance) > static int > contains_old_style_appliance (guestfs_h *g, const char *path, void *data) > { > - return dir_contains_files (g, path, kernel_name, initrd_name, NULL); > + return dir_contains_files (g,...
2013 May 15
0
[PATCH 1/2] Update comparison.html
...opcorn Hour, iconBIT, some discontinued Cowon PMPs, some RockBox-devices) + SOME (iconBIT, with RockBox firmware) </td> - <td bgcolor="#BCBCAC"> - ? + <td> + NONE </td> <td bgcolor="#BCBCAC"> Windows, Linux @@ -222,7 +222,7 @@ no </td> <td bgcolor="#D4D4C0"> - YES (Winamp, XMMS foobar2000, DirectShow-based) + YES (Winamp, XMMS foobar2000, DS<sup>2</sup>) </td> <td bgcolor="#BCBCAC"> no @@ -245,7 +245,7 @@ no...
2014 Feb 25
2
[PATCH] tools: Unify export.h
Em Tue, Feb 25, 2014 at 10:52:02PM +1030, Rusty Russell escreveu: > Borislav Petkov <bp at suse.de> writes: > > On Tue, Feb 25, 2014 at 12:09:23PM +1030, Rusty Russell wrote: > >> Should we get more ambitious and start a fake-kernel/ directory where > >> we can put userspace equivs/stubs of kernel functionality? > > > > Dunno - people like to do that
2014 Feb 25
2
[PATCH] tools: Unify export.h
Em Tue, Feb 25, 2014 at 10:52:02PM +1030, Rusty Russell escreveu: > Borislav Petkov <bp at suse.de> writes: > > On Tue, Feb 25, 2014 at 12:09:23PM +1030, Rusty Russell wrote: > >> Should we get more ambitious and start a fake-kernel/ directory where > >> we can put userspace equivs/stubs of kernel functionality? > > > > Dunno - people like to do that
2020 Feb 10
3
[nbdkit PATCH] eval: Allow user override of 'missing'
...f missing */ + if (missing && strcmp (script, missing) == 0 && unlink (script) == -1) { + nbdkit_error ("unlink: %m"); + return NULL; + } + fp = fopen (script, "w"); if (fp == NULL) { nbdkit_error ("fopen: %s: %m", script); @@ -216,7 +222,7 @@ eval_load (void) /* To make things easier, create a "missing" script which always * exits with code 2. If a method is missing we call this script - * instead. It could even be overridden by the user. + * instead. It can even be overridden by the user. */ missing...