All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John Aron" <john@aronetics.com>
To: "'Greg KH'" <gregkh@linuxfoundation.org>
Cc: 'Mark Salter' <mark.salter@canonical.com>,
	'Mark Lewis' <mark.lewis@canonical.com>,
	regressions@lists.linux.dev, stable@vger.kernel.org,
	kernelnewbies@kernelnewbies.org
Subject: RE: OBJTOOL Build error
Date: Thu, 1 Dec 2022 10:52:16 -0500	[thread overview]
Message-ID: <002e01d9059c$eb052400$c10f6c00$@aronetics.com> (raw)
In-Reply-To: <Y4hCVMrg9oZt+YAL@kroah.com>


[-- Attachment #1.1: Type: text/plain, Size: 2654 bytes --]

Oh Dear -

This wiki page brings my mind back to a hacker listserv conversation about
semantics of discourse and Kevin Mitnick isms. Please accept my inline or
outline apologies.

John

-----Original Message-----
From: Greg KH <gregkh@linuxfoundation.org> 
Sent: Thursday, December 1, 2022 12:58 AM
To: John Aron <john@aronetics.com>
Cc: 'Mark Salter' <mark.salter@canonical.com>; 'Mark Lewis'
<mark.lewis@canonical.com>; regressions@lists.linux.dev;
stable@vger.kernel.org; kernelnewbies@kernelnewbies.org
Subject: Re: OBJTOOL Build error

A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

On Wed, Nov 30, 2022 at 06:36:19PM -0500, John Aron wrote:
> One C file and a few header files.

Can you provide a link to them so that we can see what might be the problem?
Without that, it's impossible to help, sorry.
--
The repo is in a private repo online, the entry is:
static int __init kernel_module_start(void)
{
    Configuration* configuration = NULL;
    // enable the logger
    Logger_set_enabled(true);
    log_info("Starting Aronetics kernel module (configuration file name:
\"%s\")...\n", _FILE_NAME_CONFIGURATION);
    controller = Controller_new(_FILE_NAME_CONFIGURATION);
    if (controller != NULL)
    {
        configuration = Controller_get_configuration(controller);
        String_dump_and_delete(Configuration_to_string(configuration));
        log_verbose("    Initializing mutex...\n");
        mutex_init(&controller_mutex);
        switch (Configuration_get_execution_mode(configuration))
        {
//          case TestExecutionMode:
//              run_tests();
//              break;
            default:
                log_verbose("    Initializing controller...\n");
                if (Controller_initialize(controller) == 0)
                {
                    log_verbose("    Setting up timer...\n");
                    timer_setup(&controller_timer, on_timer, 0);
                    log_verbose("    Initalizing timer...\n");
                    mod_timer(&controller_timer, jiffies +
msecs_to_jiffies(DELAY_ITERATION));
                    log_verbose("Aronetics kernel module started\n");
                }
                else
                {
                    log_error("Initialization failed.");
                }
                break;
        }
    }
    return 0;
}

thanks,

greg k-h

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 7097 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

WARNING: multiple messages have this Message-ID (diff)
From: "John Aron" <john@aronetics.com>
To: "'Greg KH'" <gregkh@linuxfoundation.org>
Cc: "'Mark Salter'" <mark.salter@canonical.com>,
	"'Mark Lewis'" <mark.lewis@canonical.com>,
	<regressions@lists.linux.dev>, <stable@vger.kernel.org>,
	<kernelnewbies@kernelnewbies.org>
Subject: RE: OBJTOOL Build error
Date: Thu, 1 Dec 2022 10:52:16 -0500	[thread overview]
Message-ID: <002e01d9059c$eb052400$c10f6c00$@aronetics.com> (raw)
In-Reply-To: <Y4hCVMrg9oZt+YAL@kroah.com>

[-- Attachment #1: Type: text/plain, Size: 2654 bytes --]

Oh Dear -

This wiki page brings my mind back to a hacker listserv conversation about
semantics of discourse and Kevin Mitnick isms. Please accept my inline or
outline apologies.

John

-----Original Message-----
From: Greg KH <gregkh@linuxfoundation.org> 
Sent: Thursday, December 1, 2022 12:58 AM
To: John Aron <john@aronetics.com>
Cc: 'Mark Salter' <mark.salter@canonical.com>; 'Mark Lewis'
<mark.lewis@canonical.com>; regressions@lists.linux.dev;
stable@vger.kernel.org; kernelnewbies@kernelnewbies.org
Subject: Re: OBJTOOL Build error

A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

On Wed, Nov 30, 2022 at 06:36:19PM -0500, John Aron wrote:
> One C file and a few header files.

Can you provide a link to them so that we can see what might be the problem?
Without that, it's impossible to help, sorry.
--
The repo is in a private repo online, the entry is:
static int __init kernel_module_start(void)
{
    Configuration* configuration = NULL;
    // enable the logger
    Logger_set_enabled(true);
    log_info("Starting Aronetics kernel module (configuration file name:
\"%s\")...\n", _FILE_NAME_CONFIGURATION);
    controller = Controller_new(_FILE_NAME_CONFIGURATION);
    if (controller != NULL)
    {
        configuration = Controller_get_configuration(controller);
        String_dump_and_delete(Configuration_to_string(configuration));
        log_verbose("    Initializing mutex...\n");
        mutex_init(&controller_mutex);
        switch (Configuration_get_execution_mode(configuration))
        {
//          case TestExecutionMode:
//              run_tests();
//              break;
            default:
                log_verbose("    Initializing controller...\n");
                if (Controller_initialize(controller) == 0)
                {
                    log_verbose("    Setting up timer...\n");
                    timer_setup(&controller_timer, on_timer, 0);
                    log_verbose("    Initalizing timer...\n");
                    mod_timer(&controller_timer, jiffies +
msecs_to_jiffies(DELAY_ITERATION));
                    log_verbose("Aronetics kernel module started\n");
                }
                else
                {
                    log_error("Initialization failed.");
                }
                break;
        }
    }
    return 0;
}

thanks,

greg k-h

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 7097 bytes --]

  reply	other threads:[~2022-12-01 15:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 18:48 OBJTOOL Build error John Aron
2022-11-24 18:48 ` John Aron
2022-11-24 21:06 ` Greg KH
2022-11-24 21:06   ` Greg KH
2022-11-30 23:36   ` John Aron
2022-11-30 23:36     ` John Aron
2022-12-01  5:57     ` Greg KH
2022-12-01  5:57       ` Greg KH
2022-12-01 15:52       ` John Aron [this message]
2022-12-01 15:52         ` John Aron
2022-12-01 16:40         ` 'Greg KH'
2022-12-01 16:40           ` 'Greg KH'

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002e01d9059c$eb052400$c10f6c00$@aronetics.com' \
    --to=john@aronetics.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=mark.lewis@canonical.com \
    --cc=mark.salter@canonical.com \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.