mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Gyeyoung Baek <gye976@gmail.com>,
	linux-iio@vger.kernel.org, Jonathan Cameron <jic23@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] iio: imu: inv_mpu6050: Remove duplicate code between labels
Date: Sun, 1 Sep 2024 14:08:31 +0200	[thread overview]
Message-ID: <533802b3-3034-4b7c-b903-72608917e2f0@web.de> (raw)
In-Reply-To: <20240901091214.15199-1-gye976@gmail.com>

> 'flush_fifo' label performs same task as 'endsession' label

                                            end_session?

The number of actions differ between involved jump targets.


> immediately after calling 'env_reset_fifo' function.
> so i remove that duplication.

* You would like to specify a corresponding goto chain at the moment,
  don't you?
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?h=v6.11-rc5#n526

* How do you think about to increase the application of scope-based resource management?


Regards,
Markus

  reply	other threads:[~2024-09-01 12:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01  9:12 Gyeyoung Baek
2024-09-01 12:08 ` Markus Elfring [this message]
2024-09-01 13:40   ` gyeyoung
2024-09-02 10:04     ` Jean-Baptiste Maneyrol
2024-09-02 11:15       ` gyeyoung
     [not found]   ` <CAKbEznv-TmCr2FAodrM2SKK5A5pbV9p5-OvXPdmuk_4xXmh=Rw@mail.gmail.com>
2024-09-01 18:16     ` Markus Elfring
2024-09-02  1:59       ` gyeyoung
2024-09-02  6:00         ` Markus Elfring
2024-09-02  1:26           ` gyeyoung
2024-09-02 11:20             ` Markus Elfring
2024-09-02  9:54           ` Jean-Baptiste Maneyrol
2024-09-02 10:36             ` Jonathan Cameron

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=533802b3-3034-4b7c-b903-72608917e2f0@web.de \
    --to=markus.elfring@web.de \
    --cc=gye976@gmail.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®