Displaying 20 results from an estimated 400 matches similar to: "[PATCH 5/5] virtio_console: Constify some static variables"
2020 Jul 02
0
[PATCH 0/5] drivers/char: Constify static variables
On Wed, Jul 1, 2020 at 11:48 PM Rikard Falkeborn
<rikard.falkeborn at gmail.com> wrote:
>
> Constify some static variables (mostly structs) that are not modified.
>
> Rikard Falkeborn (5):
> hwrng: bcm2835 - Constify bcm2835_rng_devtype[]
> hwrng: nomadik - Constify nmk_rng_ids[]
> hwrng: virtio - Constify id_table[]
> ipmi: watchdog: Constify ident
>
2020 Jul 09
0
[PATCH] crypto: virtio - constify features and id_table
On Wed, Jul 01, 2020 at 10:29:36PM +0200, Rikard Falkeborn wrote:
> features[] and id_table[] are not modified and can be made const to
> allow the compiler to put them in read-only memory.
>
> Before:
> text data bss dec hex filename
> 11534 2056 160 13750 35b6 drivers/crypto/virtio/virtio_crypto_core.o
>
> After:
> text data
2020 Sep 14
0
[PATCH 3/3] virtio-mem: Constify mem_id_table
On 11.09.20 22:35, Rikard Falkeborn wrote:
> mem_id_table is not modified, so make it const to allow the compiler to
> put it in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn at gmail.com>
> ---
> drivers/virtio/virtio_mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/virtio/virtio_mem.c
2020 Sep 14
0
[PATCH 1/3] virtio-balloon: Constify id_table
On 11.09.20 22:35, Rikard Falkeborn wrote:
> id_table is not modified, so make it const to allow the compiler to put
> it in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn at gmail.com>
> ---
> drivers/virtio/virtio_balloon.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/virtio/virtio_balloon.c
2020 Sep 14
0
[PATCH 2/3] virtio_input: Constify id_table
On 11.09.20 22:35, Rikard Falkeborn wrote:
> id_table is not modified, so make it const to allow the compiler to put
> it in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn at gmail.com>
> ---
> drivers/virtio/virtio_input.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/virtio/virtio_input.c
2020 Jul 09
0
[PATCH 0/5] drivers/char: Constify static variables
On Wed, Jul 01, 2020 at 10:09:45PM +0200, Rikard Falkeborn wrote:
> Constify some static variables (mostly structs) that are not modified.
>
> Rikard Falkeborn (5):
> hwrng: bcm2835 - Constify bcm2835_rng_devtype[]
> hwrng: nomadik - Constify nmk_rng_ids[]
> hwrng: virtio - Constify id_table[]
> ipmi: watchdog: Constify ident
> virtio_console: Constify some
2002 Jul 03
2
mount windows xp share
Hello,
I've searched endlessly a solution to my problem without any luck. I'm
trying to mount a Windows XP share to a Debian box like this.
mount -t //smbuser@192.168.0.2/test /mnt/test
and it just gives me:
mount: wrong fs type, bad option, bad superblock on //192.168.0.2/test, or
too many mounted file systems
it however works fine to
smbclient //192.168.0.2/test -U smbuser
any
2004 Dec 21
3
FTP server not on port 21 problems - I do have read the FAQ
Hi!
I use standard Bering 2.2.2. I am trying to get my FTP-server to work
with another portnumber than 21 (On port 21 all works great, but I´m
really interested in running two FTP-servers, so I want to figure this one
out first).
Read the FAQ: http://www.shorewall.net/FTP.html and now I got this setup:
In Rules: DNAT net loc:192.168.3.2 tcp 99
In Shorewalls modules.conf (tried
2005 Mar 29
3
No D-channels available!
Hi all,
I?ve ran into a problem regarding D-channels. I have setup Asterisk (CVS-HEAD-03/21/05-16:41:57) on RH Fedora Core 3(2.6.10-1.770_FC3) I also have a digium wcte11xp card for connetivity to the PSTN(E1). When I start zttool i see that Current Alarms changes between Recovering and Blue Alarm/Recovering.
I started to see these problems after i moved the digiumcard from one PCI slot to
2006 Sep 23
8
svn problems
I can consistently segfault the 0.10.4 gem, so I''m trying to get the
subversion version working with hopes towards tracking the problem down.
I have a fresh SVN checkout but:
a) the version (in ferret.rb) claims to be 0.9.6; and
b) Ferret::Index::FieldInfos and a couple other classes are missing at
run time. It looks like this is because they''re not exported in the C
2018 Jun 20
2
Bad message_id occasionally when connecting a MacOS to a freebsd running 4.8.2
Hi,
I am running Samba 4.8.2 with fruit and use it to connect a MacOS to the server. Mostly it works very good, but occasionally the connection halts or the Mac disconnects, and in the log I find these messages:
Jun 20 13:00:00 orca smbd[6033]: [2018/06/20 13:00:00.856101, 0] ../source3/smbd/smb2_server.c:641(smb2_validate_sequence_number)
Jun 20 13:00:00 orca smbd[6033]:
2023 Jul 21
2
Bug 15346 - 2-3min delays at reconnect with smb2_validate_sequence_number: bad message_id 2 still on new 4.17.10
Hello to all,
I can confirm, that the bug, smb2_validate_sequence_number:
Jul 21 08:22:44 dom2 smbd[1908004]: smb2_validate_sequence_number:
smb2_validate_sequence_number: bad message_id 2 (sequence id 2) (granted =
1, low = 1, range = 1)
Jul 21 09:24:39 dom2 smbd[1908332]: [2023/07/21 09:24:39.140658, 0]
../../source3/smbd/smb2_server.c:677(smb2_validate_sequence_number)
Jul 21 09:24:39 dom2
2006 Feb 17
2
Accessing just the body of email in text format?
I am interested in accessing the body of the email in text format using IMAP to receive emails.
So far I have tried the following
#body = imap.fetch(message_id, "BODY[TEXT]")
#body = imap.fetch(message_id, ["BODY[]"])[0].attr[''BODY[]'']
But both of the above give me body text + the headers including Content-Type etc. How can I access
2003 Oct 08
0
Re: kerberos/samba/solaris
Hi,
I found a solution that worked for me:
My kerberos installation wasn't in the $PATH though one should think the
binaries are recognized by using the --with-krb5=/path flag :-(
I simply exported my $PATH including the '/path/to/kerberos/bin' and
voila, everything is fine :-)
best regards
~christoph
--
/* Christoph Beyer | Office: Building 2b / 23 *\
* DESY
2006 Apr 06
1
Primary keys and migrations
I have a join table I''m creating with a migration as follows:
create_table :read_global_messages, :id=>false do |t|
t.column :user_id, :integer
t.column :message_id, :integer
end
So far so good, however I want the primary key to be user_id and
message_id. How do I do this?
I tried the following, but that doesn''t work:
add_index
2006 Apr 22
7
Proper Database Design For A Newbie
Hi all,
I am starting out learning Ruby on Rails (coming from a PHP background)
and I have a question about proper database design.
Let me give you a quick example of what I want to do:
Database:
CREATE TABLE `users` (
`id` int(11) NOT NULL auto_increment,
`login` varchar(40) default NULL,
`email` varchar(100) default NULL,
`crypted_password` varchar(40) default NULL,
`salt`
2015 Jan 02
2
Data stale error after short while
A couple of years ago, Arnaud helped me get my Apollo Line Interactive UPS
working, using the blazer_usb driver.
Now I've run into another problem, having rebuilt my HP Proliant
Microserver into an ESXi 5.5 managed hypervisor with various VMs. One of
the VMs is a FreeNAS server which manages the storage for the other VMs so
graceful shutdowns are important.
I built a single VM to monitor the
2015 Jan 02
0
Data stale error after short while
On Jan 2, 2015, at 1:07 PM, Mike Raath <raathm at gmail.com> wrote:
> I built a single VM to monitor the UPS (Ubuntu Server 14.04 i386) and installed NUT on the box from the apt packages. I set it up as per the previous box with the blazer_usb driver and all goes well, for a while. Initially, the UPS reports correctly via upsc, but after a while I get the "Data stale" error,
2005 Dec 19
4
need some help designing my messaging system
I am trying to create a messaging system for my users but I''m having a
hard time designing my db. This is what i have in mind, but I am not
sure if its the best approach.
user has_one inbox
user has_one outbox
inbox has_many messages
outbox has_many messages
inbox table
user_id
outbox table
user_id
messages table
box_id (refers to either inbox or outbox - how?)
from_id
to_id
2006 Jul 25
2
Model relationship confusion ...
Hi all,
I''m thinking this must be pretty straightforward, but I''m finding
myself kind of going in circles in trying to model a simple "private
messaging" app.
I have two models: user and message
User
has many messages
Message
has a sender (User)
has many recipients (Users)
I''m at a bit of a loss as to how best define the relationships that
occur in