<div dir="ltr">This looks ok to me. Just more name realignment which shouldn't impact much.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 4, 2024 at 12:34 PM <<a href="mailto:berndmoessner80@gmail.com">berndmoessner80@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Bernd Moessner <<a href="mailto:berndmoessner80@gmail.com" target="_blank">berndmoessner80@gmail.com</a>><br>
<br>
---<br>
cpukit/libmisc/shell/main_flashdev.c | 36 ++++++++++++++--------------<br>
1 file changed, 18 insertions(+), 18 deletions(-)<br>
<br>
diff --git a/cpukit/libmisc/shell/main_flashdev.c b/cpukit/libmisc/shell/main_flashdev.c<br>
index 969b0687d2..516c77ae27 100644<br>
--- a/cpukit/libmisc/shell/main_flashdev.c<br>
+++ b/cpukit/libmisc/shell/main_flashdev.c<br>
@@ -35,12 +35,12 @@<br>
static int flashdev_shell_read(char *dev_path, int argc, char *argv[]);<br>
static int flashdev_shell_write(char *dev_path, int argc, char *argv[]);<br>
static int flashdev_shell_erase(char *dev_path, int argc, char *argv[]);<br>
-static int flashdev_shell_type(char *dev_path);<br>
-static int flashdev_shell_jedecid(char *dev_path);<br>
-static int flashdev_shell_page_off(char *dev_path, int argc, char *argv[]);<br>
-static int flashdev_shell_page_idx(char *dev_path, int argc, char *argv[]);<br>
-static int flashdev_shell_pg_count(char *dev_path);<br>
-static int flashdev_shell_wb_size(char *dev_path);<br>
+static int flashdev_shell_get_type(char *dev_path);<br>
+static int flashdev_shell_get_jedec_id(char *dev_path);<br>
+static int flashdev_shell_get_page_by_off(char *dev_path, int argc, char *argv[]);<br>
+static int flashdev_shell_get_page_by_idx(char *dev_path, int argc, char *argv[]);<br>
+static int flashdev_shell_get_pg_count(char *dev_path);<br>
+static int flashdev_shell_get_wb_size(char *dev_path);<br>
<br>
static int flashdev_shell_ioctl_value(<br>
char *dev_path,<br>
@@ -99,22 +99,22 @@ static int rtems_flashdev_shell_main( int argc, char *argv[] ) {<br>
return flashdev_shell_erase(dev_path, argc, &argv[i]);<br>
case ('t'):<br>
/* Flash Type */<br>
- return flashdev_shell_type(dev_path);<br>
+ return flashdev_shell_get_type(dev_path);<br>
case ('d'):<br>
/* JEDEC Id */<br>
- return flashdev_shell_jedecid(dev_path);<br>
+ return flashdev_shell_get_jedec_id(dev_path);<br>
case ('o'):<br>
/* Page info by offset */<br>
- return flashdev_shell_page_off(dev_path, argc, &argv[i]);<br>
+ return flashdev_shell_get_page_by_off(dev_path, argc, &argv[i]);<br>
case ('i'):<br>
/* Page info by index */<br>
- return flashdev_shell_page_idx(dev_path, argc, &argv[i]);<br>
+ return flashdev_shell_get_page_by_idx(dev_path, argc, &argv[i]);<br>
case ('p'):<br>
/* Page count */<br>
- return flashdev_shell_pg_count(dev_path);<br>
+ return flashdev_shell_get_pg_count(dev_path);<br>
case ('b'):<br>
/* Write block size */<br>
- return flashdev_shell_wb_size(dev_path);<br>
+ return flashdev_shell_get_wb_size(dev_path);<br>
case ('h'):<br>
default:<br>
/* Help */<br>
@@ -377,7 +377,7 @@ int flashdev_shell_erase(<br>
return 0;<br>
}<br>
<br>
-int flashdev_shell_type( char *dev_path )<br>
+int flashdev_shell_get_type( char *dev_path )<br>
{<br>
int type;<br>
int status;<br>
@@ -409,7 +409,7 @@ int flashdev_shell_type( char *dev_path )<br>
return 0;<br>
}<br>
<br>
-int flashdev_shell_jedecid( char *dev_path ) {<br>
+int flashdev_shell_get_jedec_id( char *dev_path ) {<br>
uint32_t ret;<br>
int status;<br>
<br>
@@ -430,7 +430,7 @@ int flashdev_shell_jedecid( char *dev_path ) {<br>
return 0;<br>
}<br>
<br>
-static int flashdev_shell_page_off(<br>
+static int flashdev_shell_get_page_by_off(<br>
char *dev_path,<br>
int argc,<br>
char *argv[]<br>
@@ -444,7 +444,7 @@ static int flashdev_shell_page_off(<br>
);<br>
}<br>
<br>
-static int flashdev_shell_page_idx(<br>
+static int flashdev_shell_get_page_by_idx(<br>
char *dev_path,<br>
int argc,<br>
char *argv[]<br>
@@ -458,7 +458,7 @@ static int flashdev_shell_page_idx(<br>
);<br>
}<br>
<br>
-static int flashdev_shell_pg_count( char *dev_path )<br>
+static int flashdev_shell_get_pg_count( char *dev_path )<br>
{<br>
uint32_t ret;<br>
int status;<br>
@@ -480,7 +480,7 @@ static int flashdev_shell_pg_count( char *dev_path )<br>
return 0;<br>
}<br>
<br>
-static int flashdev_shell_wb_size( char *dev_path )<br>
+static int flashdev_shell_get_wb_size( char *dev_path )<br>
{<br>
size_t ret;<br>
int status;<br>
-- <br>
2.34.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>